[Jpackage-commits] rpms/free/jaxen jaxen-1.1-build.xml, 1.2, NONE jaxen-1.1-disable-mojo-plugins.patch, 1.2, NONE jaxen-1.1-duplicated-tag-reports.patch, 1.1, NONE jaxen-1.1-fix-css-path.patch, 1.2, NONE jaxen-1.1-jpp-depmap.xml, 1.2, NONE jaxen-1.1-jpp-disable-mojo-depmap.xml, 1.2, NONE jaxen-1.1.1-fix-css-path.patch, 1.2, 1.3 jaxen-1.1.1-jpp-depmap.xml, 1.2, 1.3 jaxen-1.1.1-jpp-disable-mojo-depmap.xml, 1.2, 1.3 jaxen-1.1.2-build.xml, NONE, 1.1 jaxen-1.1.2-disable-mojo-plugins.patch, NONE, 1.1 jaxen-1.1.2.pom, NONE, 1.1 jaxen-component-info.xml, 1.1, 1.2 jaxen-project_xml.patch, 1.3, 1.4 jaxen-rhel4-deps.patch, 1.2, NONE jaxen.spec, 1.5, 1.6 pom-maven2jpp-mapdeps.xsl, 1.4, 1.5

jpackage jpackage at ryu.zarb.org
Wed Jul 29 21:37:21 CEST 2009


Update of /home/projects/jpackage/cvs/rpms/free/jaxen
In directory ryu.zarb.org:/tmp/QQvhrpnuwg/rpms/free/jaxen

Modified Files:
	jaxen-component-info.xml jaxen.spec pom-maven2jpp-mapdeps.xsl 
Added Files:
	jaxen-1.1.1-fix-css-path.patch jaxen-1.1.1-jpp-depmap.xml 
	jaxen-1.1.1-jpp-disable-mojo-depmap.xml jaxen-1.1.2-build.xml 
	jaxen-1.1.2-disable-mojo-plugins.patch jaxen-1.1.2.pom 
	jaxen-project_xml.patch 
Removed Files:
	jaxen-1.1-build.xml jaxen-1.1-disable-mojo-plugins.patch 
	jaxen-1.1-duplicated-tag-reports.patch 
	jaxen-1.1-fix-css-path.patch jaxen-1.1-jpp-depmap.xml 
	jaxen-1.1-jpp-disable-mojo-depmap.xml jaxen-rhel4-deps.patch 
Log Message:
1.1.2-1.jpp6

--- NEW FILE: jaxen-1.1.1-fix-css-path.patch ---
--- ./project.properties.sav	2007-02-19 10:48:51.000000000 -0500
+++ ./project.properties	2007-02-19 10:48:46.000000000 -0500
@@ -54,7 +54,7 @@
 #     javadoc
 # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
 
-maven.javadoc.stylesheet = ./xdocs/stylesheets/javadoc-style.css
+maven.javadoc.stylesheet = ./src/doc/style/javadoc.css
 # maven.javadoc.overview = ${basedir}/src/java/main/org/blissed/overview.html
 maven.javadoc.links = \
 	http://java.sun.com/j2se/1.4.2/docs/api/

--- jaxen-1.1-duplicated-tag-reports.patch DELETED ---

--- NEW FILE: jaxen-1.1.2-build.xml ---
<?xml version="1.0" encoding="UTF-8"?>

<!--build.xml generated by maven from project.xml version 1.1
  on date February 13 2006, time 1000-->
