Wayne Fay wrote:
>
> I think you should just move the <configuration/> element to be a
> child inside <plugin/>, and then remove the <executions/> completely.
>
> Wayne
>
+1 with Wayne.
Should get the resulting part in your build/plugins part:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>2.1-SNAPSHOT</version>
<configuration>
<archive>
<manifestSections>
<manifestSection>
<name>el4j-config</name>
<manifestEntries>
<Module>${el4j-config.module}</Module>
<Files>${el4j-config.files}</Files>
<Dependencies>${el4j-config.dependencies}</Dependencies>
</manifestEntries>
</manifestSection>
</manifestSections>
</archive>
</configuration>
</plugin>
What you want to do is change the configuration of the jar plugin, not add a
execution of this plugin with a specific configuration....
Denis.
--
View this message in context:
http://www.nabble.com/How-to-execute-jar%3Ajar-just-once--tf1993039.html#a5481055
Sent from the Maven - Users forum at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]