The "-P build" part of your command makes me worried. Why would you have a "build" profile?
/Anders On Mon, May 7, 2012 at 4:18 PM, nsrajan1982 <[email protected]> wrote: > Thanks All > > We cleared it. > > We installed the generated jar in M2 as > /mvn install:install-file -DgroupId=xsd-js -DartifactId=xsd-js > -Dversion=0.0.1 -Dpackaging=jar -Dfile=D:\xsd-main-0.0.1-SNAPSHOT.jar/ > Had an entry for this jar in M1's pom.xml ad ran the mvn -e install -P > build. The compilation errors got solved. > > > > > > > > -- > View this message in context: > http://maven.40175.n5.nabble.com/maven-jar-tp5690974p5691166.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] > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
