You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by samwun <le...@gmail.com> on 2011/06/11 15:44:24 UTC
Missing artifact javax.transaction:jta:jar:1.0.1B
Hello,
I need someone's help for resolve this error.
I an new to Nexus (a maven repository server).
I have started up Nexus in localhost successfully and have reindexed all
proxy repositories,
eg.
http://localhost:8081/nexus/index.html#nexus-search;quick~jta
However my maven project running in Eclipse 3.6.2 still giving me the error:
Missing artifact javax.transaction:jta:jar:1.0.1B
I put settings.xml file in the following path:
C:\apache-maven-3.0.3\conf
Here is my settings.xml file:
<repositories>
<repository>
<id>central</id>
<url>http://localhost:8081/nexus/content/groups/public/</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
<repository>
<id>snapshots</id>
<url>http://localhost:8081
/nexus/content/groups/public-snapshots/</url>
<releases>
<enabled>false</enabled>
</releases>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>central</id>
<url>http://localhost:8081/nexus/content/groups/public/</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
</pluginRepository>
<pluginRepository>
<id>snapshots</id>
<url>http://localhost:8081/nexus/content/groups/public-snapshots/</url>
<releases>
<enabled>false</enabled>
</releases>
</pluginRepository>
</pluginRepositories>
Here is my windows PATH setting:
$ echo $PATH
/usr/local/bin:/usr/bin:/cygdrive/c/Program Files/Common Files/Microsoft
Shared/Windows Live:/cygdrive/c/Program Files (x86)/Common Files/Microsoft
Shared/Windows
Live:/cygdrive/c/Windows/system32:/cygdrive/c/Windows:/cygdrive/c/Windows/System32/Wbem:/cygdrive/c/Windows/System32/WindowsPowerShell/v1.0:/cygdrive/c/glassfish3/jdk/bin:/cygdrive/c/Program
Files (x86)/QuickTime/QTSystem:/cygdrive/c/Program Files (x86)/Windows
Live/Shared:/cygdrive/c/apache-ant-1.8.2/bin:/cygdrive/c/apache-maven-3.0.3/bin
Your help is very much appreciated
Thanks
Sam
--
View this message in context: http://maven.40175.n5.nabble.com/Missing-artifact-javax-transaction-jta-jar-1-0-1B-tp4478821p4478821.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Missing artifact javax.transaction:jta:jar:1.0.1B
Posted by Mark Struberg <st...@yahoo.de>.
right.
A slightly OT addendum: All projects which need IP clean ALv2 licensed dependencies might have a look at the Geronimos specs project [1] which contains artifacts of lots of JSRs.
Especially all apache.org projects should use those dependencies instead of their (mostly) CDDL licensed counterparts from over at java.net!
LieGrue,
strub
[1] http://repo1.maven.org/maven2/org/apache/geronimo/specs/
--- On Wed, 6/15/11, Marc Rohlfs <po...@googlemail.com> wrote:
> From: Marc Rohlfs <po...@googlemail.com>
> Subject: Re: Missing artifact javax.transaction:jta:jar:1.0.1B
> To: "Maven Users List" <us...@maven.apache.org>
> Date: Wednesday, June 15, 2011, 7:37 AM
> Hi,
>
> the artifact does not exists in Central, right. But there's
> no need to download and install it manually. The artifact is
> available in the repository http://download.java.net/maven/2, You just only need to
> add it to Your Nexus and/or Maven settings.
>
> Regards, Marc
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Missing artifact javax.transaction:jta:jar:1.0.1B
Posted by Marc Rohlfs <po...@googlemail.com>.
Hi,
the artifact does not exists in Central, right. But there's no need to
download and install it manually. The artifact is available in the
repository http://download.java.net/maven/2, You just only need to add
it to Your Nexus and/or Maven settings.
Regards, Marc
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Missing artifact javax.transaction:jta:jar:1.0.1B
Posted by Dennis Lundberg <de...@apache.org>.
Hi
This has nothing to do with Nexus. The artifact does not exist in
central due to license restrictions:
http://repo1.maven.org/maven2/javax/transaction/jta/1.0.1B/jta-1.0.1B.pom
You will need to download the JAR file yourself and install it into your
Nexus instance.
On 2011-06-11 15:44, samwun wrote:
> Hello,
>
> I need someone's help for resolve this error.
>
> I an new to Nexus (a maven repository server).
> I have started up Nexus in localhost successfully and have reindexed all
> proxy repositories,
> eg.
>
> http://localhost:8081/nexus/index.html#nexus-search;quick~jta
>
> However my maven project running in Eclipse 3.6.2 still giving me the error:
> Missing artifact javax.transaction:jta:jar:1.0.1B
>
> I put settings.xml file in the following path:
> C:\apache-maven-3.0.3\conf
>
> Here is my settings.xml file:
> <repositories>
> <repository>
> <id>central</id>
> <url>http://localhost:8081/nexus/content/groups/public/</url>
> <snapshots>
> <enabled>false</enabled>
> </snapshots>
> </repository>
> <repository>
> <id>snapshots</id>
> <url>http://localhost:8081
> /nexus/content/groups/public-snapshots/</url>
> <releases>
> <enabled>false</enabled>
> </releases>
> </repository>
> </repositories>
> <pluginRepositories>
> <pluginRepository>
> <id>central</id>
> <url>http://localhost:8081/nexus/content/groups/public/</url>
> <snapshots>
> <enabled>false</enabled>
> </snapshots>
> </pluginRepository>
> <pluginRepository>
> <id>snapshots</id>
> <url>http://localhost:8081/nexus/content/groups/public-snapshots/</url>
> <releases>
> <enabled>false</enabled>
> </releases>
> </pluginRepository>
> </pluginRepositories>
>
> Here is my windows PATH setting:
>
> $ echo $PATH
> /usr/local/bin:/usr/bin:/cygdrive/c/Program Files/Common Files/Microsoft
> Shared/Windows Live:/cygdrive/c/Program Files (x86)/Common Files/Microsoft
> Shared/Windows
> Live:/cygdrive/c/Windows/system32:/cygdrive/c/Windows:/cygdrive/c/Windows/System32/Wbem:/cygdrive/c/Windows/System32/WindowsPowerShell/v1.0:/cygdrive/c/glassfish3/jdk/bin:/cygdrive/c/Program
> Files (x86)/QuickTime/QTSystem:/cygdrive/c/Program Files (x86)/Windows
> Live/Shared:/cygdrive/c/apache-ant-1.8.2/bin:/cygdrive/c/apache-maven-3.0.3/bin
>
> Your help is very much appreciated
> Thanks
> Sam
>
> --
> View this message in context: http://maven.40175.n5.nabble.com/Missing-artifact-javax-transaction-jta-jar-1-0-1B-tp4478821p4478821.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
--
Dennis Lundberg
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Missing artifact javax.transaction:jta:jar:1.0.1B
Posted by Anders Hammar <an...@hammar.net>.
AFAIK m2eclipse does not support global settings.xml. Put it in your user
home .m2 folder instead.
/Anders (mobile)
Den 12 jun 2011 23.52 skrev "samwun" <le...@gmail.com>:
> Hello,
>
> I need someone's help for resolve this error.
>
> I an new to Nexus (a maven repository server).
> I have started up Nexus in localhost successfully and have reindexed all
> proxy repositories,
> eg.
>
> http://localhost:8081/nexus/index.html#nexus-search;quick~jta
>
> However my maven project running in Eclipse 3.6.2 still giving me the
error:
> Missing artifact javax.transaction:jta:jar:1.0.1B
>
> I put settings.xml file in the following path:
> C:\apache-maven-3.0.3\conf
>
> Here is my settings.xml file:
> <repositories>
> <repository>
> <id>central</id>
> <url>http://localhost:8081/nexus/content/groups/public/</url>
> <snapshots>
> <enabled>false</enabled>
> </snapshots>
> </repository>
> <repository>
> <id>snapshots</id>
> <url>http://localhost:8081
> /nexus/content/groups/public-snapshots/</url>
> <releases>
> <enabled>false</enabled>
> </releases>
> </repository>
> </repositories>
> <pluginRepositories>
> <pluginRepository>
> <id>central</id>
> <url>http://localhost:8081/nexus/content/groups/public/</url>
> <snapshots>
> <enabled>false</enabled>
> </snapshots>
> </pluginRepository>
> <pluginRepository>
> <id>snapshots</id>
> <url>http://localhost:8081/nexus/content/groups/public-snapshots/</url>
> <releases>
> <enabled>false</enabled>
> </releases>
> </pluginRepository>
> </pluginRepositories>
>
> Here is my windows PATH setting:
>
> $ echo $PATH
> /usr/local/bin:/usr/bin:/cygdrive/c/Program Files/Common Files/Microsoft
> Shared/Windows Live:/cygdrive/c/Program Files (x86)/Common Files/Microsoft
> Shared/Windows
>
Live:/cygdrive/c/Windows/system32:/cygdrive/c/Windows:/cygdrive/c/Windows/System32/Wbem:/cygdrive/c/Windows/System32/WindowsPowerShell/v1.0:/cygdrive/c/glassfish3/jdk/bin:/cygdrive/c/Program
> Files (x86)/QuickTime/QTSystem:/cygdrive/c/Program Files (x86)/Windows
>
Live/Shared:/cygdrive/c/apache-ant-1.8.2/bin:/cygdrive/c/apache-maven-3.0.3/bin
>
> Your help is very much appreciated
> Thanks
> Sam
>
> --
> View this message in context:
http://maven.40175.n5.nabble.com/Missing-artifact-javax-transaction-jta-jar-1-0-1B-tp4478821p4478821.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>