Yes, but I'll be last to suggest that its correct :)

Are there restrictions on allowable extensions for <source>?

I'm currently looking at

[INFO] Failed to configure plugin parameters for: org.codehaus.mojo:\
native-maven-plugin:1.0-alpha-1-SNAPSHOT

  (found static expression: 'main.cpp' which may act as a default value).

Cause: Cannot assign configuration entry 'source' to 'class org.codehaus.\
mojo.natives.NativeSources' from 'main.cpp' which is of type java.lang.\
String

Brad

-----Original Message-----
From: dan tran [mailto:[EMAIL PROTECTED]
Sent: Monday, June 19, 2006 6:09 PM
To: Maven Users List
Subject: Re: m2 and maven-native-plugin <modelVersion>


Brad, did you configure native-maven-plugin?  check out the examples  or the
src/it

-D


On 6/19/06, Brad Harper <[EMAIL PROTECTED]> wrote:
>
> Here's the captured maven output on stdout for
>
>   % mvn install
>
> Keep in mind that a successful build had already been performed (or
> so it seems).
>
> Brad
>
> -----Original Message-----
> From: dan tran [mailto:[EMAIL PROTECTED]
> Sent: Monday, June 19, 2006 5:30 PM
> To: Maven Users List
> Subject: Re: m2 and maven-native-plugin <modelVersion>
>
>
> Seems like you dont have  native-maven-plugin installed on your host.
>
> Run this
>
>   mvn install
>
> from the top first to build the plugins and all of its components
>
>
> -Dan
>
>
>
> On 6/19/06, Brad Harper <[EMAIL PROTECTED]> wrote:
> >
> > I'm having some success ...
> >
> > [The svn client problem from earlier dealt with the protocol, which
> needed
> > to
> > be 'https', and not 'http'. ]
> >
> > I have the 'maven-native-plugin' built and installed in my local
> > repository,
> > but compiling my simple c/c++ project gives
> >
> > ...
> > [ERROR] BUILD ERROR
> > [INFO] ------- ...
> > [INFO] Cannot find lifecycle mapping for packaging: 'exe'.
> > Component descriptor cannot be found in the component repository:
> > org.apache.\
> > maven.lifecycle.mapping.LifecycleMappingexe. [sic]
> > ...
> >
> > I suspect that this problem is more a function of having built the
> plugin
> > locally and I still require an additional file in a
> > ./resources/META-INF/maven/
> > directory somewhere.
> >
> > Any ideas?
> >
> > Brad
> >
> > -----Original Message-----
> > From: dan tran [mailto:[EMAIL PROTECTED]
> > Sent: Monday, June 19, 2006 3:08 PM
> > To: Maven Users List
> > Subject: Re: m2 and maven-native-plugin <modelVersion>
> >
> >
> > svn co http://svn.codehaus.org/mojo/trunk/mojo/maven-native maven-native
> >
> > -D
> >
> >
> > On 6/19/06, Brad Harper <[EMAIL PROTECTED]> wrote:
> > >
> > > Any chance at getting a bulk download of the maven-native-plugin
> > > project sources for this purpose?
> > >
> > > Brad
> > >
> > > -----Original Message-----
> > > From: dan tran [mailto:[EMAIL PROTECTED]
> > > Sent: Monday, June 19, 2006 11:39 AM
> > > To: Maven Users List
> > > Subject: Re: m2 and maven-native-plugin <modelVersion>
> > >
> > >
> > > Brad, currently you will need to build the source yourself.  I am
> > waiting
> > > a
> > > stable webdav deployment on codehaus
> > > to release a official alpha version
> > >
> > > http://svn.codehaus.org/mojo/trunk/mojo/maven-native/
> > >
> > > -D
> > >
> > >
> > > On 6/19/06, Brad Harper <[EMAIL PROTECTED]> wrote:
> > > >
> > > > Dan:
> > > >
> > > > Is there a Maven2 version for the maven-native-plugin?
> > > >
> > > > It appears that the POM at
> > > >
> > > >   http://www.ibiblio.org/maven2/maven/maven-native-plugin/1.2/
> > > >
> > > > is incorrect.
> > > >
> > > > Brad
> > > >
> > > > -----Original Message-----
> > > > From: dan tran [mailto:[EMAIL PROTECTED]
> > > > Sent: Monday, June 19, 2006 10:23 AM
> > > > To: Maven Users List
> > > > Subject: Re: m2 and maven-native-plugin <modelVersion>
> > > >
> > > >
> > > > Brad,
> > > >
> > > > You are referencing your maven 2 pom to use maven-native-plugin for
> > > maven1
> > > >
> > > > -D
> > > >
> > > >
> > > > On 6/19/06, Brad Harper <[EMAIL PROTECTED]> wrote:
> > > > >
> > > > > POM contains
> > > > >
> > > > > <build>
> > > > >    <plugins>
> > > > >      <plugin>
> > > > >        <groupId>maven</groupId>
> > > > >        <artifactId>maven-native-plugin</artifactId>
> > > > >        <version>1.2</version>
> > > > >      </plugin>
> > > > >    </plugins>
> > > > > </build>
> > > > >
> > > > > Maven 2.0 downloads
> > > > >
> > > > > Downloading:
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
>
http://repo1.maven.org/maven2/maven/maven-native-plugin/1.2/maven-native-plu
> > > > > gin-1.2.pom
> > > > >
> > > > > The resulting POM file contains
> > > > >
> > > > >   <pomVersion>3</pomVersion>
> > > > >
> > > > > and no reference to
> > > > >
> > > > >   <modelVersion>4.0.0</modelVersion>
> > > > >
> > > > > as expected. The build fails with
> > > > >
> > > > >   Reason: Invalid POM (not v4.0.0 modelVersion)
> > > > >
> > > > > Anyone seeing this problem? Thanks.
> > > > >
> > > > > Brad Harper
> > > > > [EMAIL PROTECTED]
> > > > >
> > > > >
> > > > >
> > > > >
> > ---------------------------------------------------------------------
> > > > > 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]
> > > >
> > > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > 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]
> >
> >
>
>
> ---------------------------------------------------------------------
> 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]

Reply via email to