Hi I am new to maven and trying to get the openwire code generation in activemq to work. For this the gram plugin is needed. However I can't manage to get it to work. Followed the following steps: (This is with an empty ~/.m2 directory)
svn co https://svn.apache.org/repos/asf/activemq/maven-plugins/trunk maven-gram-plugin cd maven-gram-plugin mvn install Which results in: ... [INFO] Building jar: /home/tester/Sandbox3/maven-gram-plugin/maven-gram-plugin/target/maven-gram-plugin-4.x-incubator-SNAPSHOT.jar [INFO] [plugin:addPluginArtifactMetadata] [INFO] [install:install] [INFO] Installing /home/tester/Sandbox3/maven-gram-plugin/maven-gram-plugin/target/maven-gram-plugin-4.x-incubator-SNAPSHOT.jar to /home/tester/.m2/repository/org/apache/activemq/maven-gram-plugin/4.x-incubator-SNAPSHOT/maven-gram-plugin-4.x-incubator-SNAPSHOT.jar [INFO] [plugin:updateRegistry] [INFO] [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] ------------------------------------------------------------------------ [INFO] ActiveMQ Maven Plugins ................................ SUCCESS [2:13.002s] [INFO] Bundle Plugin ......................................... SUCCESS [2:40.520s] [INFO] Gram Plugin ........................................... SUCCESS [36.924s] [INFO] ------------------------------------------------------------------------ [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESSFUL [INFO] ------------------------------------------------------------------------ [INFO] Total time: 5 minutes 30 seconds [INFO] Finished at: Mon Mar 09 23:29:54 CET 2009 [INFO] Final Memory: 34M/89M [INFO] ------------------------------------------------------------------------ However a mvn gram:gram results in: [INFO] Scanning for projects... [INFO] Reactor build order: [INFO] ActiveMQ Maven Plugins [INFO] Bundle Plugin [INFO] Gram Plugin [INFO] Searching repository for plugin with prefix: 'gram'. [INFO] org.apache.maven.plugins: checking for updates from apache.incubating.releases [INFO] org.apache.maven.plugins: checking for updates from central [INFO] org.codehaus.mojo: checking for updates from apache.incubating.releases [INFO] org.codehaus.mojo: checking for updates from central [INFO] artifact org.apache.maven.plugins:maven-gram-plugin: checking for updates from apache.incubating.releases [INFO] artifact org.apache.maven.plugins:maven-gram-plugin: checking for updates from central [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] The plugin 'org.apache.maven.plugins:maven-gram-plugin' does not exist or no valid version could be found [INFO] ------------------------------------------------------------------------ [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------ [INFO] Total time: 3 seconds [INFO] Finished at: Mon Mar 09 23:31:27 CET 2009 [INFO] Final Memory: 5M/74M [INFO] ------------------------------------------------------------------------ But I just build and installed the thing! Must be doing something wrong. What am I missing here? Have fun, Frans --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
