call maven-jar-plugin after build-helper-plugin
Hi, I am facing an issue in which have settings in pom.xml as generate war as default artifactid package, also generate jar with some specific folder set. Once done copy this new jar to some other machine. Issue is- once build is done, it calls plugin-build-helper instead of calling first mavne-jar-plugin. hence build fails since jar doesnt get generated. Can anyone suggest? Hence pom.ml is like- groupIdmmt/groupId artifactId${artifactname.application}/artifactId packaging${packaging.application}/packaging version${version.bus-application}/version plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-jar-plugin/artifactId version2.3/version executions execution phaseinstall/phase goals goaljar/goal /goals configuration includes include**/dir/**/*.*/include include**/dir/**/*.*/include /includes /configuration /execution /executions /plugin plugin groupIdorg.codehaus.mojo/groupId artifactIdbuild-helper-maven-plugin/artifactId version1.3/version configuration artifacts artifact file target/${artifactname.application}-${version.application}.jar /file typejar/type /artifact /artifacts /configuration executions execution idattach-artifacts/id phasepackage/phase goals goalattach-artifact/goal /goals /execution /executions /plugin /plugins
The PluginDescriptor for the plugin Plugin [org.apache.maven.plugins:maven-checkstyle-plugin] was not found.
hello Everyone, I am newbie for Maven usage, so need some help-- My maven builds failing in cruisecontrol giving error- [INFO] Velocity successfully started. [INFO] [ERROR] FATAL ERROR [INFO] [INFO] The PluginDescriptor for the plugin Plugin [org.apache.maven.plugins:maven-checkstyle-plugin] was not found. [INFO] [INFO] Trace java.lang.IllegalStateException: The PluginDescriptor for the plugin Plugin [org.apache.maven.plugins:maven-checkstyle-plugin] was not found. at org.apache.maven.plugin.DefaultPluginManager.addPlugin(DefaultPluginManager.java:325) at org.apache.maven.plugin.DefaultPluginManager.verifyVersionedPlugin(DefaultPluginManager.java:212) have checked that -maven-checkstyle-plugin exist under --- /root/.m2/repository/org/apache/maven/plugins/ Somehow dashboard is also not working. I have tried to execute- mvn -Pahp -U checkstyle:checkstyle but its not working fine. giving same error. when i execute -mvn help:effective-pom its successful on my pom.xml Have read docs @ http://maven.apache.org/guides/introduction/introduction-to-plugin-prefix-mapping.html also but seems i am lacking somewhere. It would be great if experts can give some advice. rgds Kapila