[jboss-dev-forums] [Design of EJB 3.0] - Re: Eclipse project settings in the ejb3 trunk
scott.stark@jboss.org
do-not-reply at jboss.com
Mon Feb 25 19:29:37 EST 2008
The sandbox/ and socket-inflow/ project still don't have any classpath entries. After generating these with the eclipse plugin, I'm still seeing a missing dependency on the jca api being pulled in from jotm for the test target:
| [starksm at succubus sandbox]$ mvn test
| [INFO] Scanning for projects...
| WAGON_VERSION: 1.0-beta-2
| [INFO] ----------------------------------------------------------------------------
| [INFO] Building JBoss EJB 3 Sandbox
| [INFO] task-segment: [test]
| [INFO] ----------------------------------------------------------------------------
| [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.
| Downloading: http://snapshots.jboss.org/maven2/javax/resource/connector/1.0/connector-1.0.jar
| Downloading: http://repository.jboss.org/maven2/javax/resource/connector/1.0/connector-1.0.jar
| Downloading: http://repository.jboss.org/maven2/javax/resource/connector/1.0/connector-1.0.jar
| Downloading: http://repo1.maven.org/maven2/javax/resource/connector/1.0/connector-1.0.jar
| [INFO] ------------------------------------------------------------------------
| [ERROR] BUILD ERROR
| [INFO] ------------------------------------------------------------------------
| [INFO] Failed to resolve artifact.
|
| 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
| Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=javax.resource -DartifactId=connector \
| -Dversion=1.0 -Dpackaging=jar -Dfile=/path/to/file \
| -Durl=[url] -DrepositoryId=[id]
|
| Path to dependency:
| 1) org.jboss.ejb3:jboss-ejb3-sandbox:jar:0.12.0-SNAPSHOT
| 2) jotm:jotm:jar:2.0.10
| 3) javax.resource:connector:jar:1.0
|
We should not be needing jotm. I'm going to deploy the org.jboss.javaee:jboss-jca-api as javax.resource:connector for now.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4132016#4132016
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4132016
More information about the jboss-dev-forums
mailing list