modules/core/plugindoc/pom.xml | 36 ++++++++++++++++++++++++++++++++++++ modules/enterprise/agent/pom.xml | 38 +++++++++++++++++++++++++++++++++++++- pom.xml | 4 ++-- 3 files changed, 75 insertions(+), 3 deletions(-)
New commits: commit e37f225f6d0b3f59eded64875dc23f6bd7a0e8d2 Author: John Sanda jsanda@redhat.com Date: Wed Jan 5 12:37:19 2011 -0500
Applying brew build patches
diff --git a/modules/core/plugindoc/pom.xml b/modules/core/plugindoc/pom.xml index 152a178..afa1802 100644 --- a/modules/core/plugindoc/pom.xml +++ b/modules/core/plugindoc/pom.xml @@ -119,4 +119,40 @@ </plugins> </build>
+ <profiles> + <profile> + <id>install-and-deploy-zip</id> + <activation> + <property> + <name>brew</name> + </property> + </activation> + <build> + <plugins> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>build-helper-maven-plugin</artifactId> + <version>1.5</version> + <executions> + <execution> + <id>attach-installed-file-for-deployment</id> + <phase>install</phase> + <goals> + <goal>attach-artifact</goal> + </goals> + <configuration> + <artifacts> + <artifact> + <type>zip</type> + <file>${project.build.directory}/${project.artifactId}-${project.version}.zip</file> + </artifact> + </artifacts> + </configuration> + </execution> + </executions> + </plugin> + </plugins> + </build> + </profile> + </profiles> </project> diff --git a/modules/enterprise/agent/pom.xml b/modules/enterprise/agent/pom.xml index 9aa5095..d1c7d5a 100644 --- a/modules/enterprise/agent/pom.xml +++ b/modules/enterprise/agent/pom.xml @@ -252,6 +252,42 @@ Build-Number=${buildNumber}
</plugins> </reporting> - + + <profiles> + <profile> + <id>install-and-deploy-zip</id> + <activation> + <property> + <name>brew</name> + </property> + </activation> + <build> + <plugins> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>build-helper-maven-plugin</artifactId> + <version>1.5</version> + <executions> + <execution> + <id>attach-installed-file-for-deployment</id> + <phase>install</phase> + <goals> + <goal>attach-artifact</goal> + </goals> + <configuration> + <artifacts> + <artifact> + <type>zip</type> + <file>${project.build.directory}/${project.artifactId}-${project.version}.zip</file> + </artifact> + </artifacts> + </configuration> + </execution> + </executions> + </plugin> + </plugins> + </build> + </profile> + </profiles> </project>
diff --git a/pom.xml b/pom.xml index 137e175..10f8bdf 100644 --- a/pom.xml +++ b/pom.xml @@ -1123,10 +1123,10 @@ </profile>
<profile> - <id>brew</id> + <id>brew-generate-build-number</id> <activation> <property> - <name>rhq.build.number</name> + <name>brew</name> </property> </activation> <build>