Skip to content

Commit

Permalink
Use shared resources to allow for offline builds
Browse files Browse the repository at this point in the history
  • Loading branch information
benfortuna committed Jun 10, 2012
1 parent ecc5cc5 commit 07bc4fd
Showing 1 changed file with 31 additions and 1 deletion.
32 changes: 31 additions & 1 deletion pom.xml
Expand Up @@ -3,7 +3,7 @@
<parent>
<artifactId>mnode-parent</artifactId>
<groupId>org.mnode</groupId>
<version>1.7</version>
<version>1.12</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.mnode.ical4j</groupId>
Expand Down Expand Up @@ -49,6 +49,26 @@
</instructions>
</configuration>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<id>unpack-shared-resources</id>
<goals>
<goal>unpack-dependencies</goal>
</goals>
<phase>generate-resources</phase>
<configuration>
<outputDirectory>${project.build.directory}/mnode-tools</outputDirectory>
<includeArtifacIds>mnode-tools</includeArtifacIds>
<includeGroupIds>${project.parent.groupId}</includeGroupIds>
<excludeTransitive>true</excludeTransitive>
</configuration>
</execution>
</executions>
</plugin>

<plugin>
<artifactId>maven-assembly-plugin</artifactId>
Expand Down Expand Up @@ -94,6 +114,16 @@
<artifactId>spock-core</artifactId>
<scope>test</scope>
</dependency>

<!-- Shared tool resources -->
<dependency>
<groupId>${project.parent.groupId}</groupId>
<artifactId>mnode-tools</artifactId>
<version>${project.parent.version}</version>
<classifier>resources</classifier>
<type>zip</type>
<scope>provided</scope>
</dependency>
</dependencies>

<repositories>
Expand Down

0 comments on commit 07bc4fd

Please sign in to comment.