Author: alexsmirnov
Date: 2010-03-23 19:06:53 -0400 (Tue, 23 Mar 2010)
New Revision: 16659
Modified:
branches/community/3.3.X/framework/impl/pom.xml
Log:
CODING IN PROGRESS - issue RF-8529: Apache Ivy cannot handle framework dependencies for
3.3.3.CR1
https://jira.jboss.org/jira/browse/RF-8529
Modified: branches/community/3.3.X/framework/impl/pom.xml
===================================================================
--- branches/community/3.3.X/framework/impl/pom.xml 2010-03-23 18:43:42 UTC (rev 16658)
+++ branches/community/3.3.X/framework/impl/pom.xml 2010-03-23 23:06:53 UTC (rev 16659)
@@ -25,6 +25,79 @@
<artifactId>maven-install-plugin</artifactId>
<version>2.3</version>
</plugin>
+ <plugin>
+ <!-- Necessary due to
http://jira.codehaus.org/browse/MINSTALL-41 -->
+ <artifactId>maven-install-plugin</artifactId>
+ <version>2.3</version>
+ </plugin>
+ <plugin>
+ <artifactId>maven-resources-plugin</artifactId>
+ <version>2.4.2</version>
+ <executions>
+ <execution>
+ <id>copy-resources</id>
+ <!-- here the phase you need -->
+ <phase>process-resources</phase>
+ <goals>
+ <goal>copy-resources</goal>
+ </goals>
+ <configuration>
+ <outputDirectory>${project.build.directory}</outputDirectory>
+ <resources>
+ <resource>
+ <directory>${basedir}</directory>
+ <includes>
+ <include>pom.xml</include>
+ </includes>
+ <filtering>true</filtering>
+ </resource>
+ </resources>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <artifactId>maven-install-plugin</artifactId>
+ <executions>
+ <execution>
+ <!--
+ Replaces the pom (with placeholders) in the repository with the
+ pom without placeholders
+ -->
+ <id>overwrite-pom</id>
+ <phase>install</phase>
+ <goals>
+ <goal>install-file</goal>
+ </goals>
+ <configuration>
+ <file>${project.build.directory}/pom.xml</file>
+ <pomFile>${project.build.directory}/pom.xml</pomFile>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <artifactId>maven-deploy-plugin</artifactId>
+ <executions>
+ <execution>
+ <!--
+ Replaces the pom (with placeholders) in the repository with the
+ pom without placeholders
+ -->
+ <id>deploy-pom</id>
+ <phase>deploy</phase>
+ <goals>
+ <goal>deploy-file</goal>
+ </goals>
+ <configuration>
+ <url>${project.distributionManagementArtifactRepository.url}</url>
+
<repositoryId>${project.distributionManagementArtifactRepository.id}</repositoryId>
+ <file>${project.build.directory}/pom.xml</file>
+ <pomFile>${project.build.directory}/pom.xml</pomFile>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>