Do not disable extensions in the all Maven profile, for projects generated from 
archetype


Project: http://git-wip-us.apache.org/repos/asf/syncope/repo
Commit: http://git-wip-us.apache.org/repos/asf/syncope/commit/610345ad
Tree: http://git-wip-us.apache.org/repos/asf/syncope/tree/610345ad
Diff: http://git-wip-us.apache.org/repos/asf/syncope/diff/610345ad

Branch: refs/heads/SYNCOPE-808
Commit: 610345ad67714b38afffb76f1cbdb338c8bcc5ce
Parents: 1b493e3
Author: Francesco Chicchiriccò <ilgro...@apache.org>
Authored: Tue Apr 11 15:23:31 2017 +0200
Committer: Francesco Chicchiriccò <ilgro...@apache.org>
Committed: Tue Apr 11 15:23:31 2017 +0200

----------------------------------------------------------------------
 .../archetype-resources/enduser/pom.xml          | 19 ++++++++++++++++++-
 1 file changed, 18 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/syncope/blob/610345ad/archetype/src/main/resources/archetype-resources/enduser/pom.xml
----------------------------------------------------------------------
diff --git a/archetype/src/main/resources/archetype-resources/enduser/pom.xml 
b/archetype/src/main/resources/archetype-resources/enduser/pom.xml
index b37360d..803a4ea 100644
--- a/archetype/src/main/resources/archetype-resources/enduser/pom.xml
+++ b/archetype/src/main/resources/archetype-resources/enduser/pom.xml
@@ -330,7 +330,24 @@ under the License.
         </dependency>
       </dependencies>
       
-      <build>        
+      <build>
+        <plugins>
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-antrun-plugin</artifactId>
+            <inherited>true</inherited>
+            <executions>
+              <execution>
+                <id>disableExtensions</id>
+                <phase>none</phase>
+                <goals>
+                  <goal>run</goal>
+                </goals>
+              </execution>
+            </executions>
+          </plugin>
+        </plugins>
+
         <resources>
           <resource>
             <directory>src/main/resources</directory>

Reply via email to