mirror of https://github.com/apache/archiva.git
adjust Plexus components generation to correct phases so they work from the IDE
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/archiva-1.3.x@918853 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
f597e36cd3
commit
d40d925272
|
@ -60,19 +60,4 @@
|
||||||
<scope>test</scope>
|
<scope>test</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
<build>
|
|
||||||
<plugins>
|
|
||||||
<plugin>
|
|
||||||
<groupId>org.codehaus.plexus</groupId>
|
|
||||||
<artifactId>plexus-component-metadata</artifactId>
|
|
||||||
<executions>
|
|
||||||
<execution>
|
|
||||||
<goals>
|
|
||||||
<goal>generate-metadata</goal>
|
|
||||||
</goals>
|
|
||||||
</execution>
|
|
||||||
</executions>
|
|
||||||
</plugin>
|
|
||||||
</plugins>
|
|
||||||
</build>
|
|
||||||
</project>
|
</project>
|
||||||
|
|
|
@ -51,20 +51,4 @@
|
||||||
<scope>test</scope>
|
<scope>test</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
<build>
|
|
||||||
<plugins>
|
|
||||||
<plugin>
|
|
||||||
<groupId>org.codehaus.plexus</groupId>
|
|
||||||
<artifactId>plexus-component-metadata</artifactId>
|
|
||||||
<executions>
|
|
||||||
<execution>
|
|
||||||
<id>descriptor</id>
|
|
||||||
<goals>
|
|
||||||
<goal>generate-metadata</goal>
|
|
||||||
</goals>
|
|
||||||
</execution>
|
|
||||||
</executions>
|
|
||||||
</plugin>
|
|
||||||
</plugins>
|
|
||||||
</build>
|
|
||||||
</project>
|
</project>
|
||||||
|
|
|
@ -66,16 +66,9 @@
|
||||||
<groupId>org.codehaus.plexus</groupId>
|
<groupId>org.codehaus.plexus</groupId>
|
||||||
<artifactId>plexus-component-metadata</artifactId>
|
<artifactId>plexus-component-metadata</artifactId>
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
|
||||||
<id>descriptor</id>
|
|
||||||
<phase>generate-resources</phase>
|
|
||||||
<goals>
|
|
||||||
<goal>generate-metadata</goal>
|
|
||||||
</goals>
|
|
||||||
</execution>
|
|
||||||
<execution>
|
<execution>
|
||||||
<id>merge</id>
|
<id>merge</id>
|
||||||
<phase>generate-resources</phase>
|
<phase>generate-resources</phase>
|
||||||
<goals>
|
<goals>
|
||||||
<goal>merge-metadata</goal>
|
<goal>merge-metadata</goal>
|
||||||
</goals>
|
</goals>
|
||||||
|
|
|
@ -74,17 +74,12 @@
|
||||||
<groupId>org.codehaus.plexus</groupId>
|
<groupId>org.codehaus.plexus</groupId>
|
||||||
<artifactId>plexus-component-metadata</artifactId>
|
<artifactId>plexus-component-metadata</artifactId>
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
|
||||||
<id>descriptor</id>
|
|
||||||
<goals>
|
|
||||||
<goal>generate-metadata</goal>
|
|
||||||
</goals>
|
|
||||||
</execution>
|
|
||||||
<execution>
|
<execution>
|
||||||
<id>merge</id>
|
<id>merge</id>
|
||||||
<goals>
|
<goals>
|
||||||
<goal>merge-metadata</goal>
|
<goal>merge-metadata</goal>
|
||||||
</goals>
|
</goals>
|
||||||
|
<phase>process-resources</phase>
|
||||||
<configuration>
|
<configuration>
|
||||||
<descriptors>
|
<descriptors>
|
||||||
<descriptor>${basedir}/src/main/resources/META-INF/plexus/components-fragment.xml</descriptor>
|
<descriptor>${basedir}/src/main/resources/META-INF/plexus/components-fragment.xml</descriptor>
|
||||||
|
|
|
@ -102,9 +102,10 @@
|
||||||
<goals>
|
<goals>
|
||||||
<goal>merge-metadata</goal>
|
<goal>merge-metadata</goal>
|
||||||
</goals>
|
</goals>
|
||||||
|
<phase>process-resources</phase>
|
||||||
<configuration>
|
<configuration>
|
||||||
<descriptors>
|
<descriptors>
|
||||||
<descriptor>${basedir}/src/main/resources/META-INF/plexus/components.xml</descriptor>
|
<descriptor>${basedir}/src/main/resources/META-INF/plexus/components-fragment.xml</descriptor>
|
||||||
<descriptor>${project.build.outputDirectory}/META-INF/plexus/components.xml</descriptor>
|
<descriptor>${project.build.outputDirectory}/META-INF/plexus/components.xml</descriptor>
|
||||||
</descriptors>
|
</descriptors>
|
||||||
</configuration>
|
</configuration>
|
||||||
|
|
Loading…
Reference in New Issue