I got the same issue weeks ago with M2_HOME. I found the solution by analysing the source code of VS plugin ;)
For the packaging type I don't remember. Sorry. Regards, Kevin. ---- Envoyé avec BlackBerry® d'Orange ---- -----Original Message----- From: Eric Kolotyluk <[email protected]> Date: Wed, 07 Sep 2011 05:58:20 To: <[email protected]> Reply-To: [email protected] Cc: <[email protected]> Subject: Re: Can't set settings.xml Ahhhh - thanks that helps. I had set MAVEN_HOME, but was not aware of M2_HOME. Now I am getting [ERROR] The project com.kodak.intersystem:intersystem-jni4net:0.0.1-SNAPSHOT (P:\Intersystem\main\platform.NET\intersystem-jni4net\pom.xml) has 2 errors [ERROR] Unresolveable build extension: Plugin org.apache.npanday.plugins:maven-compile-plugin:1.4.0-incubating or one of its dependencies could not be resolved: The following artifacts could not be resolved: org.openrdf:openrdf-repository-api:jar:2.0-beta5, org.openrdf:openrdf-repository-sail:jar:2.0-beta5, org.openrdf:openrdf-sail-memory:jar:2.0-beta5, org.openrdf:openrdf-model:jar:2.0-beta5, org.openrdf:openrdf-sail-nativerdf:jar:2.0-beta5, org.openrdf:openrdf-sail-inferencer:jar:2.0-beta5, org.openrdf:openrdf-queryparser-sparql:jar:2.0-beta5, org.openrdf:openrdf-rio-rdfxml:jar:2.0-beta5, info.aduna:aduna-iteration:jar:1.2: Could not find artifact org.openrdf:openrdf-repository-api:jar:2.0-beta5 in nexus (http://nexus:8081/nexus/content/groups/public) -> [Help 2] [ERROR] Unknown packaging: library @ line 11, column 14 Why is maven telling me that <packaging>library</packaging> is unknown? Cheers, Eric On 2011-09-07 12:08 AM, [email protected] wrote: > Hi Eric, > > Have you set the environment variable M2_HOME ? > > Regards, > > Kevin > > ------Message d'origine------ > De: Eric Kolotyluk > À: [email protected] > Répondre à: [email protected] > Répondre à: [email protected] > Objet: Can't set settings.xml > Envoyé: 7 sep 2011 01:16 > > When I select solution -> Change Maven settings.xml > > I get a dialog with a "Browse" button. When I click the "Browse" button the > dialog goes away and nothing else happens. > > Is there a way to tell NPaday where your Maven is and where your > settings.xml is? > > Cheers, Eric > > > > ---- Envoyé avec BlackBerry® d'Orange ----
