You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomee.apache.org by Lucio Crusca <lu...@sulweb.org> on 2012/12/19 21:48:48 UTC
Failed to execute goal
Hello there,
today, trying to build my project, I got:
[ERROR] Failed to execute goal on project SalixWeb: Could not resolve
dependencies for project com.virtual_bit.salix.web:SalixWeb:war:1.0-SNAPSHOT:
The following artifacts could not be resolved: javax.sql:jdbc-stdext:jar:2.0,
javax.transaction:jta:jar:1.0.1B: Could not find artifact javax.sql:jdbc-
stdext:jar:2.0 in wicket-menu-release (http://wicket-
menu.googlecode.com/svn/maven/repo) -> [Help 1]
At first I thought the problem was related to wicket-menu, but that made no
sense at all to me. Now I suspect it must have something to do with the fact I
added the tomee dependency into my pom.xml yesterday, and today was the first
time I tried to build after that.
Here is how I added tomee to my pom.xml:
<dependency>
<groupId>org.apache.openejb</groupId>
<artifactId>tomee-embedded</artifactId>
<version>1.5.2-SNAPSHOT</version>
<type>jar</type>
</dependency>
Hints?
Re: Failed to execute goal
Posted by Lucio Crusca <lu...@sulweb.org>.
In data mercoledì 19 dicembre 2012 22:44:38, Romain Manni-Bucau ha scritto:
> well the issue you have are not linked to tomee ;)
You're right. I had three different hibernate dependencies, 4.1.7-final,
3.2.5.ga and 3.3.2.GA... removed the last two, now it works (well not quite,
but this particular problem is solved).
Thanks
Lucio.
Re: Failed to execute goal
Posted by Romain Manni-Bucau <rm...@gmail.com>.
well the issue you have are not linked to tomee ;)
you probably miss some repo, check on these lib websites
Romain Manni-Bucau
Twitter: @rmannibucau
Blog: http://rmannibucau.wordpress.com/
LinkedIn: http://fr.linkedin.com/in/rmannibucau
Github: https://github.com/rmannibucau
2012/12/19 Lucio Crusca <lu...@sulweb.org>:
> José Luis Cetina wrote:
>> I use this dependency:
>>
>> <dependency>
>> <groupId>org.apache.openejb</groupId>
>> <artifactId>apache-tomee</artifactId>
>> <version>1.5.0</version>
>> <classifier>webprofile</classifier>
>> <type>zip</type>
>> <scope>provided</scope>
>> </dependency>
>
> Unfortunately this didn't solve my problem (besides, it broke my javax.ejb.*
> references).
>
> Romain Manni-Bucau wrote:
>> it doesn't come from us
>>
>> can you check with a mvn dependency:tree please?
>
> Not sure it will help much, however here's to you:
>
> $ mvn dependency:tree
> [INFO] Scanning for projects...
> [INFO]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building SalixWeb 1.0-SNAPSHOT
> [INFO]
> ------------------------------------------------------------------------
> Downloading:
> https://repository.apache.org/content/repositories/snapshots/com/jgoodies/JGoodies/b2.5-
> c1.2.1-f1.4.2-l2.4.2-v2.3.2/JGoodies-b2.5-c1.2.1-f1.4.2-l2.4.2-v2.3.2.pom
> [WARNING] The POM for com.jgoodies:JGoodies:jar:b2.5-c1.2.1-f1.4.2-l2.4.2-
> v2.3.2 is missing, no dependency information available
> Downloading:
> https://repository.apache.org/content/repositories/snapshots/com/db4o/db4o/7.12.243.16079-
> all-java5/db4o-7.12.243.16079-all-java5.pom
> [WARNING] The POM for com.db4o:db4o:jar:7.12.243.16079-all-java5 is missing,
> no dependency information available
> [WARNING] The POM for unknown.binary:mysql-connector-java-5.1.18-
> bin:jar:SNAPSHOT is missing, no dependency information available
> Downloading:
> https://repository.apache.org/content/repositories/snapshots/javax/transaction/jta/1.0.1B/jta-1.0.1B.jar
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 12.335s
> [INFO] Finished at: Wed Dec 19 22:05:06 CET 2012
> [INFO] Final Memory: 11M/35M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal on project SalixWeb: Could not resolve
> dependencies for project com.virtual_bit.salix.web:SalixWeb:war:1.0-SNAPSHOT:
> Could not find artifact javax.transaction:jta:jar:1.0.1B in Apache Nexus
> (https://repository.apache.org/content/repositories/snapshots/) -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e
> switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions, please
> read the following articles:
> [ERROR] [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
Re: Failed to execute goal
Posted by Lucio Crusca <lu...@sulweb.org>.
José Luis Cetina wrote:
> I use this dependency:
>
> <dependency>
> <groupId>org.apache.openejb</groupId>
> <artifactId>apache-tomee</artifactId>
> <version>1.5.0</version>
> <classifier>webprofile</classifier>
> <type>zip</type>
> <scope>provided</scope>
> </dependency>
Unfortunately this didn't solve my problem (besides, it broke my javax.ejb.*
references).
Romain Manni-Bucau wrote:
> it doesn't come from us
>
> can you check with a mvn dependency:tree please?
Not sure it will help much, however here's to you:
$ mvn dependency:tree
[INFO] Scanning for projects...
[INFO]
[INFO]
------------------------------------------------------------------------
[INFO] Building SalixWeb 1.0-SNAPSHOT
[INFO]
------------------------------------------------------------------------
Downloading:
https://repository.apache.org/content/repositories/snapshots/com/jgoodies/JGoodies/b2.5-
c1.2.1-f1.4.2-l2.4.2-v2.3.2/JGoodies-b2.5-c1.2.1-f1.4.2-l2.4.2-v2.3.2.pom
[WARNING] The POM for com.jgoodies:JGoodies:jar:b2.5-c1.2.1-f1.4.2-l2.4.2-
v2.3.2 is missing, no dependency information available
Downloading:
https://repository.apache.org/content/repositories/snapshots/com/db4o/db4o/7.12.243.16079-
all-java5/db4o-7.12.243.16079-all-java5.pom
[WARNING] The POM for com.db4o:db4o:jar:7.12.243.16079-all-java5 is missing,
no dependency information available
[WARNING] The POM for unknown.binary:mysql-connector-java-5.1.18-
bin:jar:SNAPSHOT is missing, no dependency information available
Downloading:
https://repository.apache.org/content/repositories/snapshots/javax/transaction/jta/1.0.1B/jta-1.0.1B.jar
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 12.335s
[INFO] Finished at: Wed Dec 19 22:05:06 CET 2012
[INFO] Final Memory: 11M/35M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal on project SalixWeb: Could not resolve
dependencies for project com.virtual_bit.salix.web:SalixWeb:war:1.0-SNAPSHOT:
Could not find artifact javax.transaction:jta:jar:1.0.1B in Apache Nexus
(https://repository.apache.org/content/repositories/snapshots/) -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please
read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
Re: Failed to execute goal
Posted by Romain Manni-Bucau <rm...@gmail.com>.
Hi,
it doesn't come from us
can you check with a mvn dependency:tree please?
Romain Manni-Bucau
Twitter: @rmannibucau
Blog: http://rmannibucau.wordpress.com/
LinkedIn: http://fr.linkedin.com/in/rmannibucau
Github: https://github.com/rmannibucau
2012/12/19 José Luis Cetina <ma...@gmail.com>:
> I use this dependency:
>
> <dependency>
> <groupId>org.apache.openejb</groupId>
> <artifactId>apache-tomee</artifactId>
> <version>1.5.0</version>
> <classifier>webprofile</classifier>
> <type>zip</type>
> <scope>provided</scope>
> </dependency>
>
>
>
> Hope it helps
>
>
> 2012/12/19 Lucio Crusca <lu...@sulweb.org>
>
>> SNAPSHOT
>
>
>
>
> --
> -------------------------------------------------------------------
> *SCJA. José Luis Cetina*
> -------------------------------------------------------------------
Re: Failed to execute goal
Posted by José Luis Cetina <ma...@gmail.com>.
I use this dependency:
<dependency>
<groupId>org.apache.openejb</groupId>
<artifactId>apache-tomee</artifactId>
<version>1.5.0</version>
<classifier>webprofile</classifier>
<type>zip</type>
<scope>provided</scope>
</dependency>
Hope it helps
2012/12/19 Lucio Crusca <lu...@sulweb.org>
> SNAPSHOT
--
-------------------------------------------------------------------
*SCJA. José Luis Cetina*
-------------------------------------------------------------------