<project default="jar" name="jaxen" basedir=".">
  <!--Load local and user build preferences-->
  <property file="build.properties"></property>
  <property file="${user.home}/build.properties"></property>
  <!--Build properties-->
  <property name="defaulttargetdir" value="${basedir}/target"></property>
  <property name="libdir" value="${user.home}/.maven/repository"></property>
  <property name="classesdir" value="${basedir}/target/classes"></property>
  <property name="testclassesdir" value="${basedir}/target/test-classes"></property>
  <property name="testreportdir" value="${basedir}/target/test-reports"></property>
  <property name="distdir" value="${basedir}/dist"></property>
  <property name="javadocdir" value="${basedir}/dist/docs/api"></property>
  <property name="final.name" value="jaxen-1.1.2"></property>
  <property name="proxy.host" value=""></property>
  <property name="proxy.port" value=""></property>
  <property name="proxy.username" value=""></property>
  <property name="proxy.password" value=""></property>
  <path id="build.classpath">
    <pathelement location="${libdir}/JPP/jars/dom4j.jar"></pathelement>
    <pathelement location="${libdir}/JPP/jars/jdom.jar"></pathelement>
    <pathelement location="${libdir}/JPP/jars/xml-commons-apis.jar"></pathelement>
    <pathelement location="${libdir}/JPP/jars/xerces-j2.jar"></pathelement>
    <pathelement location="${libdir}/JPP/jars/xom.jar"></pathelement>
    <pathelement location="${libdir}/JPP/jars/junit.jar"></pathelement>
  </path>
  <target name="init" description="o Initializes some properties">
    <mkdir dir="${libdir}"></mkdir>
    <condition property="noget">
      <equals arg2="only" arg1="${build.sysclasspath}"></equals>
    </condition>
    <!--Test if JUNIT is present in ANT classpath-->
    <available property="Junit.present" classname="junit.framework.Test"></available>
    <!--Test if user defined a proxy-->
    <condition property="useProxy">
      <and>
        <isset property="proxy.host"></isset>
        <not>
          <equals trim="true" arg2="" arg1="${proxy.host}"></equals>
        </not>
      </and>
    </condition>
  </target>
  <target name="compile" description="o Compile the code" depends="get-deps">
    <mkdir dir="${classesdir}"></mkdir>
    <javac destdir="${classesdir}" deprecation="true" debug="true" optimize="false" excludes="**/package.html">
      <src>
        <pathelement location="${basedir}/src/java/main"></pathelement>
      </src>
      <classpath refid="build.classpath"></classpath>
    </javac>
  </target>
  <target name="jar" description="o Create the jar" depends="compile,test">
    <jar jarfile="${defaulttargetdir}/${final.name}.jar" excludes="**/package.html" basedir="${classesdir}"></jar>
  </target>
  <target name="clean" description="o Clean up the generated directories">
    <delete dir="${defaulttargetdir}"></delete>
    <delete dir="${distdir}"></delete>
  </target>
  <target name="dist" description="o Create a distribution" depends="jar, javadoc">
    <mkdir dir="dist"></mkdir>
    <copy todir="dist">
      <fileset dir="${defaulttargetdir}" includes="*.jar"></fileset>
      <fileset dir="${basedir}" includes="LICENSE*, README*"></fileset>
    </copy>
  </target>
  <target name="test" description="o Run the test cases" if="test.failure" depends="internal-test">
    <fail message="There were test failures."></fail>
  </target>
  <target name="internal-test" if="Junit.present" depends="junit-present,compile-tests">
    <mkdir dir="${testreportdir}"></mkdir>
    <junit dir="${basedir}" failureproperty="test.failure" printSummary="yes" fork="true" haltonerror="true">
      <sysproperty key="basedir" value="."></sysproperty>
      <formatter type="xml"></formatter>
      <formatter usefile="false" type="plain"></formatter>
      <classpath>
        <path refid="build.classpath"></path>
        <pathelement path="${testclassesdir}"></pathelement>
        <pathelement path="${classesdir}"></pathelement>
      </classpath>
      <batchtest todir="${testreportdir}">
        <fileset dir="${basedir}/src/java/test">
          <include name="**/*Test.java"></include>
          <exclude name="org/jaxen/jdom/XPathTest.java"></exclude>
        </fileset>
      </batchtest>
    </junit>
  </target>
  <target name="junit-present" unless="Junit.present" depends="init">
    <echo>================================= WARNING ================================</echo>
    <echo>Junit isn't present in your ${ANT_HOME}/lib directory. Tests not executed.</echo>
    <echo>==========================================================================</echo>
  </target>
  <target name="compile-tests" if="Junit.present" depends="junit-present,compile">
    <mkdir dir="${testclassesdir}"></mkdir>
    <javac destdir="${testclassesdir}" deprecation="true" debug="true" optimize="false" excludes="**/package.html">
      <src>
        <pathelement location="${basedir}/src/java/test"></pathelement>
      </src>
      <classpath>
        <path refid="build.classpath"></path>
        <pathelement path="${classesdir}"></pathelement>
      </classpath>
    </javac>
    <copy todir="${testclassesdir}">
      <fileset dir="${basedir}/src/java/test">
        <include name="**/*.werk"></include>
        <include name="**/*.xml"></include>
        <include name="**/*.properties"></include>
      </fileset>
    </copy>
  </target>
  <target name="javadoc" description="o Generate javadoc" depends="get-deps">
    <mkdir dir="${javadocdir}"></mkdir>
    <tstamp>
      <format pattern="2001-yyyy" property="year"></format>
    </tstamp>
    <property name="copyright" value="Copyright &copy;  Codehaus. All Rights Reserved."></property>
    <property name="title" value="jaxen 1.1.2 API"></property>
    <javadoc use="true" private="true" destdir="${javadocdir}" author="true" version="true" sourcepath="${basedir}/src/java/main" packagenames="org.jaxen.*">
      <classpath>
        <path refid="build.classpath"></path>
      </classpath>
    </javadoc>
  </target>
  <target name="get-dep-dom4j.jar" description="o Download the dependency : dom4j.jar" unless="dom4j.jar" depends="init,setProxy,noProxy,get-custom-dep-dom4j.jar">
    <mkdir dir="${libdir}/JPP/jars/"></mkdir>
    <get dest="${libdir}/JPP/jars/dom4j.jar" usetimestamp="true" ignoreerrors="true" src="file:/usr/share/maven/repository/JPP/jars/dom4j.jar"></get>
  </target>
  <target name="get-custom-dep-dom4j.jar" if="dom4j.jar" depends="init,setProxy,noProxy">
    <mkdir dir="${libdir}/JPP/jars/"></mkdir>
    <get dest="${libdir}/JPP/jars/dom4j.jar" usetimestamp="true" ignoreerrors="true" src="${dom4j.jar}"></get>
  </target>
  <target name="get-dep-jdom.jar" description="o Download the dependency : jdom.jar" unless="jdom.jar" depends="init,setProxy,noProxy,get-custom-dep-jdom.jar">
    <mkdir dir="${libdir}/JPP/jars/"></mkdir>
    <get dest="${libdir}/JPP/jars/jdom.jar" usetimestamp="true" ignoreerrors="true" src="file:/usr/share/maven/repository/JPP/jars/jdom.jar"></get>
  </target>
  <target name="get-custom-dep-jdom.jar" if="jdom.jar" depends="init,setProxy,noProxy">
    <mkdir dir="${libdir}/JPP/jars/"></mkdir>
    <get dest="${libdir}/JPP/jars/jdom.jar" usetimestamp="true" ignoreerrors="true" src="${jdom.jar}"></get>
  </target>
  <target name="get-dep-xmlParserAPIs.jar" description="o Download the dependency : xmlParserAPIs.jar" unless="xmlParserAPIs.jar" depends="init,setProxy,noProxy,get-custom-dep-xmlParserAPIs.jar">
    <mkdir dir="${libdir}/JPP/jars/"></mkdir>
    <get dest="${libdir}/JPP/jars/xml-commons-apis.jar" usetimestamp="true" ignoreerrors="true" src="file:/usr/share/maven/repository/JPP/jars/xml-commons-apis.jar"></get>
  </target>
  <target name="get-custom-dep-xmlParserAPIs.jar" if="xmlParserAPIs.jar" depends="init,setProxy,noProxy">
    <mkdir dir="${libdir}/JPP/jars/"></mkdir>
    <get dest="${libdir}/JPP/jars/xml-commons-apis.jar" usetimestamp="true" ignoreerrors="true" src="${xmlParserAPIs.jar}"></get>
  </target>
  <target name="get-dep-xercesImpl.jar" description="o Download the dependency : xercesImpl.jar" unless="xercesImpl.jar" depends="init,setProxy,noProxy,get-custom-dep-xercesImpl.jar">
    <mkdir dir="${libdir}/JPP/jars/"></mkdir>
    <get dest="${libdir}/JPP/jars/xerces-j2.jar" usetimestamp="true" ignoreerrors="true" src="file:/usr/share/maven/repository/JPP/jars/xerces-j2.jar"></get>
  </target>
  <target name="get-custom-dep-xercesImpl.jar" if="xercesImpl.jar" depends="init,setProxy,noProxy">
    <mkdir dir="${libdir}/JPP/jars/"></mkdir>
    <get dest="${libdir}/JPP/jars/xerces-j2.jar" usetimestamp="true" ignoreerrors="true" src="${xercesImpl.jar}"></get>
  </target>
  <target name="get-dep-xom.jar" description="o Download the dependency : xom.jar" unless="xom.jar" depends="init,setProxy,noProxy,get-custom-dep-xom.jar">
    <mkdir dir="${libdir}/JPP/jars/"></mkdir>
    <get dest="${libdir}/JPP/jars/xom.jar" usetimestamp="true" ignoreerrors="true" src="file:/usr/share/maven/repository/JPP/jars/xom.jar"></get>
  </target>
  <target name="get-custom-dep-xom.jar" if="xom.jar" depends="init,setProxy,noProxy">
    <mkdir dir="${libdir}/JPP/jars/"></mkdir>
    <get dest="${libdir}/JPP/jars/xom.jar" usetimestamp="true" ignoreerrors="true" src="${xom.jar}"></get>
  </target>
  <target name="get-dep-junit.jar" description="o Download the dependency : junit.jar" unless="junit.jar" depends="init,setProxy,noProxy,get-custom-dep-junit.jar">
    <mkdir dir="${libdir}/JPP/jars/"></mkdir>
    <get dest="${libdir}/JPP/jars/junit.jar" usetimestamp="true" ignoreerrors="true" src="file:/usr/share/maven/repository/JPP/jars/junit.jar"></get>
  </target>
  <target name="get-custom-dep-junit.jar" if="junit.jar" depends="init,setProxy,noProxy">
    <mkdir dir="${libdir}/JPP/jars/"></mkdir>
    <get dest="${libdir}/JPP/jars/junit.jar" usetimestamp="true" ignoreerrors="true" src="${junit.jar}"></get>
  </target>
  <target name="get-deps" unless="noget" depends="get-dep-dom4j.jar,get-dep-jdom.jar,get-dep-xmlParserAPIs.jar,get-dep-xercesImpl.jar,get-dep-xom.jar,get-dep-junit.jar"></target>
  <target name="setProxy" if="useProxy" depends="init">
    <!--Proxy settings works only with a JDK 1.2 and higher.-->
    <echo>Proxy used :</echo>
    <echo>Proxy host [${proxy.host}]</echo>
    <echo>Proxy port [${proxy.port}]</echo>
    <echo>Proxy user [${proxy.username}]</echo>
    <setproxy proxyuser="${proxy.username}" proxyport="${proxy.port}" proxypassword="${proxy.password}" proxyhost="${proxy.host}"></setproxy>
  </target>
  <target name="noProxy" unless="useProxy" depends="init">
    <echo>Proxy not used.</echo>
  </target>
  <target name="install-maven">
    <get dest="${user.home}/maven-install-latest.jar" usetimestamp="true" src="${repo}/maven/maven-install-latest.jar"></get>
    <unjar dest="${maven.home}" src="${user.home}/maven-install-latest.jar"></unjar>
  </target>
</project>

--- NEW FILE: jaxen-1.1.2-disable-mojo-plugins.patch ---
--- project.xml.sav3	2009-07-29 14:17:07.000000000 -0400
+++ project.xml	2009-07-29 14:18:34.000000000 -0400
@@ -241,7 +241,9 @@
   <reports>
      <report>maven-jdepend-plugin</report>
      <report>maven-checkstyle-plugin</report>
+<!--
      <report>maven-cobertura-plugin</report>
+-->
 <!--
      <report>maven-changelog-plugin</report>
 -->
@@ -255,7 +257,6 @@
      <report>maven-junit-report-plugin</report>
      <report>maven-linkcheck-plugin</report>
      <report>maven-pmd-plugin</report> 
-     <report>maven-findbugs-plugin</report> 
    <!-- commenting out until they fix their repository  <report>jutils-lint4j-plugin</report> -->
    <!--  <report>maven-hammurapi-plugin</report> -->
   </reports>
@@ -309,7 +310,9 @@
       <version>1.5</version>
       <type>plugin</type>
     </dependency>
