[jboss-svn-commits] JBL Code SVN: r36495 - labs/jbosstm/trunk/rhq-plugin.

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Tue Jan 4 06:44:11 EST 2011


Author: mmusgrov
Date: 2011-01-04 06:44:11 -0500 (Tue, 04 Jan 2011)
New Revision: 36495

Modified:
   labs/jbosstm/trunk/rhq-plugin/build.xml
   labs/jbosstm/trunk/rhq-plugin/pom.xml
Log:
[JBTM-719] Fix ant dist target

Modified: labs/jbosstm/trunk/rhq-plugin/build.xml
===================================================================
--- labs/jbosstm/trunk/rhq-plugin/build.xml	2011-01-03 15:03:22 UTC (rev 36494)
+++ labs/jbosstm/trunk/rhq-plugin/build.xml	2011-01-04 11:44:11 UTC (rev 36495)
@@ -2,7 +2,7 @@
 
 <project name="rhq-plugin" default="maven:package" basedir=".">
 
-	<property name="modulename" value="jopr-jbossts-plugin-2.3.0.EmbJopr.1.3.0-4.jar"/>
+	<property name="modulename" value="jopr-jbossts-plugin-2.3.0.EmbJopr.1.3.0-4"/>
 	<property name="component-module-list" value="${modulename}"/>
 	<property name="install.jar.dir" value="../install/bin"/>
 	<property name="install.doc.dir" value="../install/docs/rhq"/>

Modified: labs/jbosstm/trunk/rhq-plugin/pom.xml
===================================================================
--- labs/jbosstm/trunk/rhq-plugin/pom.xml	2011-01-03 15:03:22 UTC (rev 36494)
+++ labs/jbosstm/trunk/rhq-plugin/pom.xml	2011-01-04 11:44:11 UTC (rev 36495)
@@ -16,6 +16,78 @@
     <name>Jopr Test Plugin</name>
     <description>A plugin for managing services</description>
 
+	<repositories>
+		<repository>
+			<id>jboss-public-repository-group</id>
+			<name>JBoss Public Maven Repository Group</name>
+			<url>https://repository.jboss.org/nexus/content/groups/public/</url>
+			<releases>
+				<enabled>true</enabled>
+			</releases>
+			<snapshots>
+				<enabled>true</enabled>
+			</snapshots>
+		</repository>
+	</repositories>
+
+	<build>
+		<finalName>${artifactId}</finalName>
+		<plugins>
+			<plugin>
+				<groupId>org.apache.maven.plugins</groupId>
+				<artifactId>maven-jar-plugin</artifactId>
+				<configuration>
+				</configuration>
+			</plugin>
+			<plugin>
+				<groupId>org.apache.maven.plugins</groupId>
+				<artifactId>maven-source-plugin</artifactId>
+				<executions>
+					<execution>
+						<id>create_sources_jar</id>
+						<goals>
+							<goal>jar</goal>
+						</goals>
+						<phase>prepare-package</phase>
+					</execution>
+				</executions>
+				<configuration>
+					<forceCreation>true</forceCreation>
+					<includePom>true</includePom>
+				</configuration>
+			</plugin>
+			<plugin>
+				<groupId>org.apache.maven.plugins</groupId>
+				<artifactId>maven-javadoc-plugin</artifactId>
+				<version>2.7</version>
+				<executions>
+					<execution>
+						<id>create_javadocs</id>
+						<goals>
+							<goal>jar</goal>
+						</goals>
+						<phase>prepare-package</phase>
+					</execution>
+				</executions>
+			</plugin>
+			<plugin>
+				<groupId>org.apache.maven.plugins</groupId>
+				<artifactId>maven-source-plugin</artifactId>
+				<executions>
+					<execution>
+						<id>create_sources_jar</id>
+						<goals> <goal>jar</goal> </goals>
+						<phase>prepare-package</phase>
+					</execution>
+				</executions>
+				<configuration>
+					<forceCreation>true</forceCreation>
+					<includePom>true</includePom>
+				</configuration>
+			</plugin>
+		</plugins>
+	</build>
+
     <dependencies>
         <dependency>
             <groupId>${rhq.groupId}</groupId>



More information about the jboss-svn-commits mailing list