Re: Maven-nar-plugin Issue

2013-05-13 Thread Curtis Rueden
Hi swappy,

It looks like you have maven-nar-plugin configured in your pluginManagement
section, but not your plugins section. See this SO QA for an explanation
of the difference:


http://stackoverflow.com/questions/10483180/maven-what-is-pluginmanagement

Regards,
Curtis

P.S. Since maven-nar-plugin is not available in Central, you will also need
to build it from source and deploy to your own repository (or at least
install it into your local cache).


On Fri, May 3, 2013 at 8:32 AM, swappy swaroop.kondre...@gmail.com wrote:

 I am trying to build C++ files and when i create my pom.xml, i am getting
 the
 following error
 *Project build error: Unknown packaging: nar*

 *My pom.xml*

 project xmlns=http://maven.apache.org/POM/4.0.0;
 xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
 xsi:schemaLocation=http://maven.apache.org/POM/4.0.0
 http://maven.apache.org/xsd/maven-4.0.0.xsd;
 modelVersion4.0.0/modelVersion

 packagingnar/packaging
 nameModule: example/name
 groupIdnarexample/groupId
 artifactIdcom.exmaple/artifactId
 version0.1-SNAPSHOT/version

 build
 pluginManagement
 plugins
 plugin
 groupIdorg.apache.maven.plugins/groupId
 artifactIdmaven-nar-plugin/artifactId
 version2.1-SNAPSHOT/version
 extensionstrue/extensions
 configuration
 libraries
 library
 typeshared/type
 /library
 /libraries
 tests
 test
 namebruch_test/name
 linkstatic/link
 /test
 /tests
 /configuration
 /plugin
 /plugins
 /pluginManagement
 /build
 /project



 --
 View this message in context:
 http://maven.40175.n5.nabble.com/Maven-nar-plugin-Issue-tp5754838.html
 Sent from the Maven - Users mailing list archive at Nabble.com.

 -
 To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
 For additional commands, e-mail: users-h...@maven.apache.org




Maven-nar-plugin Issue

2013-05-03 Thread swappy
I am trying to build C++ files and when i create my pom.xml, i am getting the
following error
*Project build error: Unknown packaging: nar*

*My pom.xml*

project xmlns=http://maven.apache.org/POM/4.0.0;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
xsi:schemaLocation=http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd;
modelVersion4.0.0/modelVersion

packagingnar/packaging
nameModule: example/name
groupIdnarexample/groupId
artifactIdcom.exmaple/artifactId
version0.1-SNAPSHOT/version

build
pluginManagement
plugins
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-nar-plugin/artifactId
version2.1-SNAPSHOT/version
extensionstrue/extensions
configuration
libraries
library
typeshared/type
/library
/libraries
tests
test
namebruch_test/name
linkstatic/link
/test
/tests
/configuration
/plugin
/plugins
/pluginManagement
/build
/project



--
View this message in context: 
http://maven.40175.n5.nabble.com/Maven-nar-plugin-Issue-tp5754838.html
Sent from the Maven - Users mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org