Closed f4n closed 9 years ago
i found a solution which matched my requirements i added the following executions after the configuration section
<executions>
<execution>
<id>maffia-content</id>
<phase>package</phase>
<goals>
<goal>content</goal>
</goals>
</execution>
<execution>
<id>maffia-test</id>
<phase>test</phase>
<goals>
<goal>test</goal>
</goals>
<configuration>
<skip>${skipTests}</skip>
</configuration>
</execution>
</executions>
this will execute the mafia:content goal in the package phase and mafia:test in the test phase. if -DskipTests is defined it will skipt mafia tests too. e.g. on mvn package -DskipTests to create a package faster
Hi, is it possible to (re-)generate the content.txt with the dependency inclusions automatically if i use mvn mafia:start? This file is normally produced with mvn mafia:content.
Or is there currently a way to do/configure it in one step?
With best regards, f4n