+-->
     
+<!--
     <dependency>
       <groupId>maven-plugins</groupId>
       <artifactId>maven-findbugs-plugin</artifactId>

Index: jaxen.spec
===================================================================
RCS file: /home/projects/jpackage/cvs/rpms/free/jaxen/jaxen.spec,v
retrieving revision 1.5
retrieving revision 1.6
diff -C 2 -d -r1.5 -r1.6
*** jaxen.spec	21 Jun 2008 12:27:00 -0000	1.5
--- jaxen.spec	29 Jul 2009 19:37:19 -0000	1.6
***************
*** 29,120 ****
  #
  
! # If you want repolib package to be built,
! # issue the following: 'rpmbuild --with repolib'
! 
! %define _with_repolib 1
! %define _without_sf_plugins 1
  
! %define with_repolib %{?_with_repolib:1}%{!?_with_repolib:0}
! %define without_repolib %{!?_with_repolib:1}%{?_with_repolib:0}
  
! %define repodir %{_javadir}/repository.jboss.com/jaxen/1.1-brew
  %define repodirlib %{repodir}/lib
  %define repodirsrc %{repodir}/src
  
! # If you don't want to build with maven, and use straight ant instead,
! # give rpmbuild option '--without maven'
! 
! %define _without_maven 1
! %define with_maven %{!?_without_maven:1}%{?_without_maven:0}
! %define without_maven %{?_without_maven:1}%{!?_without_maven:0}
! 
! # If you don't want the manual to be built, give rpmbuild option '--without manual'
! %define with_manual %{!?_without_manual:1}%{?_without_manual:0}
! %define without_manual %{?_without_manual:1}%{!?_without_manual:0}
! 
! # Specify --without sf_plugins to build wihout them
! %define with_sf_plugins %{!?_without_sf_plugins:1}%{?_without_sf_plugins:0}
! %define without_sf_plugins %{?_without_sf_plugins:1}%{!?_without_sf_plugins:0}
  
! %define section	free
  
! Name:		jaxen
! Version:	1.1
! Release:	2%{?dist}
! Epoch:		0
! Summary:        An XPath engine written in Java
  License:        Open Source
  Url:            http://jaxen.codehaus.org/
  Group:          Development/Libraries/Java
! Source0:	http://dist.codehaus.org/jaxen/distributions/jaxen-1.1-src.tar.gz
  Source1:        pom-maven2jpp-mapdeps.xsl
! Source2:        %{name}-%{version}-jpp-depmap.xml
! Source3:        %{name}-%{version}-jpp-disable-mojo-depmap.xml
! Source4:        %{name}-%{version}-build.xml
! Source5:	jaxen-component-info.xml
! 
! Patch0:		jaxen-rhel4-deps.patch
! Patch1:         %{name}-%{version}-fix-css-path.patch
! Patch2:         %{name}-%{version}-disable-mojo-plugins.patch
! Patch3:		jaxen-1.1-duplicated-tag-reports.patch
! 
! Requires:	dom4j >= 0:1.6.1
! Requires:	jdom >= 0:1.0-0.rc1.1jpp
! Requires:	xalan-j2
! Requires:	xerces-j2
! Requires:	xom
! BuildRequires:  ant >= 0:1.6, jpackage-utils >= 0:1.6, junit
! BuildRequires:  ant-nodeps
! %if %{with_maven}
! BuildRequires:	maven >= 0:1.1, saxon, saxon-scripts
! BuildRequires:	maven-plugins-base >= 0:1.1
! BuildRequires:	maven-plugin-changes >= 0:1.1
! BuildRequires:	maven-plugin-changelog >= 0:1.1
! BuildRequires:	maven-plugin-checkstyle >= 0:1.1
! BuildRequires:	maven-plugin-file-activity >= 0:1.1
! BuildRequires:	maven-plugin-developer-activity >= 0:1.1
! BuildRequires:	maven-plugin-jdepend >= 0:1.1
! BuildRequires:	maven-plugin-jxr >= 0:1.1
! BuildRequires:	maven-plugin-license >= 0:1.1
! BuildRequires:	maven-plugin-linkcheck >= 0:1.1
! BuildRequires:	maven-plugin-pmd >= 0:1.1
! BuildRequires:	maven-plugin-tasklist >= 0:1.1
! BuildRequires:	maven-plugin-test >= 0:1.1
! BuildRequires:	maven-plugin-xdoc >= 0:1.1
! BuildRequires:	xml-commons-jaxp-1.3-apis
! %if %{with_sf_plugins}
! BuildRequires:	sf-cobertura-maven-plugin
! BuildRequires:	sf-findbugs-maven-plugin
  %endif
  %endif
! BuildRequires:	dom4j >= 0:1.6.1
! BuildRequires:	jdom >= 0:1.0-0.rc1.1jpp
! BuildRequires:	xalan-j2
! BuildRequires:	xerces-j2
! BuildRequires:	xom
! Provides:	jaxen-bootstrap
! Obsoletes:	jaxen-bootstrap
! BuildArch:	noarch
! BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root
  
  %description
--- 29,119 ----
  #
  
! %define with()          %{expand:%%{?with_%{1}:1}%%{!?with_%{1}:0}}
! %define without()       %{expand:%%{?with_%{1}:0}%%{!?with_%{1}:1}}
! %define bcond_with()    %{expand:%%{?_with_%{1}:%%global with_%{1} 1}}
! %define bcond_without() %{expand:%%{!?_without_%{1}:%%global with_%{1} 1}}
  
! %bcond_with gcj_support
! %bcond_with maven
! %bcond_with manual
! %bcond_without repolib
! %bcond_with sf_plugins
  
! %define repodir %{_javadir}/repository.jboss.com/jaxen/%{version}-brew
  %define repodirlib %{repodir}/lib
  %define repodirsrc %{repodir}/src
  
! %if %with gcj_support
! %define gcj_support 1
! %else
! %define gcj_support 0
! %endif
  
! %define section free
  
! Name:           jaxen
! Version:        1.1.2
! Release:        1%{?dist}
! Epoch:          0
! Summary:        XPath engine written in Java
  License:        Open Source
  Url:            http://jaxen.codehaus.org/
  Group:          Development/Libraries/Java
! Source0:        http://dist.codehaus.org/jaxen/distributions/jaxen-1.1.2-src.tar.gz
  Source1:        pom-maven2jpp-mapdeps.xsl
! Source2:        %{name}-1.1.1-jpp-depmap.xml
! Source3:        %{name}-1.1.1-jpp-disable-mojo-depmap.xml
! Source4:        %{name}-1.1.2-build.xml
! Source5:        http://dist.codehaus.org/jaxen/poms/jaxen-1.1.2.pom
! Source6:        jaxen-component-info.xml
! Patch0:         jaxen-project_xml.patch
! Patch1:         %{name}-1.1.1-fix-css-path.patch
! Patch2:         %{name}-1.1.2-disable-mojo-plugins.patch
! Requires(post): jpackage-utils >= 0:1.7.3
! Requires(postun): jpackage-utils >= 0:1.7.3
! Requires:       dom4j >= 0:1.6.1
! Requires:       jdom >= 0:1.0-1
! Requires:       xalan-j2
! Requires:       xerces-j2
! Requires:       xom
! BuildRequires:  jpackage-utils >= 0:1.7.3
! BuildRequires:  ant >= 0:1.6.5
! BuildRequires:  junit
! %if %with maven
! BuildRequires:  maven >= 0:1.1
! BuildRequires:  saxon
! BuildRequires:  saxon-scripts
! BuildRequires:  maven-plugins-base >= 0:1.1
! BuildRequires:  maven-plugin-changes >= 0:1.1
! BuildRequires:  maven-plugin-checkstyle >= 0:1.1
! BuildRequires:  maven-plugin-file-activity >= 0:1.1
! BuildRequires:  maven-plugin-developer-activity >= 0:1.1
! BuildRequires:  maven-plugin-jdepend >= 0:1.1
! BuildRequires:  maven-plugin-jxr >= 0:1.1
! BuildRequires:  maven-plugin-license >= 0:1.1
! BuildRequires:  maven-plugin-linkcheck >= 0:1.1
! BuildRequires:  maven-plugin-pmd >= 0:1.1
! BuildRequires:  maven-plugin-tasklist >= 0:1.1
! BuildRequires:  maven-plugin-test >= 0:1.1
! BuildRequires:  maven-plugin-xdoc >= 0:1.1
! BuildRequires:  xml-commons-jaxp-1.3-apis
! %if %with sf_plugins
! BuildRequires:  sf-cobertura-maven-plugin
! BuildRequires:  sf-findbugs-maven-plugin
  %endif
  %endif
