Hi Gary,
I wrote this plugin (for our own use) before Maven 2 was even out.
I have not really done much on it since, so it could very well
be that it currently misbehaves.
We ported all our java software to maven 2 now, but have not done
the native parts yet.
We plan to resurrect his plugin fairly soon. However there is also
a maven-native-plugin, which may or may not have the same
functionality. At the time, native dependencies were missing
and one needed to do a lot of hand-configuration for
different platforms. The NAR plugin would allow native dependencies
and assumes you want to build for multiple platforms without
having to reconfigure too much.
Regards
Mark Donszelmann
On May 23, 2006, at 9:43 AM, GaryC wrote:
I found this forum almost by accident and have already found out
quite a lot
of useful information by browsing the old posts. Anyway time to
register and
ask a question (and hopefully if I become skilled enough with Maven to
contribute something back in time!)
I've been having some problems with the NAR plugin under Maven 2. I've
configured the freehep repository in my settings.xml as follows:
freehep
FreeHEP
http://java.freehep.org/maven2
default
true
daily
warn
true
daily
And my pom.xml is as follows:
4.0.0
MQ
MQ
Quant
nar
1.0-SNAPSHOT
http://maven.apache.org
org.freehep
freehep-nar-plugin
2.0-alpha-1-SNAPSHOT
true
src/cpp
The plugin seems to download fine, and running goals such as mvn
compile
definitely excute the plugin, but I can't seem to run other goals
such as
mvn nar:info or mvn nar:nar. They simply result in the error message:
"The plugin 'org.apache.maven.plugins:maven-nar-plugin' does not
exist or no
valid version could be found"
I understand that Maven looks for plugins entitled "maven-myplugin-
plugin"
by default, unless a plugin prefix is configured using the
tag
in the plugins pom. I've had a look through the NAR's pom files and
can't
see this specified, so I'm wondering if there is something wrong
with the
plugin...or more likely that I'm doing something wrong.
Can anyone help?
Gary.
--
View this message in context: http://www.nabble.com/NAR+Plugin
+Problems-t1670063.html#a4526525
Sent from the Maven - Users forum 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]