Skip to content
This repository has been archived by the owner on Aug 11, 2020. It is now read-only.

Commit

Permalink
updated the use of the dependency plugin
Browse files Browse the repository at this point in the history
git-svn-id: file:///opt/svn/repositories/sonatype.org/nexus/branches/nexus-1.2.x/nexus@3120 2aa8b3fc-8ebb-4439-a84f-95066eaea8ab
  • Loading branch information
mpowers committed Jan 26, 2009
1 parent 2d38813 commit ad6851e
Showing 1 changed file with 23 additions and 32 deletions.
55 changes: 23 additions & 32 deletions nexus-test-harness/nexus-test-harness-parent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -136,19 +136,11 @@
<id>copy-dependencies</id>
<phase>generate-test-resources</phase>
<goals>
<goal>copy</goal>
<goal>copy-dependencies</goal>
</goals>
<configuration>
<artifactItems>
<artifactItem>
<groupId>org.sonatype.nexus</groupId>
<artifactId>nexus-simple-memory-realm</artifactId>
<version>${project.version}</version>
<type>jar</type>
<overWrite>true</overWrite>
<outputDirectory>${lib-target-dir}</outputDirectory>
</artifactItem>
</artifactItems>
<includeArtifactIds>nexus-simple-memory-realm</includeArtifactIds>
<outputDirectory>${lib-target-dir}</outputDirectory>
</configuration>
</execution>

Expand Down Expand Up @@ -218,31 +210,30 @@
</execution>

<execution>
<id>unpack-config</id>
<id>unpack-test-harness-base-resources</id>
<goals>
<goal>unpack</goal>
<goal>unpack-dependencies</goal>
</goals>
<phase>generate-test-resources</phase>
<configuration>
<artifactItems>
<artifactItem>
<groupId>org.sonatype.nexus</groupId>
<artifactId>nexus-test-harness-base</artifactId>
<version>${project.version}</version>
<classifier>resources</classifier>
<type>zip</type>
<outputDirectory>${config-resource}</outputDirectory>
</artifactItem>
<artifactItem>
<groupId>org.sonatype.nexus</groupId>
<artifactId>nexus-test-harness-base</artifactId>
<version>${project.version}</version>
<classifier>bundle-conf</classifier>
<type>zip</type>
<outputDirectory>${bundle-conf-resource}</outputDirectory>
</artifactItem>
</artifactItems>

<classifier>resources</classifier>
<type>zip</type>
<includeArtifactIds>nexus-test-harness-base</includeArtifactIds>
<outputDirectory>${config-resource}</outputDirectory>
</configuration>
</execution>

<execution>
<id>unpack-test-harness-base-bundle-conf</id>
<goals>
<goal>unpack-dependencies</goal>
</goals>
<phase>generate-test-resources</phase>
<configuration>
<classifier>bundle-conf</classifier>
<type>zip</type>
<includeArtifactIds>nexus-test-harness-base</includeArtifactIds>
<outputDirectory>${bundle-conf-resource}</outputDirectory>
</configuration>
</execution>

Expand Down

0 comments on commit ad6851e

Please sign in to comment.