tags:

views:

65

answers:

1

Is it possible to add the "appassembler:assemble" goal to the "package" goal? I really just want assemble to run when I do a "mvn package" Thanks.

+1  A: 

cant you just add a execution tag to the appassebmbler plugin definition?

  <plugin>
      ....
   <executions>
      <execution>
        <id>package</id>
        <goals>
          <goal>assemble</goal>
        </goals>
      </execution>
    </executions>
  </plugin>
smeg4brains
you have them flipped around, should be <id>package</id>...<goal>assemble</goal>
wuntee
ooops right thx ;)
smeg4brains