Skip to content

Commit

Permalink
[SHRINKWRAP-262] Restructure the build/dist setup to unify the POM pa…
Browse files Browse the repository at this point in the history
…rent and the Aggregator. Still TODO: Hook in reporting for "mvn site" and get API Docs and othe reports reflected
  • Loading branch information
Andrew Lee Rubinger committed Mar 16, 2011
1 parent 38a2274 commit 946e08a
Show file tree
Hide file tree
Showing 23 changed files with 326 additions and 348 deletions.
4 changes: 2 additions & 2 deletions api/pom.xml
Expand Up @@ -7,9 +7,9 @@
<!-- Parent -->
<parent>
<groupId>org.jboss.shrinkwrap</groupId>
<artifactId>shrinkwrap-build</artifactId>
<artifactId>shrinkwrap-parent</artifactId>
<version>1.0.0-alpha-13-SNAPSHOT</version>
<relativePath>../build/pom.xml</relativePath>
<relativePath>../pom.xml</relativePath>
</parent>

<!-- Model Version -->
Expand Down
245 changes: 0 additions & 245 deletions build/pom.xml

This file was deleted.

File renamed without changes.
1 change: 1 addition & 0 deletions dist.xml → dist/dist.xml
Expand Up @@ -16,6 +16,7 @@
<!-- All module dependencies -->
<moduleSets>
<moduleSet>
<useAllReactorProjects>true</useAllReactorProjects>
<sources>
<fileSets>
<fileSet>
Expand Down
113 changes: 113 additions & 0 deletions dist/pom.xml
@@ -0,0 +1,113 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<!-- Parent -->
<parent>
<groupId>org.jboss.shrinkwrap</groupId>
<artifactId>shrinkwrap-parent</artifactId>
<version>1.0.0-alpha-13-SNAPSHOT</version>
</parent>

<!-- Artifact Information -->
<artifactId>shrinkwrap-distribution</artifactId>
<packaging>pom</packaging>
<name>ShrinkWrap Distribution</name>

<!--
Declare dependencies such that this module runs LAST in the Aggregator
-->
<dependencies>

<dependency>
<groupId>org.jboss.shrinkwrap</groupId>
<artifactId>shrinkwrap-extension-glassfish</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.jboss.shrinkwrap</groupId>
<artifactId>shrinkwrap-extension-jetty-6</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.jboss.shrinkwrap</groupId>
<artifactId>shrinkwrap-extension-jetty-7</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.jboss.shrinkwrap</groupId>
<artifactId>shrinkwrap-extension-mobicents-sip-servlets-1x</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.jboss.shrinkwrap</groupId>
<artifactId>shrinkwrap-extension-openejb</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.jboss.shrinkwrap.resolver</groupId>
<artifactId>shrinkwrap-resolver-impl-maven</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.jboss.shrinkwrap.sip</groupId>
<artifactId>shrinkwrap-extension-sip-impl</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.jboss.shrinkwrap</groupId>
<artifactId>shrinkwrap-extension-tomcat-6</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.jboss.shrinkwrap</groupId>
<artifactId>shrinkwrap-extension-vdf</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.jboss.shrinkwrap</groupId>
<artifactId>shrinkwrap-extension-vfs3</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.jboss.shrinkwrap</groupId>
<artifactId>shrinkwrap-extension-descriptors</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.jboss.shrinkwrap</groupId>
<artifactId>shrinkwrap-extension-vfs3</artifactId>
<version>${project.version}</version>
</dependency>

</dependencies>

<build>
<plugins>

<!-- Assembly Plugin -->
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<executions>
<execution>
<id>distro-assembly</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
<configuration>
<finalName>shrinkwrap-${project.version}</finalName>
<descriptors>
<descriptor>dist.xml</descriptor>
</descriptors>
</configuration>
</execution>
</executions>
</plugin>

</plugins>
</build>
</project>
4 changes: 2 additions & 2 deletions doc/reference/pom.xml
Expand Up @@ -4,9 +4,9 @@
<!-- Parent -->
<parent>
<groupId>org.jboss.shrinkwrap</groupId>
<artifactId>shrinkwrap-build</artifactId>
<artifactId>shrinkwrap-parent</artifactId>
<version>1.0.0-alpha-13-SNAPSHOT</version>
<relativePath>../../build/pom.xml</relativePath>
<relativePath>../../pom.xml</relativePath>
</parent>

<modelVersion>4.0.0</modelVersion>
Expand Down

0 comments on commit 946e08a

Please sign in to comment.