I am trying to build SMX4, and some of the bundle libraries could not be
found in Maven repository. Is the Maven repositories location changed? By
the way, if I build using JDK 1.5, it fails because of dependency on
javax.annotation package. Does that mean SMX4 can only be built using JDK
1.6? Thanks in advance.
Missing:
----------
1)
org.apache.servicemix.bundles:org.apache.servicemix.bundles.cxf:jar:2.0.2-inc
ubator-4.0-SNAPSHOT
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.apache.servicemix.bundles
-Dartifac
tId=org.apache.servicemix.bundles.cxf -Dversion=2.0.2-incubator-4.0-SNAPSHOT
-Dp
ackaging=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.servicemix.bundles
-DartifactI
d=org.apache.servicemix.bundles.cxf -Dversion=2.0.2-incubator-4.0-SNAPSHOT
-Dpac
kaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1)
org.apache.servicemix.openejb:org.apache.servicemix.openejb:bundle:4.
0-SNAPSHOT
2)
org.apache.servicemix.bundles:org.apache.servicemix.bundles.cxf:jar:2
.0.2-incubator-4.0-SNAPSHOT
2)
org.apache.servicemix.bundles:org.apache.servicemix.bundles.openjpa:jar:1.0.0
-4.0-SNAPSHOT
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.apache.servicemix.bundles
-Dartifac
tId=org.apache.servicemix.bundles.openjpa -Dversion=1.0.0-4.0-SNAPSHOT
-Dpackagi
ng=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.servicemix.bundles
-DartifactI
d=org.apache.servicemix.bundles.openjpa -Dversion=1.0.0-4.0-SNAPSHOT
-Dpackaging
=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1)
org.apache.servicemix.openejb:org.apache.servicemix.openejb:bundle:4.
0-SNAPSHOT
2)
org.apache.servicemix.bundles:org.apache.servicemix.bundles.openjpa:j
ar:1.0.0-4.0-SNAPSHOT
----------
2 required artifacts are missing.
for artifact:
org.apache.servicemix.openejb:org.apache.servicemix.openejb:bundle:4.0-SNAPSHO
T
from the specified remote repositories:
ops4j-snapshots (http://repository.ops4j.org/mvn-snapshots),
spring-ext
(http://springframework.svn.sourceforge.net/svnroot/springframework
/repos/repo-ext/),
spring-snapshots (http://static.springframework.org/maven2-snapshots/),
apache-snapshots (http://people.apache.org/repo/m2-snapshot-repository),
central (http://repo1.maven.org/maven2),
ops4j-repo (http://repository.ops4j.org/maven2),
maven-repo (http://repo1.maven.org/maven2),
servicemix-snapshots (http://svn.apache.org/repos/asf/servicemix/m2-repo),
i21-s3-maven-repo
(http://s3.amazonaws.com/maven.springframework.org/milestone
)
--
View this message in context:
http://www.nabble.com/Building-SMX4-failed.-Missing-org.apache.servicemix.bundles%3Aorg.apache.servicemix.bundles.cxf%3Ajar%3A2.0.2...-tf4889048s12049.html#a13993969
Sent from the ServiceMix - Dev mailing list archive at Nabble.com.