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] > >
[INFO] Scanning for projects... Downloading: http://repo1.maven.org/maven2/org/codehaus/mojo/mojo/7/mojo-7.pom 4/4K 4/4K 4K downloaded [INFO] Reactor build order: [INFO] Maven Native [INFO] Maven Native API [INFO] Maven Native Components [INFO] Maven Native Javah [INFO] Maven Native Manager [INFO] Maven Native Provider - Generic C/C++ compiler and linker [INFO] Maven Native Provider - Borland Compiler [INFO] Maven Native Provider - MSVC compiler and linker [INFO] Maven Native Plugin [INFO] ---------------------------------------------------------------------------- [INFO] Building Maven Native [INFO] task-segment: [install] [INFO] ---------------------------------------------------------------------------- [INFO] [site:attach-descriptor] [INFO] [install:install] [INFO] Installing p:\exodus\maven-native-plugin\pom.xml to P:\exodus\repository\org\codehaus\mojo\natives\maven-native\1.0-alpha-1-SNAPSHOT\maven-native-1.0-alpha-1-SNAPSHOT.pom [INFO] ---------------------------------------------------------------------------- [INFO] Building Maven Native API [INFO] task-segment: [install] [INFO] ---------------------------------------------------------------------------- [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. [WARNING] Artifact junit:junit:jar:3.8.1:test retains local scope 'test' overriding broader scope 'compile' given by a dependency. If this is not intended, modify or remove the local scope. [INFO] [compiler:compile] [INFO] Nothing to compile - all classes are up to date [INFO] [resources:testResources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:testCompile] [INFO] Nothing to compile - all classes are up to date [INFO] [surefire:test] [INFO] Surefire report directory: p:\exodus\maven-native-plugin\maven-native-api\target\surefire-reports ------------------------------------------------------- T E S T S ------------------------------------------------------- Running org.codehaus.mojo.natives.DependencyTest Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.641 sec Running org.codehaus.mojo.natives.parser.FortranParserTest Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.032 sec Running org.codehaus.mojo.natives.parser.CParserTest Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.031 sec Results : Tests run: 16, Failures: 0, Errors: 0, Skipped: 0 [INFO] [jar:jar] [INFO] Building jar: p:\exodus\maven-native-plugin\maven-native-api\target\maven-native-api-1.0-alpha-1-SNAPSHOT.jar [INFO] [install:install] [INFO] Installing p:\exodus\maven-native-plugin\maven-native-api\target\maven-native-api-1.0-alpha-1-SNAPSHOT.jar to P:\exodus\repository\org\codehaus\mojo\natives\maven-native-api\1.0-alpha-1-SNAPSHOT\maven-native-api-1.0-alpha-1-SNAPSHOT.jar [INFO] ---------------------------------------------------------------------------- [INFO] Building Maven Native Components [INFO] task-segment: [install] [INFO] ---------------------------------------------------------------------------- [INFO] [site:attach-descriptor] [INFO] [install:install] [INFO] Installing p:\exodus\maven-native-plugin\maven-native-components\pom.xml to P:\exodus\repository\org\codehaus\mojo\natives\maven-native-components\1.0-alpha-1-SNAPSHOT\maven-native-components-1.0-alpha-1-SNAPSHOT.pom [INFO] ---------------------------------------------------------------------------- [INFO] Building Maven Native Javah [INFO] task-segment: [install] [INFO] ---------------------------------------------------------------------------- [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:compile] [INFO] Nothing to compile - all classes are up to date [INFO] [resources:testResources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:testCompile] [INFO] No sources to compile [INFO] [surefire:test] [INFO] No tests to run. [INFO] [jar:jar] [INFO] Building jar: p:\exodus\maven-native-plugin\maven-native-components\maven-native-javah\target\maven-native-javah-1.0-alpha-1-SNAPSHOT.jar [INFO] [install:install] [INFO] Installing p:\exodus\maven-native-plugin\maven-native-components\maven-native-javah\target\maven-native-javah-1.0-alpha-1-SNAPSHOT.jar to P:\exodus\repository\org\codehaus\mojo\natives\maven-native-javah\1.0-alpha-1-SNAPSHOT\maven-native-javah-1.0-alpha-1-SNAPSHOT.jar [INFO] ---------------------------------------------------------------------------- [INFO] Building Maven Native Manager [INFO] task-segment: [install] [INFO] ---------------------------------------------------------------------------- [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:compile] [INFO] Nothing to compile - all classes are up to date [INFO] [resources:testResources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:testCompile] [INFO] No sources to compile [INFO] [surefire:test] [INFO] No tests to run. [INFO] [jar:jar] [INFO] Building jar: p:\exodus\maven-native-plugin\maven-native-components\maven-native-manager\target\maven-native-manager-1.0-alpha-1-SNAPSHOT.jar [INFO] [install:install] [INFO] Installing p:\exodus\maven-native-plugin\maven-native-components\maven-native-manager\target\maven-native-manager-1.0-alpha-1-SNAPSHOT.jar to P:\exodus\repository\org\codehaus\mojo\natives\maven-native-manager\1.0-alpha-1-SNAPSHOT\maven-native-manager-1.0-alpha-1-SNAPSHOT.jar [INFO] ---------------------------------------------------------------------------- [INFO] Building Maven Native Provider - Generic C/C++ compiler and linker [INFO] task-segment: [install] [INFO] ---------------------------------------------------------------------------- [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:compile] [INFO] Nothing to compile - all classes are up to date [INFO] [resources:testResources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:testCompile] [INFO] Nothing to compile - all classes are up to date [INFO] [surefire:test] [INFO] Surefire report directory: p:\exodus\maven-native-plugin\maven-native-components\maven-native-generic-c\target\surefire-reports ------------------------------------------------------- T E S T S ------------------------------------------------------- Running org.codehaus.mojo.natives.c.CLinkerTest Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.156 sec Results : Tests run: 5, Failures: 0, Errors: 0, Skipped: 0 [INFO] [jar:jar] [INFO] Building jar: p:\exodus\maven-native-plugin\maven-native-components\maven-native-generic-c\target\maven-native-generic-c-1.0-alpha-1-SNAPSHOT.jar [INFO] [install:install] [INFO] Installing p:\exodus\maven-native-plugin\maven-native-components\maven-native-generic-c\target\maven-native-generic-c-1.0-alpha-1-SNAPSHOT.jar to P:\exodus\repository\org\codehaus\mojo\natives\maven-native-generic-c\1.0-alpha-1-SNAPSHOT\maven-native-generic-c-1.0-alpha-1-SNAPSHOT.jar [INFO] ---------------------------------------------------------------------------- [INFO] Building Maven Native Provider - Borland Compiler [INFO] task-segment: [install] [INFO] ---------------------------------------------------------------------------- [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:compile] [INFO] Nothing to compile - all classes are up to date [INFO] [resources:testResources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:testCompile] [INFO] Nothing to compile - all classes are up to date [INFO] [surefire:test] [INFO] Surefire report directory: p:\exodus\maven-native-plugin\maven-native-components\maven-native-bcc\target\surefire-reports ------------------------------------------------------- T E S T S ------------------------------------------------------- Running org.codehaus.mojo.natives.bcc.TLibLinkerTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.109 sec Results : Tests run: 1, Failures: 0, Errors: 0, Skipped: 0 [INFO] [jar:jar] [INFO] Building jar: p:\exodus\maven-native-plugin\maven-native-components\maven-native-bcc\target\maven-native-bcc-1.0-alpha-1-SNAPSHOT.jar [INFO] [install:install] [INFO] Installing p:\exodus\maven-native-plugin\maven-native-components\maven-native-bcc\target\maven-native-bcc-1.0-alpha-1-SNAPSHOT.jar to P:\exodus\repository\org\codehaus\mojo\natives\maven-native-bcc\1.0-alpha-1-SNAPSHOT\maven-native-bcc-1.0-alpha-1-SNAPSHOT.jar [INFO] ---------------------------------------------------------------------------- [INFO] Building Maven Native Provider - MSVC compiler and linker [INFO] task-segment: [install] [INFO] ---------------------------------------------------------------------------- [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:compile] [INFO] Nothing to compile - all classes are up to date [INFO] [resources:testResources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:testCompile] [INFO] No sources to compile [INFO] [surefire:test] [INFO] No tests to run. [INFO] [jar:jar] [INFO] Building jar: p:\exodus\maven-native-plugin\maven-native-components\maven-native-msvc\target\maven-native-msvc-1.0-alpha-1-SNAPSHOT.jar [INFO] [install:install] [INFO] Installing p:\exodus\maven-native-plugin\maven-native-components\maven-native-msvc\target\maven-native-msvc-1.0-alpha-1-SNAPSHOT.jar to P:\exodus\repository\org\codehaus\mojo\natives\maven-native-msvc\1.0-alpha-1-SNAPSHOT\maven-native-msvc-1.0-alpha-1-SNAPSHOT.jar [INFO] ---------------------------------------------------------------------------- [INFO] Building Maven Native Plugin [INFO] task-segment: [install] [INFO] ---------------------------------------------------------------------------- [INFO] [plugin:descriptor] [INFO] Using 2 extractors. [INFO] Applying extractor for language: java [INFO] Extractor for language: java found 6 mojo descriptors. [INFO] Applying extractor for language: bsh [INFO] Extractor for language: bsh found 0 mojo descriptors. [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:compile] [INFO] Nothing to compile - all classes are up to date [INFO] [resources:testResources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:testCompile] [INFO] No sources to compile [INFO] [surefire:test] [INFO] No tests to run. [INFO] [jar:jar] [INFO] Building jar: p:\exodus\maven-native-plugin\native-maven-plugin\target\native-maven-plugin-1.0-alpha-1-SNAPSHOT.jar [INFO] [plugin:addPluginArtifactMetadata] [INFO] [install:install] [INFO] Installing p:\exodus\maven-native-plugin\native-maven-plugin\target\native-maven-plugin-1.0-alpha-1-SNAPSHOT.jar to P:\exodus\repository\org\codehaus\mojo\native-maven-plugin\1.0-alpha-1-SNAPSHOT\native-maven-plugin-1.0-alpha-1-SNAPSHOT.jar [INFO] [plugin:updateRegistry] [INFO] [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] ------------------------------------------------------------------------ [INFO] Maven Native .......................................... SUCCESS [2.468s] [INFO] Maven Native API ...................................... SUCCESS [7.235s] [INFO] Maven Native Components ............................... SUCCESS [0.062s] [INFO] Maven Native Javah .................................... SUCCESS [1.203s] [INFO] Maven Native Manager .................................. SUCCESS [1.860s] [INFO] Maven Native Provider - Generic C/C++ compiler and linker SUCCESS [2.562s] [INFO] Maven Native Provider - Borland Compiler .............. SUCCESS [2.359s] [INFO] Maven Native Provider - MSVC compiler and linker ...... SUCCESS [1.453s] [INFO] Maven Native Plugin ................................... SUCCESS [3.860s] [INFO] ------------------------------------------------------------------------ [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESSFUL [INFO] ------------------------------------------------------------------------ [INFO] Total time: 24 seconds [INFO] Finished at: Mon Jun 19 17:53:48 CDT 2006 [INFO] Final Memory: 8M/15M [INFO] ------------------------------------------------------------------------
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
