[jboss-cvs] JBossAS SVN: r64402 - projects/security/security-jboss-sx/trunk/jbosssx-client.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Wed Aug 1 11:57:46 EDT 2007


Author: anil.saldhana at jboss.com
Date: 2007-08-01 11:57:45 -0400 (Wed, 01 Aug 2007)
New Revision: 64402

Modified:
   projects/security/security-jboss-sx/trunk/jbosssx-client/pom.xml
Log:
add deploy plugin

Modified: projects/security/security-jboss-sx/trunk/jbosssx-client/pom.xml
===================================================================
--- projects/security/security-jboss-sx/trunk/jbosssx-client/pom.xml	2007-08-01 15:56:51 UTC (rev 64401)
+++ projects/security/security-jboss-sx/trunk/jbosssx-client/pom.xml	2007-08-01 15:57:45 UTC (rev 64402)
@@ -1,4 +1,9 @@
 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+   <parent>
+     <groupId>jboss</groupId>
+     <artifactId>jboss-parent</artifactId>
+     <version>2</version>
+   </parent>
    <modelVersion>4.0.0</modelVersion>
    <groupId>jboss</groupId>
    <artifactId>jbosssx-client</artifactId>
@@ -7,6 +12,29 @@
    <name>JBoss Security Client</name>
    <url>http://www.jboss.org</url>
    <description>JBoss Security Client Library</description>
+   <repositories>
+       <repository>
+          <id>jboss</id>
+          <name>JBoss Inc. Repository</name>
+          <layout>default</layout>
+          <url>http://repository.jboss.org/maven2/</url>
+          <snapshots>
+             <enabled>false</enabled>
+          </snapshots>
+       </repository>
+       <repository>
+          <id>snapshots.jboss.org</id>
+          <name>JBoss Snapshots Repository</name>
+          <layout>default</layout>
+          <url>http://snapshots.jboss.org/maven2/</url>
+          <snapshots>
+            <enabled>true</enabled>
+          </snapshots>
+          <releases>
+            <enabled>false</enabled>
+          </releases>
+       </repository> 
+     </repositories>
    <build>
       <sourceDirectory>../src/main</sourceDirectory>
       <finalName>${artifactId}</finalName>
@@ -27,7 +55,6 @@
                   <manifestFile>../src/etc/default.mf</manifestFile>
                </archive>
                <classesDirectory>../target/classes</classesDirectory>
-               <finalName>ToBeIgnored</finalName>
             </configuration>
          </plugin>
          <plugin>
@@ -41,7 +68,7 @@
                   <configuration>
                      <tasks>
                         <!-- Build jbosssx-client.jar -->
-                        <jar jarfile="${basedir}/target/jbosssx-client-${version}.jar" manifest="${basedir}/../src/etc/default.mf">
+                        <jar jarfile="${basedir}/target/jbosssx-client-${version}.jar" manifest="${basedir}/../src/etc/default.mf" update="true">
                            <fileset dir="${basedir}/../target/classes">
                               <exclude name="META-INF/MANIFEST.MF"/>
                               <!-- HACK -->
@@ -70,6 +97,21 @@
                </execution>
             </executions>
          </plugin>
+         <plugin>
+           <groupId>org.jboss.maven.plugins</groupId>
+           <artifactId>maven-jboss-deploy-plugin</artifactId>
+           <version>1.3</version>
+           <executions>
+            <execution>
+             <goals>
+               <goal>jboss-deploy</goal>
+             </goals>
+            </execution>
+           </executions>
+           <configuration>
+             <jbossDeployRoot>${jboss.repository.root}</jbossDeployRoot>
+           </configuration>
+         </plugin>
       </plugins>
    </build>
 </project>




More information about the jboss-cvs-commits mailing list