Hey Everyone!  Our development team has been having some issues with
certain SNAPSHOTs deployed to Archiva being invalid.  Meaning, the
artifact page doesn't display or the *.jar is not available for download
(if using Archiva version previous to 1.0-alpha-2).  I haven't been able
to figure what was causing it out until now.  The SNAPSHOT poms seem to
have an 'invalid' <version>?  

 

Example:  'persistence-lib-1.0-20070523.040036-2.pom' has a <version> of
1.0-SNAPSHOT.  This produces the error further below.  I believe the
version is not being set correctly during deploy but am unsure of why.
If I manually change the version and re-index in Archiva, all seems to
be well.  

 

Is this an Archiva issue or Maven deploy issue?  Seems to me that's it's
a maven issue.  Could the combination of 'deploy | site-deploy' be part
of it?  The problem is, the results are not consistent enough for me to
find a pattern yet.  _sigh_

 

Any thoughts or direction on this would be appreciated.  

 

 

<<<<<<<<  The Environment: >>>>>>>>>>

apache-archiva-1.0-alpha-2

maven-2.0.6

cruisecontrol-bin-2.6.1 config.xml snippet:  <maven2 ...  goal="clean |
scm:update | deploy | site-deploy"  ... />  <!-- Runs nightly -->

 

 

 

<<<<<<<<  Begin ERROR >>>>>>>>>>>>>

| 2007-06-25 13:24:16,371 [SocketListener0-0] DEBUG
org.apache.maven.archiva.repository.project.ProjectModelFilter:effective
- Starting build of effective with: groupId = 'com.dhsnet.persistence'

| artifactId = 'persistence-lib'

| version = '1.0-SNAPSHOT'

| 2007-06-25 13:24:16,371 [SocketListener0-0] DEBUG
org.apache.maven.archiva.repository.project.ProjectModelFilter:effective
- Parent: [EMAIL PROTECTED]

| 2007-06-25 13:24:16,371 [SocketListener0-0] DEBUG
org.apache.maven.archiva.repository.project.ProjectModelFilter:effective
- Has parent: [EMAIL PROTECTED]

| 2007-06-25 13:24:16,418 [SocketListener0-0] DEBUG
org.apache.maven.archiva.repository.project.ProjectModelFilter:effective
- Parent: null

| 2007-06-25 13:24:16,418 [SocketListener0-0] DEBUG
org.apache.maven.archiva.repository.project.ProjectModelFilter:effective
- No parent found

| 2007-06-25 13:24:16,418 [SocketListener0-0] DEBUG
org.apache.maven.archiva.repository.project.ProjectModelFilter:effective
- Mix in Super POM: groupId = 'com.dhsnet'

| artifactId = 'dhs-common'

| version = '1.0'

| 2007-06-25 13:24:16,418 [SocketListener0-0] WARN
org.apache.maven.archiva.consumers.DatabaseUnprocessedArtifactConsumer:u
pdate-db-project  - Project Model groupId = 'com.dhsnet.persistence'

| artifactId = 'persistence-lib'

| version = '1.0-SNAPSHOT' version: 1.0-SNAPSHOT does not match the pom
file's version: 1.0-20070523.040036-2

| 2007-06-25 13:24:16,886 [SocketListener0-0] WARN
org.apache.maven.archiva.consumers.DatabaseUnprocessedArtifactConsumer:u
pdate-db-project  - Invalid or corrupt pom. Project model groupId =
'com.dhsnet.persistence'

| artifactId = 'persistence-lib'

| version = '1.0-SNAPSHOT' was not added in the database.

<<<<<<<<<< End ERROR >>>>>>>>>>>>>>>>

 

 

Troy Ronning

Research & Development

Source Control Administrator

Dairyland Healthcare Solutions

Phone: 888.868.0040

Fax: 320.634.5315

[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> 

 

This information is confidential and is for the use of the intended
recipient only.  Any improper use of this information is strictly
prohibited.  If you have received this email in error, please reply to
the sender immediately and delete this communication.

 

Reply via email to