views:

131

answers:

1

I am using the assembly plugin to tar.gz up a package. I am trying to change the root output directory from ${project.name}-{$project.version} to just ${project.name}, but cant seem to find the configuration option for that anywhere. Anyone know if this is possible?

A: 

In pom.xml of your project, while configuring your assembly plug-in try to use "outputDirectory" property. For inst.:

<plugin>
  <artifactId>maven-assembly-plugin</artifactId>
  <configuration>
    <outputDirectory>some/path</outputDirectory>
......
  </configuration>
<plugin>