Hi,
Trying to upgrade from beta-1 to beta-2, I have had some
configuration
issues; more than simply change the <repositories> tag
to
<managedRepositories> and <remoteRepositories>.
What do you think I have to do for upgrading from beta-1 to
beta-3 ?
Which changes are expected in conf/archiva.xml ? Is there
some
deprecated tags ?
And in other configuration files ?
Do you still not have a schema to validate it ?
I also had another issue with beta-1 : we have snapshots
from trunk and
branch and wanted old snapshots to be automatically deleted
but branch's
snapshots were systematically deleted during deployment
because of
trunk's snapshots which were considered by archiva as more
recent. What
do you think about this ?
Here is my current configuration file archiva.xml used in
beta-1 :
|<?xml version="1.0"
encoding="UTF-8"?>
<configuration>
<version>1</version>
<repositoryScanning>
<fileTypes>
<fileType>
<id>artifacts</id>
<patterns>
<pattern>**/*.pom</pattern>
<pattern>**/*.jar</pattern>
<pattern>**/*.ear</pattern>
<pattern>**/*.war</pattern>
<pattern>**/*.car</pattern>
<pattern>**/*.sar</pattern>
<pattern>**/*.mar</pattern>
<pattern>**/*.rar</pattern>
<pattern>**/*.dtd</pattern>
<pattern>**/*.tld</pattern>
<pattern>**/*.tar.gz</pattern>
<pattern>**/*.tar.bz2</pattern>
<pattern>**/*.zip</pattern>
</patterns>
</fileType>
<fileType>
<id>indexable-content</id>
<patterns>
<pattern>**/*.txt</pattern>
<pattern>**/*.TXT</pattern>
<pattern>**/*.block</pattern>
<pattern>**/*.config</pattern>
<pattern>**/*.pom</pattern>
<pattern>**/*.xml</pattern>
<pattern>**/*.xsd</pattern>
<pattern>**/*.dtd</pattern>
<pattern>**/*.tld</pattern>
</patterns>
</fileType>
<fileType>
<id>auto-remove</id>
<patterns>
<pattern>**/*.bak</pattern>
<pattern>**/*~</pattern>
<pattern>**/*-</pattern>
</patterns>
</fileType>
<fileType>
<id>ignored</id>
<patterns>
<pattern>**/.htaccess</pattern>
<pattern>**/KEYS</pattern>
<pattern>**/*.rb</pattern>
<pattern>**/*.sh</pattern>
<pattern>**/.svn/**</pattern>
<pattern>**/.DAV/**</pattern>
</patterns>
</fileType>
</fileTypes>
<knownContentConsumers>
<knownContentConsumer>auto-rename</knownContentCons
umer>
<knownContentConsumer>create-missing-checksums</kno
wnContentConsumer>
<knownContentConsumer>index-content</knownContentCo
nsumer>
<knownContentConsumer>update-db-artifact</knownCont
entConsumer>
</knownContentConsumers>
<invalidContentConsumers>
<invalidContentConsumer>update-db-bad-content</inva
lidContentConsumer>
</invalidContentConsumers>
</repositoryScanning>
<databaseScanning>
<cronExpression>0 0 0 * *
?</cronExpression>
<unprocessedConsumers>
<unprocessedConsumer>validate-repository-metadata</
unprocessedConsumer>
<unprocessedConsumer>index-archive-toc</unprocessed
Consumer>
<unprocessedConsumer>index-artifact</unprocessedCon
sumer>
<unprocessedConsumer>update-db-project</unprocessed
Consumer>
<unprocessedConsumer>index-public-methods</unproces
sedConsumer>
<unprocessedConsumer>update-db-bytecode-stats</unpr
ocessedConsumer>
</unprocessedConsumers>
<cleanupConsumers>
<cleanupConsumer>not-present-remove-db-artifact</cl
eanupConsumer>
<cleanupConsumer>not-present-remove-indexed</cleanu
pConsumer>
<cleanupConsumer>not-present-remove-db-project</cle
anupConsumer>
</cleanupConsumers>
</databaseScanning>
<repositories>
<!--
(...) some local repositories
-->
<!--
(...) some remote repositories
-->
</repositories>
<proxyConnectors>
<proxyConnector>
<sourceRepoId>internal</sourceRepoId>
<targetRepoId>central</targetRepoId>
<proxyId></proxyId>
<whiteListPatterns>
<whiteListPattern>**/*</whiteListPattern>
</whiteListPatterns>
<policies>
<releases>once</releases>
<checksum>fix</checksum>
<snapshots>disabled</snapshots>
<cache-failures>cache</cache-failures>
</policies>
</proxyConnector>
<proxyConnector>
<sourceRepoId>internal</sourceRepoId>
<targetRepoId>maven2-repository.dev.java.net</targe
tRepoId>
<proxyId></proxyId>
<whiteListPatterns>
<whiteListPattern>javax/**</whiteListPattern>
</whiteListPatterns>
<policies>
<releases>once</releases>
<checksum>fix</checksum>
<snapshots>disabled</snapshots>
<cache-failures>cache</cache-failures>
</policies>
</proxyConnector>
</proxyConnectors>
</configuration>
|
Thanks,
Julien.
Maria Odea Ching a écrit :
> Hi Everyone,
>
> The Maven Archiva team is pleased to announce the
release of Archiva 1.0Beta 3.
>
> Archiva is a build artifact repository manager for use
with build tools such
> as Maven, Continuum and Ant.
>
> It has features like repository search and browse,
securing repositories,
> identifying unknown artifacts and reporting of
repository problems.
>
> Aside from these, it can also act as a nearby (proxy)
cache of popular
> global repositories.
>
>
>
> The latest release is now available here:
>
> http://
maven.apache.org/archiva/download.html
>
>
> Below are the jira issues that were resolved for
Archiva 1.0 Beta 3:
>
> Release Notes - Archiva - Version 1.0-beta-3
>
> ** Sub-task
> * [MRM-527] - Create tests for discovering deleted
artifacts
>
> ** Bug
> * [MRM-128] - better handling of jar artifacts
without a pom
> * [MRM-142] - project builder cache needs to be
configurable to prevent
> memory leaking
> * [MRM-205] - Undesirable Tomcat configuration for
.jspf files
> * [MRM-213] - cannot undeploy archiva webapp
> * [MRM-243] - 507 Insufficient Storage when
deploying artifact with
> webdav
> * [MRM-265] - After removing a managed repository -
Browse/Search still
> see it
> * [MRM-309] - relocated artifacts are not
delivered
> * [MRM-320] - ProxiedDavServer breaks update
policy
> * [MRM-323] - Managed repo in archiva cannot be
accessed thru direct
> webdav url even with valid credentials (Archiva
deployed in Tomcat)
> * [MRM-333] - Tomcat deployment of archiva results
in unstable instance.
> * [MRM-396] - remove 'true' and 'false' from the
descriptions on the
> repository admin page
> * [MRM-398] - configure guest access by default for
pre-configured
> repositories
> * [MRM-400] - tab appearance on view artifact page
looks incorrect
> * [MRM-428] - managed and remote repositories with
same name causes
> problems
> * [MRM-432] - Proxy Connectors are unable to
download artifacts with
> alpha numerical version numbers
> * [MRM-437] - admin editing of proxy connectors
fails in multiple
> instances
> * [MRM-444] - intermittent test failures on proxy
> * [MRM-454] - Index not updated after repository
purge
> * [MRM-461] - Warning message for non existent
resources should include
> what resource it failed to locate.
> * [MRM-466] - NPE on DatabaseJob.execute()
> * [MRM-470] - Test failures in BytecodeIndexTest
due to NPE in
> AbstractIndexCreationTestCase
> * [MRM-477] - Missing ability to manage proxy
order.
> * [MRM-479] - metadata files in artifactId/version
level are not updated
> during repository purge
> * [MRM-481] - Artifact requests with a .xml.zip
extension fail with a
> 404 Error
> * [MRM-482] - Saving a proxy connector after adding
a new property
> results to HTTP 500 error
> * [MRM-486] - Can not deploy artifact
test.maven-arch:test-arch
> * [MRM-487] - pom version is not resolved
> * [MRM-488] - properties in pom are not resolved
(at least while
> browsing)
> * [MRM-489] - Repositories are read only even for
repository managers
> * [MRM-493] - Downloaded artifacts are stored in
incorrect
> archiva-managed repository
> * [MRM-494] - leaving repository ID blank on the
add repository page
> goes to the edit page where ID cannot be edited
> * [MRM-500] - Failure in PathUtilTest under windows
because the test
> uses slashes in path but test File.separator in
PathUtil
> * [MRM-501] - Saving configuration fails through
the webapp.
> * [MRM-503] - Metadata files need Pragma:no-cache
response header.
> * [MRM-509] - Adding the same repository twice will
be redirected to an
> Edit Repository page.
> * [MRM-510] - In Repository Browse, the first
unique snapshot version
> clicked is getting persisted in the request resulting
to 'version does not
> match' error
> * [MRM-512] - Unable to convert null repository
config to archiva
> repository.
> * [MRM-517] - Some maven 2 requests are treated as
maven 1 requests
> * [MRM-518] - Changing the internal repository
directory has no effect
> * [MRM-519] - fail to resolve artifactId for libs
that contain
> versionKeyword in artifactId, like
"maven-test-plugin"
> * [MRM-520] - Proxy Connectors are not deleted with
the deletion of a
> Repository.
> * [MRM-521] - No validation for the repository
purge fields in repo
> config
> * [MRM-529] - Accessing a newly added repository
via webdav results to a
> 404 error
> * [MRM-533] - Checksum files (sha1/md5) are not
kept up to date on
> maven-metadata.xml files.
> * [MRM-534] - Test failure in
RepositoryContentConsumerUtilTest
> * [MRM-535] - metadata-updater is changing
lastUpdating timestamp when
> it shouldn't
> * [MRM-543] - Versions (latest and release) wrong
after regeneration of
> maven-metadata.xml
> * [MRM-546] - Duplicate repositories show up while
editing.
> * [MRM-551] - the default scan cron expression is
once a day, should be
> hourly
> * [MRM-554] - Wrong generated links at root of
repository browsing
> * [MRM-555] - scanner checks timestamps, but some
consumers will want to
> consume artifacts regardless
> * [MRM-557] - repair or remove commented out test
cases in proxy module
> * [MRM-558] - html problem on repositories admin
page causes footer to
> not be left aligned
> * [MRM-559] - archiva version is not calculated
correctly - always
> "Unknown"
> * [MRM-561] - Error 500 while deleting a proxy
connector
> * [MRM-562] - Artifact type
"maven-plugin" is not detected correctly in
> .toArtifactReference() methods.
> * [MRM-563] - Proxy connector logic for
getIfModified is backwards.
> * [MRM-565] - Archiva 1.0-beta-3 fails in 404 on
all legacy request.
> * [MRM-567] - Unable to download plugin SNAPSHOT's
from proxy.
>
> ** Improvement
> * [MRM-37] - discover the deletion of artifacts
> * [MRM-313] - archiva fails to serve maven2 plugin
from legacy
> repository
> * [MRM-458] - the NOTICE file is overzealous in
declaring dependencies
> * [MRM-492] - repository failures can present as a
404 from proxy
> * [MRM-525] - Typos on the hacking page
> * [MRM-528] - just-in-time consumption of
repository changes
>
> ** New Feature
> * [MRM-476] - ability to use file protocol using
UNC path for Managed
> repository
>
>
>
> ** Wish
> * [MRM-202] - Change the top-left logo to be an
Archiva logo that goes
> to the front page of the instance
> * [MRM-203] - Reports should be public, not an
administration feature
> * [MRM-513] - Support remote repositories with
passwords
>
>
> The Maven Archiva team will be getting ready for the
another beta release
> and finally, a
> 1.0 release.
>
>
> Thanks,
> Deng
>
>
------------------------------------------------------------
---------
To unsubscribe, e-mail: users-unsubscribe maven.apache.org
For additional commands, e-mail: users-help maven.apache.org
|