Commit bbe0efd1a5ae4738b0ac9cf8ca93e16d6d2afb60

Authored by Dancovich
1 parent 9e745fc9
Exists in master

Adicionada instrução para que o plugin m2e do Eclipse ignore o goal de

gerar documentação, que ele não suporta. Esta instrução não afeta em
nada o build normal do Maven.
documentation/quickstart/pom.xml
... ... @@ -62,6 +62,42 @@
62 62 </configuration>
63 63 </plugin>
64 64 </plugins>
  65 + <pluginManagement>
  66 + <plugins>
  67 + <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
  68 + <plugin>
  69 + <groupId>org.eclipse.m2e</groupId>
  70 + <artifactId>lifecycle-mapping</artifactId>
  71 + <version>1.0.0</version>
  72 + <configuration>
  73 + <lifecycleMappingMetadata>
  74 + <pluginExecutions>
  75 + <pluginExecution>
  76 + <pluginExecutionFilter>
  77 + <groupId>
  78 + org.jboss.maven.plugins
  79 + </groupId>
  80 + <artifactId>
  81 + maven-jdocbook-plugin
  82 + </artifactId>
  83 + <versionRange>
  84 + [2.3.5,)
  85 + </versionRange>
  86 + <goals>
  87 + <goal>generate</goal>
  88 + <goal>resources</goal>
  89 + </goals>
  90 + </pluginExecutionFilter>
  91 + <action>
  92 + <ignore></ignore>
  93 + </action>
  94 + </pluginExecution>
  95 + </pluginExecutions>
  96 + </lifecycleMappingMetadata>
  97 + </configuration>
  98 + </plugin>
  99 + </plugins>
  100 + </pluginManagement>
65 101 </build>
66 102  
67 103 <repositories>
... ...
documentation/reference/pom.xml
... ... @@ -62,6 +62,42 @@
62 62 </configuration>
63 63 </plugin>
64 64 </plugins>
  65 + <pluginManagement>
  66 + <plugins>
  67 + <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
  68 + <plugin>
  69 + <groupId>org.eclipse.m2e</groupId>
  70 + <artifactId>lifecycle-mapping</artifactId>
  71 + <version>1.0.0</version>
  72 + <configuration>
  73 + <lifecycleMappingMetadata>
  74 + <pluginExecutions>
  75 + <pluginExecution>
  76 + <pluginExecutionFilter>
  77 + <groupId>
  78 + org.jboss.maven.plugins
  79 + </groupId>
  80 + <artifactId>
  81 + maven-jdocbook-plugin
  82 + </artifactId>
  83 + <versionRange>
  84 + [2.3.5,)
  85 + </versionRange>
  86 + <goals>
  87 + <goal>generate</goal>
  88 + <goal>resources</goal>
  89 + </goals>
  90 + </pluginExecutionFilter>
  91 + <action>
  92 + <ignore></ignore>
  93 + </action>
  94 + </pluginExecution>
  95 + </pluginExecutions>
  96 + </lifecycleMappingMetadata>
  97 + </configuration>
  98 + </plugin>
  99 + </plugins>
  100 + </pluginManagement>
65 101 </build>
66 102  
67 103 <repositories>
... ...