! BuildRequires:  dom4j >= 0:1.6.1
! BuildRequires:  jdom >= 0:1.0-1
! BuildRequires:  xalan-j2
! BuildRequires:  xerces-j2
! BuildRequires:  xom
! Provides:       jaxen-bootstrap = %{epoch}:%{version}-%{release}
! Obsoletes:      jaxen-bootstrap < %{epoch}:%{version}-%{release}
! %if %{gcj_support}
! BuildRequires:  java-gcj-compat-devel
! %else
! BuildArch:      noarch
! %endif
! BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root
  
  %description
***************
*** 123,142 ****
  Beans.
  
! %if %{with_repolib}
! %package repolib
! Summary:	Artifacts to be uploaded to a repository library
! Group:		Development/Libraries/Java
! 
! %description repolib
! Artifacts to be uploaded to a repository library.
! This package is not meant to be installed but so its contents
! can be extracted through rpm2cpio
! %endif
! 
! %if %{with_maven}
! %if %{with_manual}
  %package manual
! Summary:	Documents for %{name}
! Group:		Development/Documentation
  
  %description manual
--- 122,130 ----
  Beans.
  
! %if %with maven
! %if %with manual
  %package manual
! Summary:        Documents for %{name}
! Group:          Development/Documentation
  
  %description manual
***************
*** 146,152 ****
  
  %package demo
! Summary:	Samples for %{name}
! Group:		Development/Documentation
! Requires:	jaxen = 0:%{version}-%{release}
  
  %description demo
--- 134,140 ----
  
  %package demo
! Summary:        Samples for %{name}
! Group:          Development/Documentation
! Requires:       jaxen = %{epoch}:%{version}-%{release}
  
  %description demo
***************
*** 154,205 ****
  
  %package javadoc
! Summary:	Javadoc for %{name}
! Group:		Development/Documentation
  
  %description javadoc
  %{summary}.
  
! %prep
! cat <<EOT
! 
!                 If you dont want to build with maven,
!                 give rpmbuild option '--without maven'
! 
!                 If you dont want the manual to be built,
!                 give rpmbuild option '--without manual'
! 
! EOT
  
! %setup -q -n %{name}-%{version}
! find . -name "*.jar" -exec rm -f {} \;
! %if %{with_maven}
! cp %{SOURCE4} build.xml
  %endif
  
! %patch0 -b .sav
! %patch1 -b .sav
! %if %{without_sf_plugins}
! %patch2 -b .sav
! %endif
  
! %patch3 -p1
  
! tag=`echo %{name}-%{version}-%{release} | sed 's|\.|_|g'`
! sed -i "s/@TAG@/$tag/g" %{SOURCE5}
  
  %build
! %if %{with_maven}
  for p in $(find . -name project.xml); do
      pushd $(dirname $p)
      cp project.xml project.xml.orig
!     /usr/bin/saxon -o project.xml project.xml.orig %{SOURCE1} map=%{SOURCE2}
      popd
  done
  
! %if %{without_sf_plugins}
  for p in $(find . -name project.xml); do
      pushd $(dirname $p)
      cp project.xml project.xml.orig
!     /usr/bin/saxon -o project.xml project.xml.orig %{SOURCE1} map=%{SOURCE3}
      popd
  done
--- 142,188 ----
  
  %package javadoc
! Summary:        Javadoc for %{name}
! Group:          Development/Documentation
  
  %description javadoc
  %{summary}.
  
! %if %with repolib
! %package repolib
! Summary:        Artifacts to be uploaded to a repository library
! Group:          Development/Libraries/Java
  
! %description repolib
! Artifacts to be uploaded to a repository library.
! This package is not meant to be installed but so its contents
! can be extracted through rpm2cpio.
  %endif
  
! %prep
! %setup -q
! %{__perl} -pi -e 's/\r$//g' LICENSE.txt
  
! cp -p %{SOURCE4} build.xml
  
! %patch0 -b .sav0
! %patch1 -b .sav1
! %if %without sf_plugins
! %patch2 -b .sav2
! %endif
  
  %build
! %if %with maven
  for p in $(find . -name project.xml); do
      pushd $(dirname $p)
      cp project.xml project.xml.orig
!     %{_bindir}/saxon -o project.xml project.xml.orig %{SOURCE1} map=%{SOURCE2}
      popd
  done
  
! %if %without sf_plugins
  for p in $(find . -name project.xml); do
      pushd $(dirname $p)
      cp project.xml project.xml.orig
!     %{_bindir}/saxon -o project.xml project.xml.orig %{SOURCE1} map=%{SOURCE3}
      popd
  done
***************
*** 208,212 ****
  mkdir .maven
  
! %if %{with_manual}
  maven \
          -Dmaven.repo.remote=file:/usr/share/maven/repository \
--- 191,195 ----
  mkdir .maven
  
! %if %with manual
  maven \
          -Dmaven.repo.remote=file:/usr/share/maven/repository \
***************
*** 220,243 ****
  %endif
  %else
! ant jar javadoc
  %endif
  
- 
  %install
! %{__rm} -rf %{buildroot}
  
  # jars
! install -d -m 755 $RPM_BUILD_ROOT%{_javadir}
! install -m 644 target/jaxen-1.1.jar \
! $RPM_BUILD_ROOT%{_javadir}/%{name}-%{version}.jar
  
! (cd $RPM_BUILD_ROOT%{_javadir} && for jar in *-%{version}*; do \
! ln -sf ${jar} ${jar/-%{version}/}; done)
  
  # javadoc
! install -d -m 755 $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}
! %if %{with_maven}
  cp -pr target/docs/apidocs/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}
- rm -rf target/docs/apidocs
  %else
  cp -pr dist/docs/api/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}
--- 203,236 ----
  %endif
  %else
! export CLASSPATH=$(build-classpath dom4j jdom xerces-j2 xml-commons-jaxp-1.3-apis xom)
! export OPT_JAR_LIST=:
! %{ant} jar javadoc
  %endif
  
  %install
! rm -rf $RPM_BUILD_ROOT
  
  # jars
! install -d -m 0755 $RPM_BUILD_ROOT%{_javadir}
! install -p -m 0644 target/%{name}-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}-%{version}.jar
! %add_to_maven_depmap %{name} %{name} %{version} JPP %{name}
! %add_to_maven_depmap saxpath saxpath %{version} JPP %{name}
  
! pushd $RPM_BUILD_ROOT%{_javadir}
! ln -sf jaxen-%{version}.jar saxpath-%{version}.jar
! for jar in *-%{version}.jar; do
!         ln -sf ${jar} `echo $jar| sed "s|-%{version}\.jar|.jar|g"`;
! done
! popd
! 
! # poms
! install -d -m 0755 $RPM_BUILD_ROOT%{_datadir}/maven2/poms
! install -p -m 0644 %{SOURCE5} $RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP-%{name}.pom
  
  # javadoc
! install -d -m 0755 $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}
! 
! %if %with maven
  cp -pr target/docs/apidocs/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}
  %else
  cp -pr dist/docs/api/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}
***************
*** 248,254 ****
  install -d -m 755 $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
  cp -p LICENSE.txt $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
