[
https://jira.jboss.org/browse/JBBUILD-638?page=com.atlassian.jira.plugin....
]
Paul Gier commented on JBBUILD-638:
-----------------------------------
The executions aren't inherited through pluginManagement. So you would have to
configure it in the main plugins section and this would cause it to run for all projects.
I think for now projects will just have to configure this if they want it.
If the bytecode goal is the main goal for the plugin, it can be configured to be
automatically tied to the compile phase. But this would have to be done in the plugin
sources. That way the execution wouldn't need to be configured.
Configure the maven-injection-plugin
------------------------------------
Key: JBBUILD-638
URL:
https://jira.jboss.org/browse/JBBUILD-638
Project: JBoss Build System
Issue Type: Feature Request
Components: JBoss Parent POM
Affects Versions: JBoss Parent POM - 5
Reporter: David Lloyd
Assignee: Paul Gier
Fix For: JBoss Parent POM - 6
It should be configured like this if possible:
<plugin>
<groupId>org.jboss.maven.plugins</groupId>
<artifactId>maven-injection-plugin</artifactId>
<version>1.0.2</version>
<executions>
<execution>
<phase>compile</phase>
<goals>
<goal>bytecode</goal>
</goals>
</execution>
</executions>
</plugin>
Thanks.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira