demo-template
This commit is contained in:
1 parent
41974795ce
commit
cf3aa24ba5
109 files changed
+136
-1585
No files matched your search
@@ -15,7 +15,7 @@
|
||||
<outputDirectory></outputDirectory>
|
||||
</fileSet>
|
||||
<fileSet>
|
||||
<directory>../../examples</directory>
|
||||
<directory>target/examples</directory>
|
||||
<outputDirectory>examples</outputDirectory>
|
||||
<excludes>
|
||||
<exclude>**/.svn/**</exclude>
|
||||
|
||||
Executable
+37
@@ -0,0 +1,37 @@
|
||||
<project name="example-dist" basedir="." default="all">
|
||||
|
||||
<target name="all">
|
||||
<delete dir="target/examples"/>
|
||||
<copy todir="target/examples/as7-eap-demo" overwrite="true">
|
||||
<fileset dir="../../examples/demo-template">
|
||||
<exclude name="**/*.wildfly"/>
|
||||
<exclude name="**/target/**"/>
|
||||
<exclude name="*.iml"/>
|
||||
</fileset>
|
||||
</copy>
|
||||
<move file="target/examples/as7-eap-demo/README.md.as7" tofile="target/examples/as7-eap-demo/README.md"/>
|
||||
<copy todir="target/examples/wildfly-demo" overwrite="true">
|
||||
<fileset dir="../../examples/demo-template">
|
||||
<exclude name="**/WEB-INF/*.as7"/>
|
||||
<exclude name="**/WEB-INF/jboss-web.xml"/>
|
||||
<exclude name="**/WEB-INF/web.xml"/>
|
||||
<exclude name="target/**"/>
|
||||
<exclude name="*.iml"/>
|
||||
</fileset>
|
||||
</copy>
|
||||
<move file="target/examples/wildfly-demo/README.md.wildfly" tofile="target/examples/wildfly-demo/README.md"/>
|
||||
<move file="target/examples/wildfly-demo/customer-app/src/main/webapp/WEB-INF/web.xml.wildfly" tofile="target/examples/wildfly-demo/customer-app/src/main/webapp/WEB-INF/web.xml"/>
|
||||
<move file="target/examples/wildfly-demo/product-app/src/main/webapp/WEB-INF/web.xml.wildfly" tofile="target/examples/wildfly-demo/product-app/src/main/webapp/WEB-INF/web.xml"/>
|
||||
<move file="target/examples/wildfly-demo/database-service/src/main/webapp/WEB-INF/web.xml.wildfly" tofile="target/examples/wildfly-demo/database-service/src/main/webapp/WEB-INF/web.xml"/>
|
||||
<copy todir="target/examples/unconfigured-demo" overwrite="true">
|
||||
<fileset dir="../../examples/demo-template">
|
||||
<exclude name="**/*.wildfly"/>
|
||||
<exclude name="**/WEB-INF/*.as7"/>
|
||||
<exclude name="**/WEB-INF/jboss-web.xml"/>
|
||||
<exclude name="**/WEB-INF/keycloak.json"/>
|
||||
<exclude name="target/**"/>
|
||||
<exclude name="*.iml"/>
|
||||
</fileset>
|
||||
</copy>
|
||||
</target>
|
||||
</project>
|
||||
@@ -16,6 +16,44 @@
|
||||
</dependencies>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-antrun-plugin</artifactId>
|
||||
<version>1.7</version>
|
||||
<inherited>false</inherited>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>build-example</id>
|
||||
<goals>
|
||||
<goal>run</goal>
|
||||
</goals>
|
||||
<phase>compile</phase>
|
||||
<configuration>
|
||||
<target>
|
||||
<ant antfile="build.xml" inheritRefs="true">
|
||||
<target name="all"/>
|
||||
</ant>
|
||||
</target>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>ant-contrib</groupId>
|
||||
<artifactId>ant-contrib</artifactId>
|
||||
<version>1.0b3</version>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<groupId>ant</groupId>
|
||||
<artifactId>ant</artifactId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
|
||||
</plugin>
|
||||
<!--
|
||||
<plugin>
|
||||
<artifactId>maven-assembly-plugin</artifactId>
|
||||
<version>2.4</version>
|
||||
@@ -41,6 +79,7 @@
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
-->
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
|
||||
Reference in new issue
Block a user