! %if %{with_maven}
! %if %{with_manual}
  cp -pr target/docs/* $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
  %endif
  %endif
--- 241,248 ----
  install -d -m 755 $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
  cp -p LICENSE.txt $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
! %if %with maven
! %if %with manual
  cp -pr target/docs/* $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
+ rm -rf $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/apidocs/
  %endif
  %endif
***************
*** 258,285 ****
  cp -pr src/java/samples/* $RPM_BUILD_ROOT%{_datadir}/%{name}-%{version}/samples
  
! 
! %if %{with_repolib}
! 	install -d -m 755 $RPM_BUILD_ROOT%{repodir}
! 	install -d -m 755 $RPM_BUILD_ROOT%{repodirlib}
! 	install -m 755 %{SOURCE5} $RPM_BUILD_ROOT%{repodir}/component-info.xml
! 	install -d -m 755 $RPM_BUILD_ROOT%{repodirsrc}
! 	install -m 755 %{SOURCE0} $RPM_BUILD_ROOT%{repodirsrc}
! 	install -m 755 %{PATCH2} $RPM_BUILD_ROOT%{repodirsrc}
! 	cp $RPM_BUILD_ROOT%{_javadir}/jaxen.jar $RPM_BUILD_ROOT%{repodirlib}
! %if %{with_maven}
! 	install -m 755 %{SOURCE4} $RPM_BUILD_ROOT%{repodirsrc}
  %endif
  %endif
  
  %clean
  rm -rf $RPM_BUILD_ROOT
  
  %files
  %defattr(0644,root,root,0755)
! %{_docdir}/%{name}-%{version}/LICENSE.txt
! %{_javadir}/*
  
! %if %{with_maven}
! %if %{with_manual}
  %files manual
  %defattr(0644,root,root,0755)
--- 252,319 ----
  cp -pr src/java/samples/* $RPM_BUILD_ROOT%{_datadir}/%{name}-%{version}/samples
  
! %if %with repolib
! install -d -m 0755 $RPM_BUILD_ROOT%{repodir}
! install -d -m 0755 $RPM_BUILD_ROOT%{repodirlib}
! install -d -m 0755 $RPM_BUILD_ROOT%{repodirsrc}
! %{__install} -p -m 0644 %{SOURCE6} %{buildroot}%{repodir}/component-info.xml
! tag=`/bin/echo %{name}-%{version}-%{release} | %{__sed} 's|\.|_|g'`
! %{__sed} -i "s/@TAG@/$tag/g" %{buildroot}%{repodir}/component-info.xml
! %{__sed} -i "s/@VERSION@/%{version}-brew/g" %{buildroot}%{repodir}/component-info.xml
! install -p -m 0644 %{SOURCE0} $RPM_BUILD_ROOT%{repodirsrc}
! install -p -m 0644 %{SOURCE1} $RPM_BUILD_ROOT%{repodirsrc}
! install -p -m 0644 %{SOURCE2} $RPM_BUILD_ROOT%{repodirsrc}
! install -p -m 0644 %{SOURCE3} $RPM_BUILD_ROOT%{repodirsrc}
! install -p -m 0644 %{SOURCE4} $RPM_BUILD_ROOT%{repodirsrc}
! install -p -m 0644 %{SOURCE5} $RPM_BUILD_ROOT%{repodirsrc}
! install -p -m 0644 %{PATCH0} $RPM_BUILD_ROOT%{repodirsrc}
! install -p -m 0644 %{PATCH1} $RPM_BUILD_ROOT%{repodirsrc}
! install -p -m 0644 %{PATCH2} $RPM_BUILD_ROOT%{repodirsrc}
! cp -p $RPM_BUILD_ROOT%{_javadir}/jaxen.jar $RPM_BUILD_ROOT%{repodirlib}/jaxen.jar
! %if %with maven
! install -m 755 %{SOURCE4} $RPM_BUILD_ROOT%{repodirsrc}/
  %endif
  %endif
  
+ %if %{gcj_support}
+ %{_bindir}/aot-compile-rpm
+ %endif
+ 
  %clean
  rm -rf $RPM_BUILD_ROOT
  
+ %post
+ %update_maven_depmap
+ %if %{gcj_support}
+ if [ -x %{_bindir}/rebuild-gcj-db ]
+ then
+   %{_bindir}/rebuild-gcj-db
+ fi
+ %endif
+ 
+ %postun
+ %update_maven_depmap
+ %if %{gcj_support}
+ if [ -x %{_bindir}/rebuild-gcj-db ]
+ then
+   %{_bindir}/rebuild-gcj-db
+ fi
+ %endif
+ 
  %files
  %defattr(0644,root,root,0755)
! %doc %{_docdir}/%{name}-%{version}/LICENSE.txt
! %{_javadir}/%{name}-%{version}.jar
! %{_javadir}/%{name}.jar
! %{_javadir}/saxpath-%{version}.jar
! %{_javadir}/saxpath.jar
! %{_datadir}/maven2/poms/JPP-%{name}.pom
! %{_mavendepmapfragdir}/%{name}
! %if %{gcj_support}
! %dir %{_libdir}/gcj/%{name}
! %attr(-,root,root) %{_libdir}/gcj/%{name}/%{name}-%{version}.jar.*
! %endif
  
! %if %with maven
! %if %with manual
  %files manual
  %defattr(0644,root,root,0755)
***************
*** 291,295 ****
  %defattr(0644,root,root,0755)
  %{_javadocdir}/%{name}-%{version}
! %ghost %doc %{_javadocdir}/%{name}
  
  %files demo
--- 325,329 ----
  %defattr(0644,root,root,0755)
  %{_javadocdir}/%{name}-%{version}
! %{_javadocdir}/%{name}
  
  %files demo
***************
*** 297,327 ****
  %{_datadir}/%{name}-%{version}
  
! 
! %if %{with_repolib}
  %files repolib
  %defattr(0644,root,root,0755)
! %{repodir}
  %endif
  
  %changelog
! * Mon Jun 02 2008 Permaine Cheung <pcheung at redhat.com> - 0:1.1-2
! - Use original build.xml if building with ant
! - First JPP5 build
  
! * Tue Apr 15 2008 David Walluck <dwalluck at redhat.com> 0:1.1-1jpp.ep1.3
! - patch for duplicated reports tag
! - add BuildRequires for all maven plugins that are used
! - fix BuildRoot
! - BuildRoot should be removed in %%install, not %%prep
! - remove javadoc scriptlets
  
! * Tue Mar 13 2007 Vivek Lakshmanan <vivekl at redhat.com> - 0:1.1-1jpp.ep1.2
! - Fix repolib location
  
! * Tue Mar 13 2007 Fernando Nasser <fnasser at redhat.com> - 0:1.1-1jpp.ep1.1
! - Rebuild
  
! * Mon Feb 19 2007 Vivek Lakshmanan <vivekl at redhat.com> - 0:1.1-1jpp.el4ep1.1
! - Add repolib support
  
  * Sat Feb 17 2007 Fernando Nasser <fnasser at redhat.com> - 0:1.1-1jpp
--- 331,359 ----
  %{_datadir}/%{name}-%{version}
  
! %if %with repolib
  %files repolib
  %defattr(0644,root,root,0755)
! %{_javadir}/repository.jboss.com
  %endif
  
  %changelog
! * Wed Jul 29 2009 David Walluck <dwalluck at redhat.com> 0:1.1.2-1
! - 1.1.2
  
! * Fri Dec 21 2007 Ralph Apel <r.apel at r-apel.de> 0:1.1.1-1jpp
! - 1.1.1
! - Add pom and depmap frag
  
! * Fri Nov 16 2007 Ralph Apel <r.apel at r-apel.de> 0:1.1-4jpp
! - Provide saxpath legacy symlink
  
! * Fri May 04 2007 Ralph Apel <r.apel at r-apel.de> 0:1.1-3jpp
! - Fix project_xml.patch to meet depmap processing
! - Add maven-plugin-checkstyle, -jxr, -linkcheck, -pmd BRs
  
! * Wed Feb 21 2007 Ralph Apel <r.apel at r-apel.de> 0:1.1-2jpp
! - Fix patches
! - Add gcj_support option
! - Drop echoing of options in prep
  
  * Sat Feb 17 2007 Fernando Nasser <fnasser at redhat.com> - 0:1.1-1jpp

--- jaxen-1.1-fix-css-path.patch DELETED ---

--- NEW FILE: jaxen-project_xml.patch ---
--- project.xml.sav	2008-12-02 21:57:05.000000000 -0500
+++ project.xml	2009-07-29 14:10:37.000000000 -0400
@@ -242,7 +242,9 @@
      <report>maven-jdepend-plugin</report>
      <report>maven-checkstyle-plugin</report>
      <report>maven-cobertura-plugin</report>
+<!--
      <report>maven-changelog-plugin</report>
+-->
      <report>maven-developer-activity-plugin</report>
      <!-- file activity seems broken by move to subversion; links still
           point to CVS; I don't know why -->
@@ -293,6 +295,7 @@
       <version>1.0</version>
     </dependency>
 
+<!--
     <dependency>
       <groupId>maven-plugins</groupId>
       <artifactId>maven-cobertura-plugin</artifactId>
@@ -300,12 +303,12 @@
       <type>plugin</type>
     </dependency>
     
-<!--    <dependency>
+    <dependency>
       <groupId>maven-plugins</groupId>
       <artifactId>maven-latex-plugin</artifactId>
       <version>1.5</version>
       <type>plugin</type>
-    </dependency> -->
+    </dependency>
     
     <dependency>
       <groupId>maven-plugins</groupId>
@@ -314,19 +317,20 @@
       <type>plugin</type>
     </dependency>
 
-<!--    <dependency>
+    <dependency>
       <groupId>lint4j</groupId>
       <artifactId>jutils-lint4j-plugin</artifactId>
       <version>1.1</version>
       <type>plugin</type>
-    </dependency> -->
+    </dependency>
 
- <!--   <dependency>
+    <dependency>
       <groupId>org.hammurapi</groupId>
       <artifactId>maven-hammurapi-plugin</artifactId>
       <version>1.0</version>
       <type>plugin</type>
-    </dependency> -->
+    </dependency>
+-->
   </dependencies>
 
   <build>

--- jaxen-rhel4-deps.patch DELETED ---

--- NEW FILE: jaxen-1.1.2.pom ---
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:noNamespaceSchemaLocation="http://maven.apache.org/xsd/maven-project-3.0.0.xsd">

  <pomVersion>3</pomVersion>
  <id>jaxen</id>
  <name>jaxen</name>
  <currentVersion>1.1.2</currentVersion>

  <organization>
    <name>Codehaus</name>
    <url>http://codehaus.org</url>
    <logo>http://codehaus.org/codehaus-small.gif</logo>
  </organization>
  <inceptionYear>2001</inceptionYear>
  <package>org.jaxen</package>


  <logo>./jaxen.gif</logo>
  <description>
  Jaxen is a universal Java XPath engine.
  </description>
  <shortDescription>Universal Java XPath Engine</shortDescription>

  <url>http://jaxen.codehaus.org/</url>

  <issueTrackingUrl>http://jira.codehaus.org/BrowseProject.jspa?id=10022</issueTrackingUrl>
  <siteAddress>jaxen.codehaus.org</siteAddress>
  <siteDirectory>/home/projects/jaxen/public_html</siteDirectory>
  <distributionDirectory>/dist</distributionDirectory>
  
  <repository>
    <connection>scm:svn:https://svn.codehaus.org/jaxen/trunk/jaxen/</connection>
    <url>http://fisheye.codehaus.org/browse/jaxen/</url>
  </repository>
  
  <mailingLists>
    <mailingList>
        <name>Jaxen Users List</name>
        <subscribe>user-subscribe at jaxen.codehaus.org</subscribe>
        <unsubscribe>user-unsubscribe at jaxen.codehaus.org</unsubscribe>
        <archive>http://archive.jaxen.codehaus.org/user/</archive>
    </mailingList>
    <mailingList>
        <name>Jaxen Developers List</name>
        <subscribe>dev-subscribe at jaxen.codehaus.org</subscribe>
        <unsubscribe>dev-unsubscribe at jaxen.codehaus.org</unsubscribe>
        <archive>http://archive.jaxen.codehaus.org/dev/</archive>
    </mailingList>
    <mailingList>
        <name>Jaxen CVS Commits List</name>
        <subscribe>scm-subscribe at jaxen.codehaus.org</subscribe>
        <unsubscribe>scm-unsubscribe at jaxen.codehaus.org</unsubscribe>
        <archive>http://archive.jaxen.codehaus.org/scm/</archive>
    </mailingList>
    <!-- <mailingList>
        <name>Jaxen Announcement List</name>
        <subscribe>announce-subscribe at jaxen.codehaus.org</subscribe>
        <unsubscribe>announce-unsubscribe at jaxen.codehaus.org</unsubscribe>
        <archive>http://archive.jaxen.codehaus.org/announce/</archive>
    </mailingList> -->
  </mailingLists>


  <developers>

    <developer>
      <name>Bob McWhirter</name>
      <id>bob</id>
      <email>bob at eng.werken.com</email>
      <organization>The Werken Company</organization>
    </developer>

    <developer>
      <name>James Strachan</name>
      <id>jstrachan</id>
      <email>james_strachan at yahoo.co.uk</email>
      <organization>Spiritsoft</organization>
    </developer>

    <developer>
      <name>David Megginson</name>
      <id>dmegginson</id>
      <email>contact at megginson.com</email>
      <organization>Megginson Technologies</organization>
    </developer>

    <developer>
      <name>Erwin Bolwidt</name> 
      <id>eboldwidt</id>
      <email>erwin at klomp.org</email>
    </developer>

    <developer>
      <name>Mark A. Belonga</name>
      <id>mbelonga</id>
      <email>mbelonga at users.sourceforge.net</email>
    </developer>

    <developer>
      <name>Christian Nentwich</name>
      <!-- <id>xcut</id> -->
      <id>cnentwich</id>
      <email>xcut at users.sourceforge.net</email>
    </developer>

    <developer>
      <name>Alexander Day Chaffee</name>
      <id>purpletech</id>
      <email>purpletech at users.sourceforge.net</email>
      <organization>Purple Technologies</organization>
    </developer>

    <developer>
      <name>Jan Dvorak</name>
      <id>jdvorak</id>
      <email>jdvorak at users.sourceforge.net</email>
    </developer>

    <developer>
      <name>Attila Szegedi</name>
      <id>szegedia</id>
      <email>szegedia at users.sourceforge.net</email>
    </developer>

    <developer>
      <name>Peter Royal</name>
      <id>proyal</id>
      <email>peter.royal at pobox.com</email>
      <url>http://fotap.org/~osi</url>
    </developer>

    <developer>
      <name>Scott Sanders</name>
      <id>ssanders</id>
      <email>scott at dotnot.org</email>
      <organization>dotnot</organization>
      <url>http://dotnot.org/blog</url>
    </developer>

    <developer>
      <name>Brian Ewins</name>
      <id>bewins</id>
      <email>brian.ewins at gmail.com</email>
    </developer>

    <developer>
      <name>Elliotte Rusty Harold</name>
      <id>elharo</id>
      <email>elharo at metalab.unc.edu</email>
      <organization>Cafe au Lait</organization>
      <url>http://www.elharo.com/</url>
    </developer>

  </developers>

  <contributors>
    <contributor>
      <name>Ryan Gustafson</name> 
      <email>rgustav at users.sourceforge.net</email>
    </contributor>

    <contributor>
      <name>David Peterson</name> 
      <email>david at randombits.org</email>
    </contributor>

    <contributor>
      <name>Mark Wilson</name> 
      <email>mark.wilson at wilsoncom.de</email>
    </contributor>

    <contributor>
      <name>Jacob Kjome</name> 
      <email>hoju at visi.com</email>
    </contributor>

    <contributor>
      <name>Michael Brennan</name>
      <email>mpbrennan at earthlink.net</email>
    </contributor>

    <contributor>
      <name>Jason Hunter</name>
      <email>jhunter at xquery.com</email>
    </contributor>

    <contributor>
      <name>Brett Mclaughlin</name>
      <email>brett.mclaughlin at lutris.com</email>
    </contributor>

    <contributor>
      <name>Bradley S. Huffman</name>
      <email>hip at cs.okstate.edu</email>
    </contributor>

    <!-- found him on sourceforge http://sourceforge.net/project/memberlist.php?group_id=26014 -->
    <contributor>
      <name>K. Ari Krupnikov</name>
      <email>ari at lib.aero</email>
    </contributor>

    <!-- found him on sourceforge http://sourceforge.net/project/memberlist.php?group_id=31447 -->
    <contributor>
      <name>Paul R. Brown</name>
      <email>prb at fivesight.com</email>
    </contributor>


    <!-- next two found on http://lists.debian.org/debian-mentors/2003/09/msg00217.html -->
    <contributor>
      <name>Guoliang Cao</name>
      <email>cao at ispsoft.com</email>
    </contributor>

    <contributor>
      <name>Jérôme Nègre</name>
      <email>jerome.negre at e-xmlmedia.fr</email>
    </contributor>

    <!-- org.jaxen.ext.MatrixConcat function -->
    <!-- <contributor>
      <name>James Pereira</name>
      <email>JPereira at CT.BBD.CO.ZA</email>
    </contributor> -->

    <!-- found next two in CVS-->
    <contributor>
      <name>Eddie McGreal</name>
      <email>emcgreal at BlackPearl.com</email>
    </contributor>

    <contributor>
      <name>Steen Lehmann</name>
      <email>slehmann at users.sourceforge.net</email>
    </contributor>

  </contributors>

  <reports>
     <report>maven-jdepend-plugin</report>
     <report>maven-checkstyle-plugin</report>
     <report>maven-cobertura-plugin</report>
     <report>maven-changelog-plugin</report>
     <report>maven-developer-activity-plugin</report>
     <!-- file activity seems broken by move to subversion; links still
          point to CVS; I don't know why -->
     <!-- <report>maven-file-activity-plugin</report> -->
     <report>maven-license-plugin</report>
     <report>maven-javadoc-plugin</report>
     <report>maven-jxr-plugin</report>
     <report>maven-junit-report-plugin</report>
     <report>maven-linkcheck-plugin</report>
     <report>maven-pmd-plugin</report> 
     <report>maven-findbugs-plugin</report> 
   <!-- commenting out until they fix their repository  <report>jutils-lint4j-plugin</report> -->
   <!--  <report>maven-hammurapi-plugin</report> -->
  </reports>

  <!-- Need to mark these as compile-time/run-time -->

  <dependencies>

    <dependency>
      <groupId>dom4j</groupId>
      <artifactId>dom4j</artifactId>
      <version>1.6.1</version>
    </dependency>

    <dependency>
      <groupId>jdom</groupId>
      <artifactId>jdom</artifactId>
      <version>1.0</version>
      <url>http://jdom.org</url>
    </dependency>

    <dependency>
      <groupId>xml-apis</groupId>
      <artifactId>xml-apis</artifactId>
      <version>1.3.02</version>
    </dependency>

    <dependency>
      <groupId>xerces</groupId>
      <artifactId>xercesImpl</artifactId>
      <version>2.6.2</version>
    </dependency>

    <dependency>
      <groupId>xom</groupId>
      <artifactId>xom</artifactId>
      <version>1.0</version>
    </dependency>

    <dependency>
      <groupId>maven-plugins</groupId>
      <artifactId>maven-cobertura-plugin</artifactId>
      <version>1.3</version>
      <type>plugin</type>
    </dependency>
    
<!--    <dependency>
      <groupId>maven-plugins</groupId>
      <artifactId>maven-latex-plugin</artifactId>
      <version>1.5</version>
      <type>plugin</type>
    </dependency> -->
    
    <dependency>
      <groupId>maven-plugins</groupId>
      <artifactId>maven-findbugs-plugin</artifactId>
      <version>1.3.1</version>
      <type>plugin</type>
    </dependency>

<!--    <dependency>
      <groupId>lint4j</groupId>
      <artifactId>jutils-lint4j-plugin</artifactId>
      <version>1.1</version>
      <type>plugin</type>
    </dependency> -->

 <!--   <dependency>
      <groupId>org.hammurapi</groupId>
      <artifactId>maven-hammurapi-plugin</artifactId>
      <version>1.0</version>
      <type>plugin</type>
    </dependency> -->
  </dependencies>

  <build>

    <nagEmailAddress>dev at jaxen.codehaus.org</nagEmailAddress>
    <sourceDirectory>src/java/main</sourceDirectory>
    <unitTestSourceDirectory>src/java/test</unitTestSourceDirectory>

    <!-- Unit test classes -->

    <unitTest>
      <includes>
        <include>**/*Test.java</include>
      </includes>
    </unitTest>

  </build>

