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" <[email protected]>: > 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: [email protected] > For additional commands, e-mail: [email protected] >
