Hello,
I've downloaded the data-management-cli-1.2.4-SNAPSHOT as Wendy
suggested from ASF snapshot repo:
http://people.apache.org/repo/m2-snapshot-repository/
Now, I want to export my continuum 1.2.2 database. When launching this
command:
java -Xmx512m -jar data-management-cli-1.2.4-20090201.152528-1-app.jar
-buildsJdbcUrl jdbc:mysql://localhost:3306/continuum -mode EXPORT
-directory backups
I got this message:
0 [main] INFO org.apache.maven.continuum.management.DataManagementCli -
Processing Continuum database...
Exception in thread "main"
org.apache.maven.artifact.resolver.MultipleArtifactsNotFoundException:
Missing:
----------
1) org.apache.derby:derby:jar:10.1.3.1
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.apache.derby
-DartifactId=derby -Dversion=10.1.3.1 -Dpackaging=jar
-Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file
there:
mvn deploy:deploy-file -DgroupId=org.apache.derby
-DartifactId=derby -Dversion=10.1.3.1 -Dpackaging=jar
-Dfile=/path/to/file -Durl=[url] -Dreposit
Path to dependency:
1) dummy:dummy:pom:1.0
2) org.apache.derby:derby:jar:10.1.3.1
----------
1 required artifact is missing.
for artifact:
dummy:dummy:pom:1.0
from the specified remote repositories:
central (http://repo1.maven.org/maven2)
at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransi
tively(DefaultArtifactResolver.java:324)
at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransi
tively(DefaultArtifactResolver.java:288)
at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransi
tively(DefaultArtifactResolver.java:259)
at
org.apache.maven.continuum.management.DataManagementCli.downloadArtifact
(DataManagementCli.java:401)
at
org.apache.maven.continuum.management.DataManagementCli.processDatabase(
DataManagementCli.java:198)
at
org.apache.maven.continuum.management.DataManagementCli.main(DataManagem
entCli.java:170)
I do have derby in my own repo. What's this funny thing again ? Is the
tool working with MySQL ? If not, Wendy (or someone else), did you
managed to upgrade from 1.2.x to 1.3.1 by hand ?
Heeeeeeeeeeeeeeelp !
David