</project>



--- jaxen-1.1-disable-mojo-plugins.patch DELETED ---

Index: jaxen-component-info.xml
===================================================================
RCS file: /home/projects/jpackage/cvs/rpms/free/jaxen/jaxen-component-info.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -C 2 -d -r1.1 -r1.2
*** jaxen-component-info.xml	21 Jun 2008 12:27:00 -0000	1.1
--- jaxen-component-info.xml	29 Jul 2009 19:37:19 -0000	1.2
***************
*** 1,15 ****
! <project name="jaxen-component-info">
!    <component id="jaxen"
!               licenseType="jaxen"
!               version="1.1-brew"
!               projectHome="http://jaxen.codehaus.org/"
!               description="Java XPath Engine"
!               scm=":ext:cvs.devel.redhat.com:/cvs/dist/jaxen"
!               tag="jaxen-1_1-1jpp_ep1_2_el4">
!       <artifact id="jaxen.jar"/>
!       <!-- Built using JDK 1.4 -->
!       <export>
!          <include input="jaxen.jar"/>
!       </export>
!    </component>
  </project>
--- 1,19 ----
! <?xml version="1.0" encoding="UTF-8"?>
! <project name="">
!   <component id="jaxen"
!              licenseType=""
!              version="@VERSION@"
!              tag="@TAG@"
!              description=""
! 
!              >
! 
!     <artifact id="jaxen.jar"/>
! 
! 
!     <export>
!       <include input="jaxen.jar"/>
! 
!     </export>
!   </component>
  </project>

