You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by jackb <ja...@wachovia.com> on 2006/05/11 15:40:08 UTC
lwcontainer jar collision
I am using JAXB2. I have specified the required jars in the servicemix.xml
classpath element. As long as I remove the jaxb (1.0ver) jars from
[servicemix install dir]\lib\optional runs fine. When the jaxb (1.0ver) jars
are present I get an error due to the version 1.0 jars being used.
Any suggestions?
thanks
jack
--
View this message in context: http://www.nabble.com/lwcontainer-jar-collision-t1600730.html#a4340584
Sent from the ServiceMix - User forum at Nabble.com.
Re: lwcontainer jar collision
Posted by Guillaume Nodet <gn...@gmail.com>.
One of the problem with maven 2 is that the build is dependent of
external pom that may change :(
Could you run maven with the -X option in the module that fails and
paste the whole output please ?
Cheers,
Guillaume Nodet
On 5/12/06, echolu <cj...@163.com> wrote:
>
> But I build the SM3.0( May 10) with Maven2, it is wrong.
> The message is showed following:
> Downloading:
> http://repo1.maven.org/maven2/javax/xml/jsr173-api/2.0-ea3/jsr173-a
> pi-2.0-ea3.pom
> [WARNING] Unable to get resource from repository central
> (http://repo1.maven.org
> /maven2)
> Downloading:
> http://servicemix.org/m2-repo/javax/xml/jsr173-api/2.0-ea3/jsr173-a
> pi-2.0-ea3.pom
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Error building POM (may not be this project's POM).
>
>
> Project ID: javax.xml:jsr173-api
>
> Reason: Error getting POM for 'javax.xml:jsr173-api' from the repository:
> Error
> transferring file
> javax.xml:jsr173-api:pom:2.0-ea3
>
> from the specified remote repositories:
> central (http://repo1.maven.org/maven2),
> servicemix-m2-repo (http://servicemix.org/m2-repo),
> apache.snapshots (http://svn.apache.org/maven-snapshot-repository)
>
>
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 20 seconds
> [INFO] Finished at: Fri May 12 17:40:19 CST 2006
> [INFO] Final Memory: 13M/23M
> [INFO]
> ------------------------------------------------------------------------
>
> It lost lots of XXXX-ea3.pom files.
> When i locate the url:http://repo1.maven.org/maven2/, it is redirected to
> http://www.ibiblio.org/maven2/. But the direcotry javax/xml/ did not contain
> this type pom file.
>
> Did you have this problems? Thanks.
> --
> View this message in context: http://www.nabble.com/lwcontainer-jar-collision-t1600730.html#a4355496
> Sent from the ServiceMix - User forum at Nabble.com.
>
>
Re: lwcontainer jar collision
Posted by echolu <cj...@163.com>.
But I build the SM3.0( May 10) with Maven2, it is wrong.
The message is showed following:
Downloading:
http://repo1.maven.org/maven2/javax/xml/jsr173-api/2.0-ea3/jsr173-a
pi-2.0-ea3.pom
[WARNING] Unable to get resource from repository central
(http://repo1.maven.org
/maven2)
Downloading:
http://servicemix.org/m2-repo/javax/xml/jsr173-api/2.0-ea3/jsr173-a
pi-2.0-ea3.pom
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).
Project ID: javax.xml:jsr173-api
Reason: Error getting POM for 'javax.xml:jsr173-api' from the repository:
Error
transferring file
javax.xml:jsr173-api:pom:2.0-ea3
from the specified remote repositories:
central (http://repo1.maven.org/maven2),
servicemix-m2-repo (http://servicemix.org/m2-repo),
apache.snapshots (http://svn.apache.org/maven-snapshot-repository)
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 20 seconds
[INFO] Finished at: Fri May 12 17:40:19 CST 2006
[INFO] Final Memory: 13M/23M
[INFO]
------------------------------------------------------------------------
It lost lots of XXXX-ea3.pom files.
When i locate the url:http://repo1.maven.org/maven2/, it is redirected to
http://www.ibiblio.org/maven2/. But the direcotry javax/xml/ did not contain
this type pom file.
Did you have this problems? Thanks.
--
View this message in context: http://www.nabble.com/lwcontainer-jar-collision-t1600730.html#a4355496
Sent from the ServiceMix - User forum at Nabble.com.
Re: lwcontainer jar collision
Posted by jackb <ja...@wachovia.com>.
Used the maven 2 build - that did the trick.
thanks
jack
--
View this message in context: http://www.nabble.com/lwcontainer-jar-collision-t1600730.html#a4342289
Sent from the ServiceMix - User forum at Nabble.com.
Re: lwcontainer jar collision
Posted by Guillaume Nodet <gn...@gmail.com>.
Try the distribution build with maven 2 available at
http://cvs.apache.org/maven-snapshot-repository/org/apache/servicemix/incubating-servicemix/3.0-SNAPSHOT/.
They do not include these jars in the main container class loader.
I think i will remove the other ones and make them available for
download with a simple script, so that such problems will not happen
anymore.
Or you can just remove it from your lib directory as you did, as this
jar is not required by the container.
Cheers,
Guillaume Nodet
On 5/11/06, jackb <ja...@wachovia.com> wrote:
>
> I am using JAXB2. I have specified the required jars in the servicemix.xml
> classpath element. As long as I remove the jaxb (1.0ver) jars from
> [servicemix install dir]\lib\optional runs fine. When the jaxb (1.0ver) jars
> are present I get an error due to the version 1.0 jars being used.
>
> Any suggestions?
>
> thanks
>
> jack
> --
> View this message in context: http://www.nabble.com/lwcontainer-jar-collision-t1600730.html#a4340584
> Sent from the ServiceMix - User forum at Nabble.com.
>
>