Author: remy.maucherat(a)jboss.com
Date: 2008-04-29 12:30:05 -0400 (Tue, 29 Apr 2008)
New Revision: 602
Added:
trunk/res/el-api-pom.xml
trunk/res/jasper-jdt-pom.xml
trunk/res/jsp-api-pom.xml
trunk/res/servlet-api-pom.xml
Modified:
trunk/dist.xml
Log:
- Scripts update.
Modified: trunk/dist.xml
===================================================================
--- trunk/dist.xml 2008-04-29 15:56:22 UTC (rev 601)
+++ trunk/dist.xml 2008-04-29 16:30:05 UTC (rev 602)
@@ -286,11 +286,13 @@
<target name="maven" description="Upload to Maven repository; if this
looks like a hack, it's because it's one">
<filter token="VERSION" value="${version}"/>
- <copy file="res/jbossweb-pom.xml" todir="${tomcat.jars}"
filtering="true"/>
+ <copy todir="${tomcat.jars}" filtering="true">
+ <fileset dir="res">
+ <include name="*-pom.xml"/>
+ </fileset>
+ </copy>
- <property name="jbossweb.jar"
value="${tomcat.jars}/jbossweb.jar"/>
- <property name="jbossweb.pom"
value="${tomcat.jars}/jbossweb-pom.xml"/>
-
+ <!-- Maven repository configuration -->
<!--<property name="maven.repository.url"
value="file:///home/remm/.m2/repository/maven2"/>
<property name="maven.repository.url"
value="dav:https://repository.jboss.org/maven2"/>
<property name="maven.repository.id"
value="repository.jboss.org"/>-->
@@ -300,14 +302,46 @@
<!-- Linux/Unix execs -->
<exec dir="." executable="/bin/sh" os="Linux">
<arg value="-c" />
- <arg value="mvn deploy:deploy-file -Dfile=${jbossweb.jar}
-DpomFile=${jbossweb.pom} -Durl=${maven.repository.url} -Dpackaging=jar
-DrepositoryId=${maven.repository.id}"/>
+ <arg value="mvn deploy:deploy-file -Dfile=${tomcat.jars}/el-api.jar
-DpomFile=${tomcat.jars}/el-api-pom.xml -Durl=${maven.repository.url} -Dpackaging=jar
-DrepositoryId=${maven.repository.id}"/>
</exec>
+ <exec dir="." executable="/bin/sh" os="Linux">
+ <arg value="-c" />
+ <arg value="mvn deploy:deploy-file -Dfile=${tomcat.jars}/jasper-jdt.jar
-DpomFile=${tomcat.jars}/jasper-jdt-pom.xml -Durl=${maven.repository.url} -Dpackaging=jar
-DrepositoryId=${maven.repository.id}"/>
+ </exec>
+ <exec dir="." executable="/bin/sh" os="Linux">
+ <arg value="-c" />
+ <arg value="mvn deploy:deploy-file -Dfile=${tomcat.jars}/jbossweb.jar
-DpomFile=${tomcat.jars}/jbossweb-pom.xml -Durl=${maven.repository.url} -Dpackaging=jar
-DrepositoryId=${maven.repository.id}"/>
+ </exec>
+ <exec dir="." executable="/bin/sh" os="Linux">
+ <arg value="-c" />
+ <arg value="mvn deploy:deploy-file -Dfile=${tomcat.jars}/jsp-api.jar
-DpomFile=${tomcat.jars}/jsp-api-pom.xml -Durl=${maven.repository.url} -Dpackaging=jar
-DrepositoryId=${maven.repository.id}"/>
+ </exec>
+ <exec dir="." executable="/bin/sh" os="Linux">
+ <arg value="-c" />
+ <arg value="mvn deploy:deploy-file -Dfile=${tomcat.jars}/servlet-api.jar
-DpomFile=${tomcat.jars}/servlet-api-pom.xml -Durl=${maven.repository.url} -Dpackaging=jar
-DrepositoryId=${maven.repository.id}"/>
+ </exec>
<!-- Windows exec -->
<exec dir="." executable="cmd" os="Windows NT">
<arg value="/c" />
- <arg value="mvn deploy:deploy-file -Dfile=${jbossweb.jar}
-DpomFile=${jbossweb.pom} -Durl=${maven.repository.url} -Dpackaging=jar
-DrepositoryId=${maven.repository.id}"/>
+ <arg value="mvn deploy:deploy-file -Dfile=${tomcat.jars}/el-api.jar
-DpomFile=${tomcat.jars}/el-api-pom.xml -Durl=${maven.repository.url} -Dpackaging=jar
-DrepositoryId=${maven.repository.id}"/>
</exec>
+ <exec dir="." executable="cmd" os="Windows NT">
+ <arg value="/c" />
+ <arg value="mvn deploy:deploy-file -Dfile=${tomcat.jars}/jasper-jdt.jar
-DpomFile=${tomcat.jars}/jasper-jdt-pom.xml -Durl=${maven.repository.url} -Dpackaging=jar
-DrepositoryId=${maven.repository.id}"/>
+ </exec>
+ <exec dir="." executable="cmd" os="Windows NT">
+ <arg value="/c" />
+ <arg value="mvn deploy:deploy-file -Dfile=${tomcat.jars}/jbossweb.jar
-DpomFile=${tomcat.jars}/jbossweb-pom.xml -Durl=${maven.repository.url} -Dpackaging=jar
-DrepositoryId=${maven.repository.id}"/>
+ </exec>
+ <exec dir="." executable="cmd" os="Windows NT">
+ <arg value="/c" />
+ <arg value="mvn deploy:deploy-file -Dfile=${tomcat.jars}/jsp-api.jar
-DpomFile=${tomcat.jars}/jsp-api-pom.xml -Durl=${maven.repository.url} -Dpackaging=jar
-DrepositoryId=${maven.repository.id}"/>
+ </exec>
+ <exec dir="." executable="cmd" os="Windows NT">
+ <arg value="/c" />
+ <arg value="mvn deploy:deploy-file -Dfile=${tomcat.jars}/servlet-api.jar
-DpomFile=${tomcat.jars}/servlet-api-pom.xml -Durl=${maven.repository.url} -Dpackaging=jar
-DrepositoryId=${maven.repository.id}"/>
+ </exec>
</target>
Added: trunk/res/el-api-pom.xml
===================================================================
--- trunk/res/el-api-pom.xml (rev 0)
+++ trunk/res/el-api-pom.xml 2008-04-29 16:30:05 UTC (rev 602)
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<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>jboss.web</groupId>
+ <artifactId>el-api</artifactId>
+ <version>@VERSION@</version>
+</project>
Added: trunk/res/jasper-jdt-pom.xml
===================================================================
--- trunk/res/jasper-jdt-pom.xml (rev 0)
+++ trunk/res/jasper-jdt-pom.xml 2008-04-29 16:30:05 UTC (rev 602)
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<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>jboss.web</groupId>
+ <artifactId>jasper-jdt</artifactId>
+ <version>@VERSION@</version>
+</project>
Added: trunk/res/jsp-api-pom.xml
===================================================================
--- trunk/res/jsp-api-pom.xml (rev 0)
+++ trunk/res/jsp-api-pom.xml 2008-04-29 16:30:05 UTC (rev 602)
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<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>jboss.web</groupId>
+ <artifactId>jsp-api</artifactId>
+ <version>@VERSION@</version>
+</project>
Added: trunk/res/servlet-api-pom.xml
===================================================================
--- trunk/res/servlet-api-pom.xml (rev 0)
+++ trunk/res/servlet-api-pom.xml 2008-04-29 16:30:05 UTC (rev 602)
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<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>jboss.web</groupId>
+ <artifactId>servlet-api</artifactId>
+ <version>@VERSION@</version>
+</project>