--- jaxen-1.1-jpp-disable-mojo-depmap.xml DELETED ---

--- jaxen-1.1-build.xml DELETED ---

--- NEW FILE: jaxen-1.1.1-jpp-disable-mojo-depmap.xml ---
<?xml version="1.0" encoding="utf-8"?>
<depset>
   <dependency>
     <maven>
         <groupId xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">maven-plugins</groupId>
         <artifactId xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">maven-cobertura-plugin</artifactId>
         <version xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">1.2</version>
         <type xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">plugin</type>
      </maven>
   </dependency>
   <dependency>
      <maven>
         <groupId xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">maven-plugins</groupId>
         <artifactId xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">maven-findbugs-plugin</artifactId>
         <version xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">0.9.2</version>
         <type xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">plugin</type>
      </maven>
   </dependency>
</depset>

--- NEW FILE: jaxen-1.1.1-jpp-depmap.xml ---
<?xml version="1.0" encoding="utf-8"?>
<depset>
   <dependency>
      <maven>
         <groupId xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">dom4j</groupId>
         <artifactId xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">dom4j</artifactId>
         <version xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">1.5.2</version>
      </maven>
      <jpp>
         <groupId>JPP</groupId>
         <artifactId xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">dom4j</artifactId>
         <jar>dom4j.jar</jar>
         <version xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">1.5.2</version>
      </jpp>
   </dependency>
   <dependency>
      <maven>
         <groupId xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">jdom</groupId>
         <artifactId xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">jdom</artifactId>
         <version xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">1.0</version>
         <url xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">http://jdom.org</url>
      </maven>
      <jpp>
         <groupId>JPP</groupId>
         <artifactId xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">jdom</artifactId>
         <jar>jdom.jar</jar>
         <version xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">1.0</version>
         <url xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">http://jdom.org</url>
      </jpp>
   </dependency>
   <dependency>
      <maven>
         <groupId xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">xerces</groupId>
         <artifactId xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">xercesImpl</artifactId>
         <version xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">2.6.2</version>
      </maven>
      <jpp>
         <groupId>JPP</groupId>
         <artifactId xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">xercesImpl</artifactId>
         <jar>xerces-j2.jar</jar>
         <version xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">2.6.2</version>
      </jpp>
   </dependency>
   <dependency>
      <maven>
         <groupId xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">xerces</groupId>
         <artifactId xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">xmlParserAPIs</artifactId>
         <version xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">2.6.2</version>
      </maven>
      <jpp>
         <groupId>JPP</groupId>
         <artifactId xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">xmlParserAPIs</artifactId>
         <jar>xml-commons-apis.jar</jar>
         <version xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">2.6.2</version>
      </jpp>
   </dependency>
   <dependency>
      <maven>
         <groupId xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">xom</groupId>
         <artifactId xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">xom</artifactId>
         <version xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">1.0b3</version>
      </maven>
      <jpp>
         <groupId>JPP</groupId>
         <artifactId xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">xom</artifactId>
         <jar>xom.jar</jar>
         <version xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">1.0b3</version>
      </jpp>
   </dependency>
   <dependency>
      <maven>
         <groupId xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">xml-apis</groupId>
         <artifactId xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">xml-apis</artifactId>
         <version xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">1.3.02</version>
      </maven>
      <jpp>
         <groupId>JPP</groupId>
         <artifactId xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">xml-commons-jaxp-1.3-apis</artifactId>
         <jar>xml-commons-jaxp-1.3-apis.jar</jar>
         <version xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">1.3.02</version>
      </jpp>
   </dependency>
   <dependency>
     <maven>
         <groupId xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">maven-plugins</groupId>
         <artifactId xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">maven-cobertura-plugin</artifactId>
         <version xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">1.2</version>
         <type xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">plugin</type>
      </maven>
   </dependency>
   <dependency>
      <maven>
         <groupId xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">maven-plugins</groupId>
         <artifactId xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">maven-findbugs-plugin</artifactId>
         <version xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">0.9.2</version>
         <type xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">plugin</type>
      </maven>
   </dependency>
   <add>
      <dependency>
         <groupId>JPP</groupId>
         <artifactId>junit</artifactId>
         <jar>junit.jar</jar>
      </dependency>
   </add>
