summaryrefslogtreecommitdiff
path: root/examples/app-a-bundle/pom.xml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/app-a-bundle/pom.xml')
-rw-r--r--examples/app-a-bundle/pom.xml77
1 files changed, 77 insertions, 0 deletions
diff --git a/examples/app-a-bundle/pom.xml b/examples/app-a-bundle/pom.xml
new file mode 100644
index 0000000..63b4c5a
--- /dev/null
+++ b/examples/app-a-bundle/pom.xml
@@ -0,0 +1,77 @@
+<project>
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>io.trygvis.appsh</groupId>
+ <artifactId>appsh-parent</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ </parent>
+ <groupId>io.trygvis.appsh.examples</groupId>
+ <artifactId>app-a-bundle</artifactId>
+ <packaging>unix-zip</packaging>
+ <repositories>
+ <repository>
+ <id>trygvis.io-snapshots</id>
+ <url>http://repo.trygvis.io/snapshots</url>
+ </repository>
+ </repositories>
+ <dependencies>
+ <dependency>
+ <groupId>io.trygvis.appsh</groupId>
+ <artifactId>booter-jetty8</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ </dependency>
+ <dependency>
+ <groupId>io.trygvis.appsh.examples</groupId>
+ <artifactId>app-a-web</artifactId>
+ <version>${project.version}</version>
+ <type>war</type>
+ </dependency>
+ </dependencies>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>appassembler-maven-plugin</artifactId>
+ <version>1.1</version>
+ <executions>
+ <execution>
+ <phase>generate-resources</phase>
+ <goals>
+ <goal>assemble</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <programs>
+ <program>
+ <name>app-a</name>
+ <mainClass>io.trygvis.appsh.booter.jetty8.Main</mainClass>
+ </program>
+ </programs>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>no.arktekk.unix</groupId>
+ <artifactId>unix-maven-plugin</artifactId>
+ <version>1.0-alpha-6</version>
+ <extensions>true</extensions>
+ <configuration>
+ <contact>Trygve Laugstol</contact>
+ <assembly>
+ <copyDirectory>
+ <from>target/appassembler</from>
+ <to>root</to>
+ <excludes>
+ <exclude>**/*.bat</exclude>
+ </excludes>
+ </copyDirectory>
+ <copyArtifact>
+ <artifact>io.trygvis.appsh.examples:app-a-web:war</artifact>
+ <toFile>root/wars/app-a-web.war</toFile>
+ </copyArtifact>
+ </assembly>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+</project>