Add Servlet Sample
[aaf/authz.git] / cadi / servlet-sample / pom.xml
index 0eb2965..2fb8bf6 100644 (file)
 
        </dependencies>
        <build>
+               <plugins>
+                       <plugin>
+                               <artifactId>maven-assembly-plugin</artifactId>
+                               <executions>
+                                       <execution>
+                                               <id>sample</id>
+                                               <phase>package</phase>
+                                               <goals>
+                                                       <goal>single</goal>
+                                               </goals>
+                                               <configuration>
+                                                       <descriptors>
+                                                               <descriptor>src/assemble/servlet_sample.xml</descriptor>
+                                                       </descriptors>
+                                               </configuration>
+                                       </execution>
+                               </executions>
+                       </plugin>
+               </plugins>
                <pluginManagement>
                        <plugins>
-                               <plugin>
-                                       <inherited>true</inherited>
-                                       <groupId>org.apache.maven.plugins</groupId>
-                                       <artifactId>maven-compiler-plugin</artifactId>
-                                       <version>3.1</version>
-                                       <configuration>
-                                               <source>1.7</source>
-                                               <target>1.7</target>
-                                       </configuration>
-                               </plugin>
                                <plugin>
                                        <groupId>org.apache.maven.plugins</groupId>
                                        <version>2.4</version>
                                                </archive>
                                        </configuration>
                                </plugin>
+                               <plugin>
+                                       <inherited>true</inherited>
+                                       <groupId>org.apache.maven.plugins</groupId>
+                                       <artifactId>maven-compiler-plugin</artifactId>
+                                       <version>3.1</version>
+                                       <configuration>
+                                               <source>1.7</source>
+                                               <target>1.7</target>
+                                       </configuration>
+                               </plugin>
                        </plugins>
                </pluginManagement>
        </build>