[jboss-cvs] JBossAS SVN: r107492 - in projects/jboss-jca/trunk: validator/src/main/resources and 1 other directory.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Sun Aug 8 23:01:34 EDT 2010
Author: jeff.zhang
Date: 2010-08-08 23:01:33 -0400 (Sun, 08 Aug 2010)
New Revision: 107492
Modified:
projects/jboss-jca/trunk/build.xml
projects/jboss-jca/trunk/validator/src/main/resources/pom.xml
Log:
[JBJCA-298] modify pom.xml and add deploy-file artifact for validate-maven
Modified: projects/jboss-jca/trunk/build.xml
===================================================================
--- projects/jboss-jca/trunk/build.xml 2010-08-07 03:55:50 UTC (rev 107491)
+++ projects/jboss-jca/trunk/build.xml 2010-08-09 03:01:33 UTC (rev 107492)
@@ -1105,6 +1105,20 @@
<deploy-file file="release.sh" artifact="validator-cli"/>
<deploy-file file="snapshot.sh" artifact="validator-cli"/>
+ <!-- ironjacamar-validator-maven -->
+ <delete file="${target.dir}/${name}-validator-maven.xml"/>
+ <ivy:makepom artifactName="${name}-validator-maven"
+ conf="${name}-validator-maven"
+ ivyfile="${basedir}/ivy.xml"
+ pomfile="${target.dir}/${name}-validator-maven.xml"
+ headerFile="${tools.dir}/mvn/HEADER">
+ <mapping conf="${name}-validator-maven" scope="runtime"/>
+ <dependency artifact="${name}-validator" scope="runtime"/>
+ </ivy:makepom>
+
+ <deploy-file file="release.sh" artifact="validator-maven"/>
+ <deploy-file file="snapshot.sh" artifact="validator-maven"/>
+
<chmod file="${target.dir}/release.sh" perm="755"/>
<chmod file="${target.dir}/snapshot.sh" perm="755"/>
Modified: projects/jboss-jca/trunk/validator/src/main/resources/pom.xml
===================================================================
--- projects/jboss-jca/trunk/validator/src/main/resources/pom.xml 2010-08-07 03:55:50 UTC (rev 107491)
+++ projects/jboss-jca/trunk/validator/src/main/resources/pom.xml 2010-08-09 03:01:33 UTC (rev 107492)
@@ -1,31 +1,96 @@
-<build>
- <plugins>
- <plugin>
- <groupId>org.jboss.ironjacamar</groupId>
- <artifactId>ironjacamar-validator-maven</artifactId>
- <!-- The version of the plugin you want to use -->
- <version>1.0.0.Beta2</version>
- <executions>
- <execution>
- <goals>
- <goal>validate</goal>
- </goals>
- </execution>
- </executions>
- <configuration>
- <!-- output directory-->
- <outputDir>.</outputDir>
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2010, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+-->
+<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">
+
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.jboss.ironjacamar</groupId>
+ <artifactId>ironjacamar-validator-maven-test</artifactId>
+ <packaging>jar</packaging>
+ <version>1.0.0-SNAPSHOT</version>
+ <url>http://repository.jboss.org</url>
+ <dependencies>
+ <dependency>
+ <groupId>org.jboss.ironjacamar</groupId>
+ <artifactId>ironjacamar-validator-maven</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
+ <scope>runtime</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.ironjacamar</groupId>
+ <artifactId>ironjacamar-validator</artifactId>
+ <version>1.0.0.Beta1</version>
+ <scope>runtime</scope>
+ <exclusions>
+ <exclusion>
+ <groupId>org.jboss</groupId>
+ <artifactId>jbossxb</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss</groupId>
+ <artifactId>jbossxb</artifactId>
+ <version>2.0.2-SNAPSHOT</version>
+ <scope>runtime</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.maven</groupId>
+ <artifactId>maven-plugin-api</artifactId>
+ <version>2.2.1</version>
+ <scope>runtime</scope>
+ </dependency>
+ </dependencies>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.jboss.ironjacamar</groupId>
+ <artifactId>ironjacamar-validator-maven</artifactId>
+ <!-- The version of the plugin you want to use -->
+ <version>1.0.0-SNAPSHOT</version>
+ <executions>
+ <execution>
+ <goals>
+ <goal>validate</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <!-- output directory-->
+ <outputDir>.</outputDir>
- <!-- rar filename -->
- <rarFile>ra16.rar</rarFile>
+ <!-- rar filename -->
+ <rarFile>/doc/temp/down/BeanConnect.rar</rarFile>
- <!-- optional classpath
- <classpath>
- <param>classpath1</param>
- <param>classpath2</param>
- </classpath>
- -->
- </configuration>
- </plugin>
- </plugins>
-</build>
+ <!-- optional classpath
+ <classpath>
+ <param>classpath1</param>
+ <param>classpath2</param>
+ </classpath>
+ -->
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+</project>
More information about the jboss-cvs-commits
mailing list