- Added configuration to make it possible to run each example via tomcat by the 
Maven command "mvn tomcat7:run"


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/be982336
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/be982336
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/be982336

Branch: refs/heads/feature/spriteflexjs-refactor
Commit: be982336e7c9bda7a959b23e7790673b60fa4b31
Parents: a8afc4e
Author: Christofer Dutz <[email protected]>
Authored: Sat Feb 18 18:49:46 2017 +0100
Committer: Christofer Dutz <[email protected]>
Committed: Sat Feb 18 18:50:01 2017 +0100

----------------------------------------------------------------------
 examples/pom.xml | 12 ++++++++++++
 1 file changed, 12 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/be982336/examples/pom.xml
----------------------------------------------------------------------
diff --git a/examples/pom.xml b/examples/pom.xml
index 948afed..aa6db36 100644
--- a/examples/pom.xml
+++ b/examples/pom.xml
@@ -136,6 +136,18 @@
         </plugin>
       </plugins>
     </pluginManagement>
+    <plugins>
+      <!-- Makes it possible to run the example directly by running 'mvn 
tomcat7:run' -->
+      <plugin>
+        <groupId>org.apache.tomcat.maven</groupId>
+        <artifactId>tomcat7-maven-plugin</artifactId>
+        <version>2.2</version>
+        <configuration>
+          <ignorePackaging>true</ignorePackaging>
+          
<warSourceDirectory>${build.directory}/${artifactId}-${version}</warSourceDirectory>
+        </configuration>
+      </plugin>
+    </plugins>
   </build>
 
   <!--

Reply via email to