Hi,
If somebody can help me I would be very grateful,
I am trying to deploy in a snapshot repository I set up with archiva:
1 st) In the settings.xml Ive added the following code
snapshots
mylogin
mypassword
2 nd) This is the POM of the jar that I want to deploy
4.0.0
org.andromda.cartridges
andromda-cartridges
3.3-SNAPSHOT
andromda-spring-cartridge
andromda-cartridge
AndroMDA Spring Cartridge
Generates Spring with Hibernate support
org.andromda.cartridges
andromda-meta-cartridge
${pom.version}
provided
...
org.andromda.maven.plugins
andromda-maven-plugin
org.apache.maven.wagon
wagon-webdav
1.0-beta-2
org.apache.maven.plugins
maven-project-info-reports-plugin
jar:file:${src.dir}/uml/SpringMetafacadeModel.xml.zip!/SpringMetafacadeModel.xml
jar:file:${test.src.dir}/uml/SpringCartridgeTestModel.xml.zip!/SpringCartridgeTestModel.xml
snapshots
dav:http://s-comm-iss-d1:/archiva/repository/snapshots/
snapshots
DG COMM Snapshots Repository
http://s-comm-iss-d1:/archiva/repository/snapshots/
false
true
3rd) I execute mvn deploy, and I obtain:
[INFO]
-
---
[INFO] Building AndroMDA Spring Cartridge
[INFO]task-segment: [deploy]
[INFO]
-
---
[INFO] [andromda:run {execution: default}]
[INFO] Files are up-to-date, skipping AndroMDA execution
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] No sources to compile
[INFO] [surefire:test]
[INFO] No tests to run.
[INFO] [andromda-cartridge:andromda-cartridge]
[INFO] Building jar:
D:\Rapid2\workspaces\eclipseWorkspace\andromda-all\cartridg
es\andromda-spring\target\andromda-spring-cartridge-3.3-SNAPSHOT.jar
[INFO] [install:install]
[INFO] Installing
D:\Rapid2\workspaces\eclipseWorkspace\andromda-all\cartridges\
andromda-spring\target\andromda-spring-cartridge-3.3-SNAPSHOT.jar to
d:\temrepos
itory\org\andromda\cartridges\andromda-spring-cartridge\3.3-SNAPSHOT\andromda-sp
ring-cartridge-3.3-SNAPSHOT.jar
[INFO] [deploy:deploy]
altDeploymentRepository = null
[INFO] Retrieving previous build number from snapshots
Uploading:
http://s-comm-iss-d1:/archiva/repository/snapshots//org/andromda/
cartridges/andromda-spring-cartridge/3.3-SNAPSHOT/andromda-spring-cartridge-3.3-
20070927.154235-1.jar
[INFO] Retrieving previous metadata from snapshots
[INFO] Uploading repository metadata for: 'artifact
org.andromda.cartridges:andr
omda-spring-cartridge'
[INFO] Retrieving previous metadata from snapshots
[INFO] Uploading repository metadata for: 'snapshot
org.andromda.cartridges:andr
omda-spring-cartridge:3.3-SNAPSHOT'
[INFO] Retrieving previous metadata from snapshots
[INFO] Uploading project information for andromda-spring-cartridge
3.3-20070927.
154235-1
[INFO]
[INFO] BUILD SUCCESSFUL
[INFO]
[INFO] Total time: 11 seconds
[INFO] Finished at: Thu Sep 27 17:42:38 CEST 2007
[INFO] Final Memory: 14M/254M
[INFO]
Why is the plugin deploying this file
andromda-spring-cartridge-3.3-20070927.154235-1.jar
when in Reality is
andromda-spring-cartridge-3.3-SNAPSHOT-20070927.154235-1.jar
Whats happening with the snapshot suffix?
Thanks a lot
--
View this message in context:
http://www.nabble.com/problem-deploying-snapshots-tf4529303s177.html#a12924327
Sent from the Maven - Users mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]