You are viewing a plain text version of this content. The canonical link for it is here.
Posted to wsrf-dev@ws.apache.org by sc...@apache.org on 2004/12/01 22:55:21 UTC
svn commit: r109380 - /incubator/apollo/trunk/maven.xml /incubator/apollo/trunk/pomdependencies.xsl /incubator/apollo/trunk/project.xml
Author: scamp
Date: Wed Dec 1 13:55:20 2004
New Revision: 109380
URL: http://svn.apache.org/viewcvs?view=rev&rev=109380
Log:
added info about dependencies and a goal and xsl stylesheet to generate an html file with dep list
Added:
incubator/apollo/trunk/pomdependencies.xsl
Modified:
incubator/apollo/trunk/maven.xml
incubator/apollo/trunk/project.xml
Modified: incubator/apollo/trunk/maven.xml
Url: http://svn.apache.org/viewcvs/incubator/apollo/trunk/maven.xml?view=diff&rev=109380&p1=incubator/apollo/trunk/maven.xml&r1=109379&p2=incubator/apollo/trunk/maven.xml&r2=109380
==============================================================================
--- incubator/apollo/trunk/maven.xml (original)
+++ incubator/apollo/trunk/maven.xml Wed Dec 1 13:55:20 2004
@@ -191,5 +191,12 @@
eol="lf"
includes="src/wsdl/**, src/bindings/**" />
</goal>
-
+ <goal name="pomdep" description="Creates a deps.html file under target. Deps.html contains info on the project dependencies.">
+ <mkdir dir="${maven.war.build.dir}" />
+ ${systemScope.setProperty('javax.xml.transform.TransformerFactory','org.apache.xalan.processor.TransformerFactoryImpl')}
+ <style in="${basedir}/project.xml" out="${maven.war.build.dir}/deps.html"
+ style="${basedir}/pomdependencies.xsl"
+ classpathref="maven.dependency.classpath"
+ processor="trax"/>
+ </goal>
</project>
Added: incubator/apollo/trunk/pomdependencies.xsl
Url: http://svn.apache.org/viewcvs/incubator/apollo/trunk/pomdependencies.xsl?view=auto&rev=109380
==============================================================================
--- (empty file)
+++ incubator/apollo/trunk/pomdependencies.xsl Wed Dec 1 13:55:20 2004
@@ -0,0 +1,85 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/TR/REC-html40">
+ <xsl:output method="html"/>
+ <xsl:template match="/">
+ <HTML>
+ <HEAD>
+ <TITLE>
+ <xsl:apply-templates select="//project/name"/> Project Dependencies</TITLE>
+ </HEAD>
+ <BODY>
+ <h1 align="center">
+ <xsl:apply-templates select="//project/name"/> Project Dependencies</h1>
+ <br/>
+ <xsl:apply-templates select="//project/dependencies"/>
+ </BODY>
+ </HTML>
+ </xsl:template>
+ <xsl:template match="project/dependencies/dependency">
+ <TABLE border="1" width="600">
+ <TR>
+ <td bgcolor="gray" width="100">
+ <strong>Jar Name</strong>
+ </td>
+ <td>
+ <xsl:apply-templates select="artifactId"/>-<xsl:apply-templates select="version"/>.jar</td>
+ </TR>
+ <TR>
+ <td>
+ <strong>GroupId</strong>
+ </td>
+ <td>
+ <xsl:apply-templates select="groupId"/>
+ </td>
+ </TR>
+ <TR>
+ <td>
+ <strong>ArtifactId</strong>
+ </td>
+ <td>
+ <xsl:apply-templates select="artifactId"/>
+ </td>
+ </TR>
+ <TR>
+ <td>
+ <strong>Version</strong>
+ </td>
+ <td>
+ <xsl:apply-templates select="version"/>
+ </td>
+ </TR>
+ <TR>
+ <td>
+ <strong>Url</strong>
+ </td>
+ <td>
+ <xsl:apply-templates select="url"/>
+ </td>
+ </TR>
+ <TR>
+ <td>
+ <strong>Properties</strong>
+ </td>
+ <td>
+ <xsl:apply-templates select="properties"/>
+ </td>
+ </TR>
+ </TABLE>
+ <br/>
+ </xsl:template>
+ <xsl:template match="project/dependencies/dependency/properties">
+ <ul>
+ <xsl:for-each select="node()">
+ <xsl:if test="string(text())">
+ <li>
+ <strong>
+ <xsl:value-of select="local-name()"/>:</strong>
+ <p>
+ <xsl:value-of select="text()"/>
+ </p>
+ </li>
+ </xsl:if>
+ </xsl:for-each>
+ </ul>
+ </xsl:template>
+</xsl:stylesheet>
Modified: incubator/apollo/trunk/project.xml
Url: http://svn.apache.org/viewcvs/incubator/apollo/trunk/project.xml?view=diff&rev=109380&p1=incubator/apollo/trunk/project.xml&r1=109379&p2=incubator/apollo/trunk/project.xml&r2=109380
==============================================================================
--- incubator/apollo/trunk/project.xml (original)
+++ incubator/apollo/trunk/project.xml Wed Dec 1 13:55:20 2004
@@ -83,6 +83,7 @@
<url>http://ws.apache.org/ws-fx/addressing/</url>
<properties>
<war.bundle>true</war.bundle>
+ <usage>Needed for handling WS-Addressing.</usage>
</properties>
</dependency>
@@ -93,6 +94,7 @@
<url>http://ant.apache.org/</url>
<properties>
<war.bundle>true</war.bundle>
+ <usage>Needed for various custom Tasks we've defined for updating a Wsdd and running WsdmWsdl2Java.</usage>
</properties>
</dependency>
@@ -103,6 +105,7 @@
<url>http://www.hp.com/</url>
<properties>
<war.bundle>true</war.bundle>
+ <usage>Needed for handling our JNDI Xml config file via XmlBeans. This "could" be removed, but then we'd probably replace it with commons-config. The reason we avoided that approach is that we leveredge XmlBeans extensively in our codebase.</usage>
</properties>
</dependency>
@@ -113,6 +116,7 @@
<url>http://ws.apache.org/axis/</url>
<properties>
<war.bundle>true</war.bundle>
+ <usage>Needed for compiling Axis-specific impls in our codebase. It is also needed for unit tests, etc.</usage>
</properties>
</dependency>
@@ -123,6 +127,7 @@
<url>http://ws.apache.org/axis/</url>
<properties>
<war.bundle>true</war.bundle>
+ <usage>Needed for building our Jax-RPC compliant Handler impl.</usage>
</properties>
</dependency>
@@ -133,6 +138,7 @@
<url>http://ws.apache.org/axis/</url>
<properties>
<war.bundle>true</war.bundle>
+ <usage>Needed for building our SOAP-specific code.</usage>
</properties>
</dependency>
@@ -143,6 +149,7 @@
<url>http://ws.apache.org/axis/</url>
<properties>
<war.bundle>true</war.bundle>
+ <usage>Needed for working with WSDL files as objects.</usage>
</properties>
</dependency>
@@ -153,6 +160,7 @@
<url>http://dev2dev.bea.com/technologies/commonj/twm/</url>
<properties>
<war.bundle>true</war.bundle>
+ <usage>Needed for timer apis.</usage>
</properties>
</dependency>
@@ -193,19 +201,10 @@
<url>http://jakarta.apache.org/commons/discovery/</url>
<properties>
<war.bundle>true</war.bundle>
+ <usage>Needed by Axis.</usage>
</properties>
</dependency>
-
- <dependency>
- <groupId>commons-httpclient</groupId>
- <artifactId>commons-httpclient</artifactId>
- <version>2.0.2</version>
- <url>http://jakarta.apache.org/commons/httpclient/</url>
- <properties>
- <war.bundle>true</war.bundle>
- </properties>
- </dependency>
-
+
<dependency>
<groupId>commons-lang</groupId>
<artifactId>commons-lang</artifactId>
@@ -213,6 +212,7 @@
<url>http://jakarta.apache.org/commons/lang/</url>
<properties>
<war.bundle>true</war.bundle>
+ <usage>Needed for utility operations like StringUtils, ExceptionUtils etc.</usage>
</properties>
</dependency>
@@ -223,6 +223,7 @@
<url>http://jakarta.apache.org/commons/logging/</url>
<properties>
<war.bundle>true</war.bundle>
+ <usage>Needed for logging purposes.</usage>
</properties>
</dependency>
@@ -233,6 +234,7 @@
<url>http://gee.cs.oswego.edu/dl/classes/EDU/oswego/cs/dl/util/concurrent/intro.html</url>
<properties>
<war.bundle>true</war.bundle>
+ <usage>Needed for threading.</usage>
</properties>
</dependency>
@@ -243,6 +245,7 @@
<url>https://ws-rp.hpsen.com/</url>
<properties>
<war.bundle>true</war.bundle>
+ <usage>Needed for handling requests. This contains the XmlBean-generated code from the spec wsdls. This "could" be eliminated and generated on the fly, but it would make the builds longer.</usage>
</properties>
</dependency>
@@ -253,6 +256,7 @@
<url>http://jaxen.org/</url>
<properties>
<war.bundle>true</war.bundle>
+ <usage>Needed for handling XPath queries with XmlBeans.</usage>
</properties>
</dependency>
@@ -264,6 +268,7 @@
<properties>
<classloader>root</classloader>
<war.bundle>true</war.bundle>
+ <usage>Needed for running unit tests.</usage>
</properties>
</dependency>
@@ -274,6 +279,7 @@
<url>http://logging.apache.org/log4j/</url>
<properties>
<war.bundle>true</war.bundle>
+ <usage>Needed for logging.</usage>
</properties>
</dependency>
@@ -284,14 +290,51 @@
<url>http://java.sun.com/products/servlet/</url>
<properties>
<war.bundle>false</war.bundle>
+ <usage>Needed to compile our servlet.</usage>
</properties>
</dependency>
+ <dependency>
+ <groupId>xalan</groupId>
+ <artifactId>xalan</artifactId>
+ <version>2.4.1</version>
+ <url>http://xml.apache.org/xalan-j/</url>
+ <properties>
+ <war.bundle>true</war.bundle>
+ <usage>Needed for XSL and report generation.</usage>
+ </properties>
+ </dependency>
+
+ <dependency>
+ <groupId>xmlbeans</groupId>
+ <artifactId>xbean</artifactId>
+ <version>20040804.171500</version>
+ <url>http://xml.apache.org/xmlbeans/</url>
+ <properties>
+ <war.bundle>true</war.bundle>
+ <usage>Needed for handling Xml Types in a platform agnostic way.</usage>
+ </properties>
+ </dependency>
+
+ <dependency>
+ <groupId>xmlbeans</groupId>
+ <artifactId>xbean_xpath</artifactId>
+ <version>1.0.3</version>
+ <url>http://xml.apache.org/xmlbeans/</url>
+ <properties>
+ <war.bundle>true</war.bundle>
+ <usage>Needed for XmlBeans.</usage>
+ </properties>
+ </dependency>
+
<dependency>
<groupId>tomcat</groupId>
<artifactId>naming-common</artifactId>
<version>5.0.18</version>
<url>http://jakarta.apache.org/tomcat/</url>
+ <properties>
+ <usage>Needed for JNDI in-memory impl. Will use until Apache finishes dividing into its own project.</usage>
+ </properties>
</dependency>
<dependency>
@@ -299,6 +342,9 @@
<artifactId>naming-factory</artifactId>
<version>5.0.18</version>
<url>http://jakarta.apache.org/tomcat/</url>
+ <properties>
+ <usage>Needed for JNDI in-memory impl. Will use until Apache finishes dividing into its own project.</usage>
+ </properties>
</dependency>
<dependency>
@@ -306,6 +352,9 @@
<artifactId>naming-java</artifactId>
<version>5.0.18</version>
<url>http://jakarta.apache.org/tomcat/</url>
+ <properties>
+ <usage>Needed for JNDI in-memory impl. Will use until Apache finishes dividing into its own project.</usage>
+ </properties>
</dependency>
<dependency>
@@ -313,48 +362,11 @@
<artifactId>naming-resources</artifactId>
<version>5.0.18</version>
<url>http://jakarta.apache.org/tomcat/</url>
- </dependency>
-
- <dependency>
- <groupId>xalan</groupId>
- <artifactId>xalan</artifactId>
- <version>2.4.1</version>
- <url>http://xml.apache.org/xalan-j/</url>
- <properties>
- <war.bundle>true</war.bundle>
+ <properties>
+ <usage>Needed for JNDI in-memory impl. Will use until Apache finishes dividing into its own project.</usage>
</properties>
- </dependency>
-
- <dependency>
- <groupId>xmlbeans</groupId>
- <artifactId>xbean</artifactId>
- <version>20040804.171500</version>
- <url>http://xml.apache.org/xmlbeans/</url>
- <properties>
- <war.bundle>true</war.bundle>
- </properties>
- </dependency>
-
- <dependency>
- <groupId>xmlbeans</groupId>
- <artifactId>xbean_xpath</artifactId>
- <version>1.0.3</version>
- <url>http://xml.apache.org/xmlbeans/</url>
- <properties>
- <war.bundle>true</war.bundle>
- </properties>
- </dependency>
-
- <dependency>
- <groupId>xml-resolver</groupId>
- <artifactId>xml-resolver</artifactId>
- <version>1.1</version>
- <url>http://xml.apache.org/commons/components/resolver/</url>
- <properties>
- <war.bundle>true</war.bundle>
- </properties>
- </dependency>
-
+ </dependency>
+
</dependencies>
<build>
---------------------------------------------------------------------
To unsubscribe, e-mail: apollo-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: apollo-dev-help@ws.apache.org