</depset>

--- jaxen-1.1-jpp-depmap.xml DELETED ---

Index: pom-maven2jpp-mapdeps.xsl
===================================================================
RCS file: /home/projects/jpackage/cvs/rpms/free/jaxen/pom-maven2jpp-mapdeps.xsl,v
retrieving revision 1.4
retrieving revision 1.5
diff -C 2 -d -r1.4 -r1.5
*** pom-maven2jpp-mapdeps.xsl	21 Jun 2008 12:27:00 -0000	1.4
--- pom-maven2jpp-mapdeps.xsl	29 Jul 2009 19:37:19 -0000	1.5
***************
*** 1,78 ****
  <?xml version="1.0" encoding="UTF-8"?>
  <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
!   <xsl:param name="map" /> 
!   <xsl:output method="xml" indent="yes" omit-xml-declaration="no"/> 
!   <xsl:strip-space elements="*"/> 
!   <xsl:template match="/project" >
! 	<xsl:element name="project">
! 	  <xsl:copy-of select="child::*[not(self::dependencies)]"/>
! 	  <xsl:if test="not(./dependencies)">
! 		<xsl:element name="dependencies">
! 		  <xsl:for-each select="document($map)//add/dependency">
! 			<xsl:copy-of select="."/>
! 		  </xsl:for-each>
! 		</xsl:element>
! 	  </xsl:if>
! 	  <xsl:apply-templates select="dependencies"/>
! 	</xsl:element>
!   </xsl:template>
!   <xsl:template match="dependencies" >
! 	<xsl:element name="dependencies">
! 	  <xsl:for-each select="dependency">
! 		<xsl:if test="./artifactId">
! 		  <xsl:call-template name="replace">
! 			<xsl:with-param name="artifact" select="./artifactId/text()"/>
! 		  </xsl:call-template>
! 		</xsl:if>
! 		<xsl:if test="./id">
! 		  <xsl:choose>
! 			<xsl:when test="substring-after(./id/text(),':') != ''">
! 			  <xsl:call-template name="replace">
! 				<xsl:with-param name="artifact" select="substring-after(./id/text(),':')"/>
! 			  </xsl:call-template>
! 			</xsl:when>
! 			<xsl:otherwise>
! 			  <xsl:call-template name="replace">
! 				<xsl:with-param name="artifact" select="./id/text()"/>
! 			  </xsl:call-template>
! 			</xsl:otherwise>
! 		  </xsl:choose>
! 		</xsl:if>
! 	  </xsl:for-each>
! 	  <xsl:for-each select="document($map)//add/dependency">
! 		<xsl:copy-of select="."/>
! 	  </xsl:for-each>
! 	</xsl:element>
!   </xsl:template>
!   <xsl:template name="replace">
! 	<xsl:param name="artifact"/>
! 	<xsl:variable name="this" select="."/>
! 	  <xsl:choose>
! 		<xsl:when test="document($map)//dependency/maven[./artifactId/text() = $artifact]">
! 		  <xsl:for-each select="document($map)//dependency/maven[./artifactId/text() = $artifact][1]">
! 			<xsl:if test="../jpp">
! 			  <xsl:element name="dependency">
! 				<xsl:copy-of select="../jpp/*"/>
! 				<xsl:copy-of select="$this/properties"/>
! 			  </xsl:element>
! 			</xsl:if>
! 		  </xsl:for-each>
! 		</xsl:when>
! 		<xsl:otherwise>
! 		  <xsl:element name="dependency">
! 			<xsl:copy-of select="./*"/>
! 		  </xsl:element>
! 		</xsl:otherwise>
! 	  </xsl:choose>
! 	<xsl:if test="document($map)//dependency/maven[./artifactId/text() = $artifact]">
! 	  <xsl:for-each select="document($map)//dependency/maven[./artifactId/text() = $artifact][1]">
! 		<xsl:for-each select="../add/dependency">
! 		  <xsl:element name="dependency">
! 			<xsl:copy-of select="./*"/>
! 			<xsl:copy-of select="$this/properties"/>
! 		  </xsl:element>
! 		</xsl:for-each>
! 	  </xsl:for-each>
! 	</xsl:if>
!   </xsl:template>
  </xsl:stylesheet>
--- 1,78 ----
  <?xml version="1.0" encoding="UTF-8"?>
  <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
!  <xsl:param name="map" /> 
!  <xsl:output method="xml" indent="yes" omit-xml-declaration="no"/> 
!  <xsl:strip-space elements="*"/> 
!  <xsl:template match="/project" >
!   <xsl:element name="project">
!    <xsl:copy-of select="child::*[not(self::dependencies)]"/>
!    <xsl:if test="not(./dependencies)">
!     <xsl:element name="dependencies">
!      <xsl:for-each select="document($map)//add/dependency">
!        <xsl:copy-of select="."/>
!      </xsl:for-each>
!     </xsl:element>
!    </xsl:if>
!    <xsl:apply-templates select="dependencies"/>
!   </xsl:element>
!  </xsl:template>
!  <xsl:template match="dependencies" >
!   <xsl:element name="dependencies">
!    <xsl:for-each select="dependency">
!     <xsl:if test="./artifactId">
!      <xsl:call-template name="replace">
!       <xsl:with-param name="artifact" select="./artifactId/text()"/>
!      </xsl:call-template>
!     </xsl:if>
!     <xsl:if test="./id">
!      <xsl:choose>
!       <xsl:when test="substring-after(./id/text(),':') != ''">
!        <xsl:call-template name="replace">
!         <xsl:with-param name="artifact" select="substring-after(./id/text(),':')"/>
!        </xsl:call-template>
!       </xsl:when>
!       <xsl:otherwise>
!        <xsl:call-template name="replace">
!         <xsl:with-param name="artifact" select="./id/text()"/>
!        </xsl:call-template>
!       </xsl:otherwise>
!      </xsl:choose>
!     </xsl:if>
!    </xsl:for-each>
!    <xsl:for-each select="document($map)//add/dependency">
!     <xsl:copy-of select="."/>
!    </xsl:for-each>
!   </xsl:element>
!  </xsl:template>
!  <xsl:template name="replace">
!   <xsl:param name="artifact"/>
!   <xsl:variable name="this" select="."/>
!    <xsl:choose>
!     <xsl:when test="document($map)//dependency/maven[./artifactId/text() = $artifact]">
!      <xsl:for-each select="document($map)//dependency/maven[./artifactId/text() = $artifact][1]">
!       <xsl:if test="../jpp">
!        <xsl:element name="dependency">
!         <xsl:copy-of select="../jpp/*"/>
!         <xsl:copy-of select="$this/properties"/>
!        </xsl:element>
!       </xsl:if>
!      </xsl:for-each>
!     </xsl:when>
!     <xsl:otherwise>
!      <xsl:element name="dependency">
!       <xsl:copy-of select="./*"/>
!      </xsl:element>
!     </xsl:otherwise>
!    </xsl:choose>
!   <xsl:if test="document($map)//dependency/maven[./artifactId/text() = $artifact]">
!    <xsl:for-each select="document($map)//dependency/maven[./artifactId/text() = $artifact][1]">
!     <xsl:for-each select="../add/dependency">
!      <xsl:element name="dependency">
!       <xsl:copy-of select="./*"/>
!       <xsl:copy-of select="$this/properties"/>
!      </xsl:element>
!     </xsl:for-each>
!    </xsl:for-each>
!   </xsl:if>
!  </xsl:template>
  </xsl:stylesheet>




More information about the JPackage-commits mailing list