You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@continuum.apache.org by Johnathan Gifford <jg...@wernervas.com> on 2007/11/26 17:49:15 UTC
1.1-beta-4 to 1.1 final data migration
While trying to migrate our data from 1.1-beta-4, I'm getting the following error trying to export data out of the beta install:
0 [main] INFO org.apache.maven.continuum.management.DataManagementCli - Processing Continuum database...
Exception in thread "main" org.apache.maven.artifact.resolver.MultipleArtifactsNotFoundException: Missing:
----------
1) javax.resource:connector:jar:1.0
Try downloading the file manually from:
http://java.sun.com/j2ee/connector/download.html
Then, install it using the command:
mvn install:install-file -DgroupId=javax.resource -DartifactId=connector \
-Dversion=1.0 -Dpackaging=jar -Dfile=/path/to/file
Path to dependency:
1) dummy:dummy:pom:1.0
2) org.apache.maven.continuum:data-management-jdo:jar:1.1-beta-4
3) jpox:jpox:jar:1.1.6
4) javax.resource:connector:jar:1.0
2) javax.transaction:jta:jar:1.0.1B
Try downloading the file manually from:
http://java.sun.com/products/jta
Then, install it using the command:
mvn install:install-file -DgroupId=javax.transaction -DartifactId=jta \
-Dversion=1.0.1B -Dpackaging=jar -Dfile=/path/to/file
Path to dependency:
1) dummy:dummy:pom:1.0
2) org.apache.maven.continuum:data-management-jdo:jar:1.1-beta-4
3) jpox:jpox:jar:1.1.6
4) javax.transaction:jta:jar:1.0.1B
----------
2 required artifacts are 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.resolveTransitively(DefaultArtifactResolver.java:305)
at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:272)
at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:243)
at org.apache.maven.continuum.management.DataManagementCli.downloadArtifact(DataManagementCli.java:304)
at org.apache.maven.continuum.management.DataManagementCli.processDatabase(DataManagementCli.java:185)
at org.apache.maven.continuum.management.DataManagementCli.main(DataManagementCli.java:158)
-------------------------------------
I've installed the two missing artifacts and still continue to get the above error. Any suggestions where to look or what to run?
Thanks,
Johnathan
Re: 1.1-beta-4 to 1.1 final data migration
Posted by Johnathan Gifford <jg...@wernervas.com>.
> Just do what is asked (you need to have maven 2 installed), go to
> those url's, download the needed jar and add it to your local
> repository using the mvn install:install-file command.
Already done that, that's why I'm posting this thread.
> Apache can not host those files in their repository because of
> licensing issues...
>
Understand completely.
>
> If you have a company-wide repository you can add them there using the
> deploy:deploy-file command
>
It's in my local repository and the paths are there. Maven is pointing to the local as the first (and only) lookup location.
>
> As alternative option I suppose you can add the sun maven/maven2 repo
> to your ~/.m2/settings.xml (not sure)
>
Not a bad idea, but still didn't work. I added the following in the path <settings>/<profiles>/<repositories> to the conf/settings.xml file for Maven2:
<repository>
<id>java.net</id>
<url>http://download.java.net/maven/1</url>
<layout>legacy</layout>
</repository>
That is how Sun instructed to set this up at their site (https://maven-repository.dev.java.net/).
Re: 1.1-beta-4 to 1.1 final data migration
Posted by Francis De Brabandere <fr...@gmail.com>.
Hi,
Just do what is asked (you need to have maven 2 installed), go to
those url's, download the needed jar and add it to your local
repository using the mvn install:install-file command.
Apache can not host those files in their repository because of
licensing issues...
If you have a company-wide repository you can add them there using the
deploy:deploy-file command
As alternative option I suppose you can add the sun maven/maven2 repo
to your ~/.m2/settings.xml (not sure)
Francis
On 11/26/07, Emmanuel Venisse <em...@venisse.net> wrote:
> Hmm, weird.
>
> As a workaround, I think you can use datamanagement 1.1 to migrate your data because we don't have db schema (if I remember it correctly between 1.1-beta-4 and 1.1 final)
>
> Emmanuel
>
> Johnathan Gifford a écrit :
> > While trying to migrate our data from 1.1-beta-4, I'm getting the following error trying to export data out of the beta install:
> >
> > 0 [main] INFO org.apache.maven.continuum.management.DataManagementCli - Processing Continuum database...
> > Exception in thread "main" org.apache.maven.artifact.resolver.MultipleArtifactsNotFoundException: Missing:
> > ----------
> > 1) javax.resource:connector:jar:1.0
> >
> > Try downloading the file manually from:
> > http://java.sun.com/j2ee/connector/download.html
> >
> > Then, install it using the command:
> > mvn install:install-file -DgroupId=javax.resource -DartifactId=connector \
> > -Dversion=1.0 -Dpackaging=jar -Dfile=/path/to/file
> >
> > Path to dependency:
> > 1) dummy:dummy:pom:1.0
> > 2) org.apache.maven.continuum:data-management-jdo:jar:1.1-beta-4
> > 3) jpox:jpox:jar:1.1.6
> > 4) javax.resource:connector:jar:1.0
> >
> > 2) javax.transaction:jta:jar:1.0.1B
> >
> > Try downloading the file manually from:
> > http://java.sun.com/products/jta
> >
> > Then, install it using the command:
> > mvn install:install-file -DgroupId=javax.transaction -DartifactId=jta \
> > -Dversion=1.0.1B -Dpackaging=jar -Dfile=/path/to/file
> >
> > Path to dependency:
> > 1) dummy:dummy:pom:1.0
> > 2) org.apache.maven.continuum:data-management-jdo:jar:1.1-beta-4
> > 3) jpox:jpox:jar:1.1.6
> > 4) javax.transaction:jta:jar:1.0.1B
> >
> > ----------
> > 2 required artifacts are 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.resolveTransitively(DefaultArtifactResolver.java:305)
> > at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:272)
> > at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:243)
> > at org.apache.maven.continuum.management.DataManagementCli.downloadArtifact(DataManagementCli.java:304)
> > at org.apache.maven.continuum.management.DataManagementCli.processDatabase(DataManagementCli.java:185)
> > at org.apache.maven.continuum.management.DataManagementCli.main(DataManagementCli.java:158)
> >
> > -------------------------------------
> >
> > I've installed the two missing artifacts and still continue to get the above error. Any suggestions where to look or what to run?
> >
> > Thanks,
> >
> > Johnathan
> >
> >
>
>
--
http://www.somatik.be
Microsoft gives you windows, Linux gives you the whole house.
Re: 1.1-beta-4 to 1.1 final data migration
Posted by Johnathan Gifford <jg...@wernervas.com>.
Now down to one artifact when using the data-management-cli-1.1-app.jar migration tool:
0 [main] INFO org.apache.maven.continuum.management.DataManagementCli - Processing Continuum database...
Exception in thread "main" org.apache.maven.artifact.resolver.MultipleArtifactsNotFoundException: Missing:
----------
1) javax.resource:connector:jar:1.0
Try downloading the file manually from:
http://java.sun.com/j2ee/connector/download.html
Then, install it using the command:
mvn install:install-file -DgroupId=javax.resource -DartifactId=connector \
-Dversion=1.0 -Dpackaging=jar -Dfile=/path/to/file
Path to dependency:
1) dummy:dummy:pom:1.0
2) org.apache.maven.continuum:data-management-jdo:jar:1.1
3) jpox:jpox:jar:1.1.6
4) javax.resource:connector:jar:1.0
----------
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.resolveTransitively(DefaultArtifactResolver.java:305)
at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:272)
at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:243)
at org.apache.maven.continuum.management.DataManagementCli.downloadArtifact(DataManagementCli.java:401)
at org.apache.maven.continuum.management.DataManagementCli.processDatabase(DataManagementCli.java:200)
at org.apache.maven.continuum.management.DataManagementCli.main(DataManagementCli.java:170)
-------------------
The jar is in the local maven repository and the above listed command was used to put it in the repository. The box is running Windows XP. Maven reports this information when running the --version if that is of any help:
Maven version: Maven version: 2.0.7
Java version: 1.6.0_03
OS name: "windows xp" version: "5.1" arch: "x8
Re: 1.1-beta-4 to 1.1 final data migration
Posted by Emmanuel Venisse <em...@venisse.net>.
Hmm, weird.
As a workaround, I think you can use datamanagement 1.1 to migrate your data because we don't have db schema (if I remember it correctly between 1.1-beta-4 and 1.1 final)
Emmanuel
Johnathan Gifford a écrit :
> While trying to migrate our data from 1.1-beta-4, I'm getting the following error trying to export data out of the beta install:
>
> 0 [main] INFO org.apache.maven.continuum.management.DataManagementCli - Processing Continuum database...
> Exception in thread "main" org.apache.maven.artifact.resolver.MultipleArtifactsNotFoundException: Missing:
> ----------
> 1) javax.resource:connector:jar:1.0
>
> Try downloading the file manually from:
> http://java.sun.com/j2ee/connector/download.html
>
> Then, install it using the command:
> mvn install:install-file -DgroupId=javax.resource -DartifactId=connector \
> -Dversion=1.0 -Dpackaging=jar -Dfile=/path/to/file
>
> Path to dependency:
> 1) dummy:dummy:pom:1.0
> 2) org.apache.maven.continuum:data-management-jdo:jar:1.1-beta-4
> 3) jpox:jpox:jar:1.1.6
> 4) javax.resource:connector:jar:1.0
>
> 2) javax.transaction:jta:jar:1.0.1B
>
> Try downloading the file manually from:
> http://java.sun.com/products/jta
>
> Then, install it using the command:
> mvn install:install-file -DgroupId=javax.transaction -DartifactId=jta \
> -Dversion=1.0.1B -Dpackaging=jar -Dfile=/path/to/file
>
> Path to dependency:
> 1) dummy:dummy:pom:1.0
> 2) org.apache.maven.continuum:data-management-jdo:jar:1.1-beta-4
> 3) jpox:jpox:jar:1.1.6
> 4) javax.transaction:jta:jar:1.0.1B
>
> ----------
> 2 required artifacts are 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.resolveTransitively(DefaultArtifactResolver.java:305)
> at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:272)
> at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:243)
> at org.apache.maven.continuum.management.DataManagementCli.downloadArtifact(DataManagementCli.java:304)
> at org.apache.maven.continuum.management.DataManagementCli.processDatabase(DataManagementCli.java:185)
> at org.apache.maven.continuum.management.DataManagementCli.main(DataManagementCli.java:158)
>
> -------------------------------------
>
> I've installed the two missing artifacts and still continue to get the above error. Any suggestions where to look or what to run?
>
> Thanks,
>
> Johnathan
>
>