6 Replies Latest reply on Sep 11, 2007 9:49 AM by toby saville

    Maven Plugin Packaging

    toby saville Novice


      I am using the ESB maven plugin to package my project. However, sometimes i change the packaging to type jar so that i can deploy the artifact as a jar to my maven repository so others can use it as a dependency.

      So i change the packaging tag to have a value of jar. All is well if i just use mvn package. But if i want to use mvn deploy to deploy to my maven repository, it always deploys with an esb extension despite the value of the project's packaging tag. The only way around this at the moment is to set the value of the ESB maven plugin's extension tag to be false, the project then deploys as a jar. I would be prefer to be able to change only the project's packaging tag to affect the package or deploy command line directive.

      any suggestions?

      thanks heaps,