Hi,
I've been trying out the latest release candidate (OpenEJB 3.1.3
release (try 2)) and failed building the simple-stateless sample. Why
is that? With my bare enduser hat on, it's impossible for me to carry
on. I believe it happens to the other samples too (haven't tried
though).
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.
Missing:
----------
1) org.apache.openejb:javaee-api:jar:5.0-3
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.apache.openejb
-DartifactId=javaee-api -Dversion=5.0-3 -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.openejb
-DartifactId=javaee-api -Dversion=5.0-3 -Dpackaging=jar
-Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) org.superbiz:simple-stateless:jar:1.1
2) org.apache.openejb:javaee-api:jar:5.0-3
----------
1 required artifact is missing.
for artifact:
org.superbiz:simple-stateless:jar:1.1
from the specified remote repositories:
central (http://repo1.maven.org/maven2),
apache-m2-snapshot (http://repository.apache.org/snapshots)
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3 seconds
[INFO] Finished at: Fri Oct 15 11:38:17 CEST 2010
[INFO] Final Memory: 13M/81M
[INFO] ------------------------------------------------------------------------
Jacek
--
Jacek Laskowski
Notatnik Projektanta Java EE - http://jaceklaskowski.pl