Sync from SUSE:ALP:Source:Standard:1.0 isorelax revision 6241e4fe4366f7e6c7280ce4edc37279

This commit is contained in:
Adrian Schröter 2024-10-14 14:32:24 +02:00
commit a03a62619a
9 changed files with 1293 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

6
isorelax-20030108.pom Normal file
View File

@ -0,0 +1,6 @@
<project>
<modelVersion>4.0.0</modelVersion>
<groupId>isorelax</groupId>
<artifactId>isorelax</artifactId>
<version>20030108</version>
</project>

74
isorelax-build.xml Normal file
View File

@ -0,0 +1,74 @@
<?xml version="1.0"?>
<project name="ISORELAX" basedir="." default="release">
<!-- create a distribution package -->
<target name="release">
<tstamp />
<!-- compile files -->
<mkdir dir="temp" />
<javac srcdir="src" debug="true"
destdir="temp">
<include name="**/*.java" />
</javac>
<!-- <mkdir dir="apidocs"/>
<javadoc packagenames="org.*"
sourcepath="src"
destdir="apidocs"
windowtitle="ISORELAX"
doctitle="ISORELAX"
public="true"
version="true"
author="true"
splitindex="false"
nodeprecated="true"
nodeprecatedlist="true"
notree="true"
noindex="false"
nohelp="true"
nonavbar="false"
serialwarn="false">
</javadoc>-->
<!-- create a time stamp file -->
<echo file="temp/version.properties">version=${DSTAMP}</echo>
<!-- creates binary jar -->
<delete file="isorelax.jar"/>
<jar jarfile="isorelax.jar"
compress="true">
<fileset dir="temp" />
<fileset dir="" includes="COPYING.txt"/>
<!-- resource files -->
<fileset dir="src">
<patternset>
<include name="**/*.properties" />
<include name="**/*.rxm"/>
<include name="**/*.dtd"/>
<include name="**/*.rng"/>
<include name="**/*.mod"/>
</patternset>
</fileset>
</jar>
<delete dir="temp" />
</target>
<!-- ant task test -->
<target name="ant-task-test">
<taskdef name="jarv" classname="org.iso_relax.ant.JARVTask">
<classpath path="isorelax.jar"/>
<classpath path="xercesjarv.jar"/>
</taskdef>
<!-- use xercesjarv instead of swift verifier for test -->
<!-- test files borrowed from maven project -->
<jarv
schemaLanguage="http://www.w3.org/2001/XMLSchema"
schema="test/isorelax-maven-project.xsd"
file="test/isorelax-maven-project.xml" />
</target>
</project>

View File

@ -0,0 +1,15 @@
--- src/org/iso_relax/jaxp/ValidatingDocumentBuilderFactory.java
+++ src/org/iso_relax/jaxp/ValidatingDocumentBuilderFactory.java
@@ -101,4 +101,12 @@
{ _WrappedFactory.setIgnoringElementContentWhitespace(whitespace); }
public void setNamespaceAware(boolean awareness)
{ _WrappedFactory.setNamespaceAware(awareness); }
+
+ //java5 build
+ public boolean getFeature(String name) throws ParserConfigurationException {
+ return _WrappedFactory.getFeature(name);
+ }
+ public void setFeature(String name, boolean value) throws ParserConfigurationException {
+ _WrappedFactory.setFeature(name, value);
+ }
}

608
isorelax-maven-project.xml Normal file
View File

@ -0,0 +1,608 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<project>
<pomVersion>3</pomVersion>
<id>maven</id>
<name>Maven</name>
<currentVersion>1.0-rc1-SNAPSHOT</currentVersion>
<organization>
<name>Apache Software Foundation</name>
<url>http://jakarta.apache.org/</url>
<logo>/images/jakarta-logo-blue.gif</logo>
</organization>
<inceptionYear>2001</inceptionYear>
<package>org.apache.maven</package>
<logo>/images/maven.jpg</logo>
<!-- Gump integration -->
<gumpRepositoryId>jakarta</gumpRepositoryId>
<description>Maven is a project management and project comprehension tool. Maven is based on the concept of a project object model: builds, documentation creation, site publication, and distribution publication are all controlled from the project object model. Maven also provides tools to create source metrics, change logs based directly on source repository, and source cross-references.</description>
<shortDescription>Java Project Management Tools</shortDescription>
<url>http://maven.apache.org/</url>
<issueTrackingUrl>http://jira.codehaus.org/BrowseProject.jspa?id=10030</issueTrackingUrl>
<siteAddress>maven.apache.org</siteAddress>
<siteDirectory>/www/maven.apache.org/</siteDirectory>
<distributionDirectory>/www/jakarta.apache.org/builds/jakarta-turbine-maven/</distributionDirectory>
<repository>
<connection>scm:cvs:pserver:anoncvs@cvs.apache.org:/home/cvspublic:maven</connection>
<developerConnection>scm:cvs:ext:${maven.username}@cvs.apache.org:/home/cvs:maven</developerConnection>
<url>http://cvs.apache.org/viewcvs/maven/</url>
</repository>
<versions>
<version>
<id>b1</id>
<name>1.0-b1</name>
<tag>MAVEN_1_0_B1</tag>
</version>
<version>
<id>b2</id>
<name>1.0-b2</name>
<tag>MAVEN_1_0_B2</tag>
</version>
<version>
<id>b3</id>
<name>1.0-b3</name>
<tag>MAVEN_1_0_B3</tag>
</version>
<version>
<id>b4</id>
<name>1.0-b4</name>
<tag>MAVEN_1_0_B4</tag>
</version>
<version>
<id>b5</id>
<name>1.0-beta-5</name>
<tag>MAVEN_1_0_B5</tag>
</version>
<version>
<id>b6</id>
<name>1.0-beta-6</name>
<tag>MAVEN_1_0_B6</tag>
</version>
<version>
<id>b7</id>
<name>1.0-beta-7</name>
<tag>MAVEN_1_0_B7</tag>
</version>
<version>
<id>b8</id>
<name>1.0-beta-8</name>
<tag>MAVEN_1_0_B8</tag>
</version>
<version>
<id>b9</id>
<name>1.0-beta-9</name>
<tag>MAVEN_1_0_B9</tag>
</version>
<version>
<id>b10</id>
<name>1.0-beta-10</name>
<tag>MAVEN_1_0_B10</tag>
</version>
<version>
<id>b11</id>
<name>1.0-beta-11</name>
<tag>HEAD</tag>
</version>
</versions>
<branches></branches>
<mailingLists>
<mailingList>
<name>Maven User List</name>
<subscribe>users-subscribe@maven.apache.org</subscribe>
<unsubscribe>users-unsubscribe@maven.apache.org</unsubscribe>
<archive>http://www.mail-archive.com/users@maven.apache.org/</archive>
</mailingList>
<mailingList>
<name>Maven Developer List</name>
<subscribe>dev-subscribe@maven.apache.org</subscribe>
<unsubscribe>dev-unsubscribe@maven.apache.org</unsubscribe>
<archive>http://www.mail-archive.com/dev@maven.apache.org/</archive>
</mailingList>
</mailingLists>
<developers>
<developer>
<name>Juancarlo Anez</name>
<id>juanco</id>
<email>juanco@apache.org</email>
<organization/>
<roles>
<role>Java Developer</role>
</roles>
</developer>
<developer>
<name>Stephane Bailliez</name>
<id>sbailliez</id>
<email>sbailliez@apache.org</email>
<organization/>
<roles>
<role>Java Developer</role>
</roles>
</developer>
<developer>
<name>Jeff Brekke</name>
<id>brekke</id>
<email>brekke@apache.org</email>
<organization/>
<roles>
<role>Java Developer</role>
</roles>
</developer>
<developer>
<name>Tom Copeland</name>
<id>tcopeland</id>
<email>tcopeland@apache.org</email>
<organization>InfoEther</organization>
<roles>
<role>Java Developer</role>
</roles>
</developer>
<developer>
<name>Eric Dobbs</name>
<id>dobbs</id>
<email>eric@dobbse.net</email>
<organization/>
<roles>
<role>Java Developer</role>
</roles>
</developer>
<developer>
<name>dIon Gillard</name>
<id>dion</id>
<email>dion@multitask.com.au</email>
<organization>Multitask Consulting</organization>
<roles>
<role>Java Developer</role>
</roles>
<timezone>+10</timezone>
</developer>
<developer>
<name>Pete Kazmier</name>
<id>kaz</id>
<email>pete-apache-dev@kazmier.com</email>
<organization/>
<roles>
<role>Documentation</role>
<role>Java Developer</role>
</roles>
</developer>
<developer>
<name>Peter Lynch</name>
<id>plynch</id>
<email>plynch@apache.org</email>
<organization/>
<roles>
<role>Java Developer</role>
</roles>
</developer>
<developer>
<name>Glenn McAllister</name>
<id>glennm</id>
<email>glenn@somanetworks.com</email>
<organization>SOMA Networks, Inc.</organization>
<roles>
<role>Java Developer</role>
</roles>
</developer>
<developer>
<name>Bob McWhirter</name>
<id>werken</id>
<email>bob@werken.com</email>
<organization>The Werken Company</organization>
<roles>
<role>Java Developer</role>
</roles>
</developer>
<developer>
<name>Geir Magnusson Jr.</name>
<id>geirm</id>
<email>geirm@optonline.net</email>
<organization>Independent (DVSL Maven)</organization>
<roles>
<role>Java Developer</role>
</roles>
</developer>
<developer>
<name>Vincent Massol</name>
<id>vmassol</id>
<email>vmassol@pivolis.com</email>
<organization>Pivolis</organization>
<roles>
<role>Java Developer</role>
</roles>
<timezone>+18</timezone>
</developer>
<developer>
<name>St<EFBFBD>phane Mor</name>
<id>smor</id>
<email>stephanemor@yahoo.fr</email>
<organization></organization>
<roles>
<role>Java Developer</role>
</roles>
</developer>
<developer>
<name>Kasper Nielsen</name>
<id>knielsen</id>
<email>apache@kav.dk</email>
<organization></organization>
<roles>
<role>Developer</role>
</roles>
</developer>
<developer>
<name>Eric Pugh</name>
<id>epugh</id>
<email>epugh@upstate.com</email>
<organization></organization>
<roles>
<role>Java Developer</role>
</roles>
<timezone>+1</timezone>
</developer>
<developer>
<name>Daniel Rall</name>
<id>dlr</id>
<email>dlr@finemaltcoding.com</email>
<organization>CollabNet, Inc.</organization>
<roles>
<role>Java Developer</role>
</roles>
</developer>
<developer>
<name>Kurt Schrader</name>
<id>kschrader</id>
<email>kschrader@karmalab.org</email>
<organization>University of Michigan</organization>
<roles>
<role>Java Developer</role>
</roles>
<url>http://karmalab.org/~kschrader/</url>
</developer>
<developer>
<name>James Strachan</name>
<id>jstrachan</id>
<email>james_strachan@yahoo.co.uk</email>
<organization>Spiritsoft</organization>
<roles>
<role>Java Developer</role>
</roles>
</developer>
<developer>
<name>James Taylor</name>
<id>jtaylor</id>
<email>james@jamestaylor.org</email>
<organization/>
<roles>
<role>Java Developer</role>
</roles>
</developer>
<developer>
<name>Emmanuel Venisse</name>
<id>evenisse</id>
<email>evenisse@ifrance.com</email>
<organization>Fi System</organization>
<roles>
<role>Java Developer</role>
</roles>
<timezone>+18</timezone>
</developer>
<developer>
<name>Jason van Zyl</name>
<id>jvanzyl</id>
<email>jason@zenplex.com</email>
<organization>Zenplex</organization>
<roles>
<role>Architect</role>
<role>Release Manager</role>
</roles>
</developer>
<developer>
<name>Ben Walding</name>
<id>bwalding</id>
<email>maven@walding.com</email>
<organization>Walding Consulting Services</organization>
<roles>
<role>Java Developer</role>
</roles>
<url>http://www.walding.com</url>
<timezone>+10</timezone>
</developer>
<developer>
<name>Brett Porter</name>
<id>brett</id>
<email>brett@apache.org</email>
<organization>f2 network</organization>
<roles>
<role>Java Developer</role>
</roles>
<timezone>+10</timezone>
</developer>
</developers>
<contributors>
<contributor>
<name>Alexei Barantsev</name>
<email>barancev@ispras.ru</email>
</contributor>
<contributor>
<name>Martin van dem Bemt</name>
<email>mvdb@mvdb.com</email>
</contributor>
<contributor>
<name>Nathan Coast</name>
<email>nathan.coast@blueyonder.co.uk</email>
</contributor>
<contributor>
<name>Martin Cooper</name>
<email>martin.cooper@tumbleweed.com</email>
</contributor>
<contributor>
<name>James CE Johnson</name>
<email>jcej@tragus.org</email>
</contributor>
<contributor>
<name>Mark Langley</name>
<email>mlangley@casebank.com</email>
</contributor>
<contributor>
<name>Brian Leonard</name>
<email>brian@brainslug.com</email>
</contributor>
<contributor>
<name>Michael McCallum</name>
<email>gholam@apache.org</email>
</contributor>
<contributor>
<name>Markus M. May</name>
<email>mmay@javafreedom.org</email>
</contributor>
<contributor>
<name>Tom Palmer</name>
<email>tomp@uk.uu.net</email>
</contributor>
<contributor>
<name>Martin Skopp</name>
<email>skopp@riege.de</email>
<organization>Riege Software International</organization>
<timezone>+1</timezone>
</contributor>
<contributor>
<name>Kuisong Tong</name>
<email>Kuisong.Tong@vtradex.com</email>
</contributor>
</contributors>
<licenses>
<license>
<name>The Apache Software License, Version 1.1</name>
<url>http://cvs.apache.org/viewcvs.cgi/*checkout*/maven/LICENSE.txt</url>
<distribution>repo</distribution>
</license>
</licenses>
<!-- Need to mark these as compile-time/run-time -->
<dependencies>
<!-- leave dom4j as the first entry or the tests fail -->
<dependency>
<id>dom4j</id>
<version>1.4</version>
<url>http://www.dom4j.org/</url>
<properties>
<description>ouch</description>
</properties>
</dependency>
<dependency>
<id>ant</id>
<version>1.5.3-1</version>
<url>http://ant.apache.org/</url>
</dependency>
<dependency>
<groupId>ant</groupId>
<artifactId>ant-optional</artifactId>
<version>1.5.3-1</version>
<url>http://jakarta.apache.org/ant/</url>
</dependency>
<dependency>
<id>commons-betwixt</id>
<version>1.0-beta-1.20030111.103454</version>
<url>http://jakarta.apache.org/commons/betwixt/</url>
</dependency>
<dependency>
<id>commons-digester</id>
<version>1.4.1</version>
<url>http://jakarta.apache.org/commons/digester.html</url>
</dependency>
<dependency>
<id>commons-jelly</id>
<version>20030724.033229</version>
<url>http://jakarta.apache.org/commons/jelly/</url>
</dependency>
<dependency>
<groupId>commons-jelly</groupId>
<artifactId>commons-jelly-tags-ant</artifactId>
<version>20030625.032346</version>
<url>http://jakarta.apache.org/commons/jelly/tags/ant/</url>
</dependency>
<dependency>
<groupId>commons-jelly</groupId>
<artifactId>commons-jelly-tags-define</artifactId>
<version>20030211.142932</version>
<url>http://jakarta.apache.org/commons/jelly/tags/define/</url>
</dependency>
<dependency>
<groupId>commons-jelly</groupId>
<artifactId>commons-jelly-tags-util</artifactId>
<version>20030211.141939</version>
<url>http://jakarta.apache.org/commons/jelly/tags/util/</url>
</dependency>
<dependency>
<id>commons-graph</id>
<version>0.8.1</version>
<url>http://jakarta.apache.org/commons/sandbox/graph/</url>
</dependency>
<dependency>
<id>commons-jexl</id>
<version>1.0-beta-1</version>
<url>http://jakarta.apache.org/commons/jexl/</url>
</dependency>
<dependency>
<id>commons-logging</id>
<version>1.0.1</version>
<url>http://jakarta.apache.org/commons/logging.html</url>
</dependency>
<dependency>
<id>werkz</id>
<version>1.0-beta-10</version>
<url>http://werkz.codehaus.org/</url>
</dependency>
<!-- Runtime dependencies -->
<dependency>
<id>commons-beanutils</id>
<version>1.6.1</version>
<url>http://jakarta.apache.org/commons/</url>
</dependency>
<dependency>
<id>commons-cli</id>
<version>1.0-beta-2</version>
<url>http://jakarta.apache.org/commons/cli/</url>
</dependency>
<dependency>
<id>commons-collections</id>
<version>2.1</version>
<url>http://jakarta.apache.org/commons/</url>
</dependency>
<dependency>
<id>commons-grant</id>
<version>1.0-beta-4</version>
<url>http://jakarta.apache.org/commons/sandbox/grant/</url>
</dependency>
<dependency>
<id>commons-io</id>
<version>20030203.000550</version>
<url>http://jakarta.apache.org/commons/</url>
</dependency>
<dependency>
<id>commons-lang</id>
<version>1.0-b1.1</version>
<url>http://jakarta.apache.org/commons/</url>
</dependency>
<dependency>
<id>forehead</id>
<version>1.0-beta-4</version>
</dependency>
<dependency>
<id>log4j</id>
<version>1.2.8</version>
<url>http://jakarta.apache.org/log4j/</url>
</dependency>
<dependency>
<id>which</id>
<version>1.0</version>
<url>http://cvs.apache.org/viewcvs.cgi/xml-commons/java/src/org/apache/env/</url>
</dependency>
<!-- this is a dependency, but as the classes ship with ant, bootstrap will
fail with linkage errors if it's included and the junit tests are not
forked
-->
<dependency>
<id>xml-apis</id>
<version>1.0.b2</version>
<url>http://xml.apache.org/xerces2-j/</url>
</dependency>
<dependency>
<id>xerces</id>
<version>2.4.0</version>
<url>http://xml.apache.org/xerces2-j/</url>
</dependency>
<dependency>
<groupId>xpp3</groupId>
<artifactId>xpp3</artifactId>
<version>1.1.2a</version>
</dependency>
<dependency>
<groupId>plexus</groupId>
<artifactId>plexus</artifactId>
<version>0.6</version>
</dependency>
</dependencies>
<build>
<nagEmailAddress>dev@maven.apache.org</nagEmailAddress>
<sourceDirectory>${basedir}/src/java</sourceDirectory>
<unitTestSourceDirectory>${basedir}/src/test/java</unitTestSourceDirectory>
<unitTest>
<includes>
<include>**/*Test.java</include>
</includes>
<excludes>
<exclude>**/RepositoryTest.java</exclude>
<exclude>**/JAXPTest.java</exclude>
</excludes>
</unitTest>
<resources>
<resource>
<directory>${basedir}/src/conf</directory>
<includes>
<include>*.xsd</include>
<include>*.dtd</include>
<include>*.mod</include>
<include>*.properties</include>
<include>driver.jelly</include>
</includes>
</resource>
<resource>
<directory>${basedir}/src/messages</directory>
<targetPath>org/apache/maven/messages</targetPath>
<includes>
<include>messages*.properties</include>
</includes>
</resource>
</resources>
</build>
<reports>
<!--
|
| These should all be completely self contained. You should be able
| to generate each of them individually without needing the final
| xdoc transformation.
|
| Each report plugin with it's POM and plugin.jelly logic should
| contain everything needed to produced the report.
|
-->
<report>maven-jdepend-plugin</report>
<report>maven-checkstyle-plugin</report>
<report>maven-changes-plugin</report>
<report>maven-changelog-plugin</report>
<report>maven-file-activity-plugin</report>
<report>maven-developer-activity-plugin</report>
<report>maven-javadoc-plugin</report>
<report>maven-jxr-plugin</report>
<report>maven-junit-report-plugin</report>
<report>maven-tasklist-plugin</report>
<report>maven-jellydoc-plugin</report>
<report>maven-pmd-plugin</report>
<report>maven-simian-plugin</report>
<report>maven-faq-plugin</report>
<report>maven-multiproject-plugin</report>
</reports>
<!-- For maven internal testing -->
<properties>
<testName>testValue</testName>
<pomProperty>${pomProperty}</pomProperty>
</properties>
</project>

428
isorelax-maven-project.xsd Normal file
View File

@ -0,0 +1,428 @@
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs='http://www.w3.org/2001/XMLSchema'
elementFormDefault="qualified">
<xs:element name="project">
<xs:complexType>
<xs:sequence>
<xs:element ref="extend" minOccurs="0"/>
<xs:element ref="pomVersion"/>
<xs:element ref="id"/>
<xs:element ref="name"/>
<xs:element ref="groupId" minOccurs="0"/>
<xs:element ref="currentVersion"/>
<xs:element ref="organization"/>
<xs:element ref="inceptionYear"/>
<xs:element ref="package" minOccurs="0"/>
<xs:element ref="logo" minOccurs="0"/>
<xs:element ref="gumpRepositoryId" minOccurs="0"/>
<xs:element ref="description" minOccurs="0"/>
<xs:element ref="shortDescription"/>
<xs:element ref="url" minOccurs="0" />
<xs:element ref="issueTrackingUrl" minOccurs="0"/>
<xs:element ref="siteAddress" minOccurs="0"/>
<xs:element ref="siteDirectory" minOccurs="0"/>
<xs:element ref="distributionDirectory" minOccurs="0"/>
<xs:element ref="repository" minOccurs="0"/>
<xs:element ref="versions" minOccurs="0"/>
<xs:element ref="branches" minOccurs="0"/>
<xs:element ref="mailingLists" minOccurs="0"/>
<xs:element ref="developers"/>
<xs:element ref="contributors" minOccurs="0"/>
<xs:element ref="licenses" minOccurs="0"/>
<xs:element ref="dependencies" minOccurs="0"/>
<xs:element ref="build"/>
<xs:element ref="reports" minOccurs="0"/>
<xs:element ref="properties" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="extend" type='xs:string'/>
<xs:element name="connection" type='xs:string'/>
<xs:element name="developerConnection" type='xs:string'/>
<xs:element name="currentVersion" type='xs:string'/>
<xs:element name="description" type='xs:string'/>
<xs:element name="distributionDirectory" type='xs:string'/>
<xs:element name="name" type='xs:string'/>
<xs:element name="groupId" type='xs:string'/>
<xs:element name="artifactId" type='xs:string'/>
<xs:element name="gumpRepositoryId" type='xs:string'/>
<xs:element name="id" type='xs:string'/>
<xs:element name="inceptionYear" type='xs:gYear'/>
<!-- not anyURI as it can contain ${pom....} -->
<xs:element name="issueTrackingUrl" type='xs:string'/>
<xs:element name="logo" type='xs:string'/>
<xs:element name="package" type='xs:string'/>
<xs:element name="pomVersion" type='xs:string'/>
<xs:element name="shortDescription" type='xs:string'/>
<xs:element name="siteAddress" type='xs:string'/>
<xs:element name="siteDirectory" type='xs:string'/>
<!-- not anyURI as it can contain ${pom....} -->
<xs:element name="url" type='xs:string'/>
<!-- /repository element -->
<xs:element name="repository">
<xs:complexType>
<xs:sequence>
<xs:element ref="connection"/>
<xs:element ref="developerConnection" minOccurs="0"/>
<xs:element ref="url" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<!-- /organization element -->
<xs:element name="organization">
<xs:complexType>
<xs:sequence>
<xs:element ref="name"/>
<xs:element ref="url" minOccurs="0" />
<xs:element ref="logo" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
<!-- /versions element -->
<xs:element name="versions">
<xs:complexType>
<xs:sequence>
<xs:element ref="version" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<!-- /versions/version element -->
<xs:element name="version">
<xs:complexType>
<xs:sequence>
<xs:element ref="id"/>
<xs:element ref="name"/>
<xs:element ref="tag"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<!-- /versions/version/tag and branches/branch/tag-->
<xs:element name="tag" type='xs:string'/>
<!-- /branches element -->
<xs:element name="branches">
<xs:complexType>
<xs:sequence>
<xs:element ref="branch" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<!-- /branches/branch element -->
<xs:element name="branch">
<xs:complexType>
<xs:sequence>
<xs:element ref="tag"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<!-- /mailingLists element -->
<xs:element name="mailingLists">
<xs:complexType>
<xs:sequence>
<xs:element ref="mailingList" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<!-- /mailingLists/mailingList element -->
<xs:element name="mailingList">
<xs:complexType>
<xs:sequence>
<xs:element ref="name"/>
<xs:element ref="subscribe"/>
<xs:element ref="unsubscribe"/>
<xs:element ref="archive" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<!-- /mailingLists/mailingList/subscribe element -->
<xs:element name="subscribe" type='xs:string'/>
<!-- /mailingLists/mailingList/unsubscribe element -->
<xs:element name="unsubscribe" type='xs:string'/>
<!-- /mailingLists/mailingList/archive element -->
<xs:element name="archive" type='xs:string'/>
<!-- /developers element -->
<xs:element name="developers">
<xs:complexType>
<xs:sequence>
<xs:element ref="developer" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<!-- /developers/developer element -->
<xs:element name="developer">
<xs:complexType>
<xs:sequence>
<xs:element ref="name"/>
<xs:element ref="id"/>
<xs:group ref="contactDetails" />
</xs:sequence>
</xs:complexType>
</xs:element>
<!-- /developers/developer/contactDetails group and
/contributors/contributor/contactDetails group -->
<xs:group name="contactDetails">
<xs:sequence>
<xs:element ref="email"/>
<xs:element name="organization" type='xs:string' minOccurs="0"/>
<xs:element ref="roles" minOccurs="0" />
<xs:element ref="url" minOccurs="0" />
<xs:element ref="timezone" minOccurs="0" />
</xs:sequence>
</xs:group>
<!-- contactDetails/email element -->
<xs:element name="email" type='xs:string'/>
<!-- contactDetails/roles element -->
<xs:element name="roles">
<xs:complexType>
<xs:sequence>
<xs:element ref="role" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<!-- contactDetails/roles/role element -->
<xs:element name="role" type='xs:string'/>
<!-- type for contactDetails/roles/timezone element -->
<xs:simpleType name="timezoneType">
<xs:restriction base="xs:decimal">
<xs:minInclusive value="-18"/>
<xs:maxInclusive value="+18"/>
</xs:restriction>
</xs:simpleType>
<!-- contactDetails/roles/timezone element
Stores a decimal that is the offset to GMT.
-->
<xs:element name="timezone" type='timezoneType'/>
<!-- /contributors element -->
<xs:element name="contributors">
<xs:complexType>
<xs:sequence>
<xs:element ref="contributor" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<!-- /contributors/contributor element -->
<xs:element name="contributor">
<xs:complexType>
<xs:sequence>
<xs:element ref="name"/>
<xs:group ref="contactDetails" />
</xs:sequence>
</xs:complexType>
</xs:element>
<!-- /licenses element -->
<xs:element name="licenses">
<xs:complexType>
<xs:sequence>
<xs:element ref="license" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<!-- /licenses/license element -->
<xs:element name="license">
<xs:complexType>
<xs:sequence>
<!-- name of the license, e.g. ASL 1.1 -->
<xs:element ref="name" minOccurs="0"/>
<!-- fetchable version of the license -->
<xs:element ref="url" minOccurs="0" />
<!-- 'manual' or 'repo' -->
<xs:element ref="distribution" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
<!-- /licenses/license/distribution element -->
<xs:element name="distribution">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:pattern value="manual|repo"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<!-- /dependencies element -->
<xs:element name="dependencies">
<xs:complexType>
<xs:sequence>
<xs:element ref="dependency" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<!-- /dependencies/dependency element -->
<xs:element name="dependency">
<xs:complexType>
<xs:sequence>
<xs:element ref="id" minOccurs="0" />
<xs:element ref="groupId" minOccurs="0" />
<xs:element ref="artifactId" minOccurs="0" />
<xs:element name="version" type="xs:string" />
<xs:element ref="jar" minOccurs="0"/>
<xs:element ref="type" minOccurs="0"/>
<xs:element ref="url" minOccurs="0"/>
<xs:element ref="properties" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
<!-- /dependencies/dependency/type element -->
<xs:element name="type" type='xs:string'/>
<!-- /dependencies/dependency/jar element -->
<xs:element name="jar" type='xs:string'/>
<!-- /build element -->
<xs:element name="build">
<xs:complexType>
<xs:sequence>
<xs:element ref="nagEmailAddress" minOccurs="0"/>
<xs:element ref="sourceDirectory" minOccurs="0"/>
<xs:element ref="sourceModifications" minOccurs="0"/>
<xs:element ref="unitTestSourceDirectory" minOccurs="0"/>
<xs:element ref="integrationUnitTestSourceDirectory" minOccurs="0"/>
<xs:element ref="aspectSourceDirectory" minOccurs="0"/>
<xs:element ref="unitTest" minOccurs="0"/>
<xs:element ref="integrationUnitTest" minOccurs="0"/>
<xs:element ref="resources" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="nagEmailAddress" type='xs:string'/>
<xs:element name="sourceDirectory" type='xs:string'/>
<xs:element name="sourceModifications">
<xs:complexType>
<xs:sequence>
<xs:element ref="sourceModification" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="sourceModification">
<xs:complexType>
<xs:sequence>
<xs:element name="className" type='xs:string'/>
<xs:element ref="includes" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="excludes" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="unitTestSourceDirectory" type='xs:string'/>
<xs:element name="integrationUnitTestSourceDirectory" type='xs:string'/>
<xs:element name="aspectSourceDirectory" type='xs:string'/>
<xs:element name="unitTest">
<xs:complexType>
<xs:sequence>
<xs:element ref="includes" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="excludes" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="resources" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="includes">
<xs:complexType>
<xs:sequence>
<xs:element ref="include" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="excludes">
<xs:complexType>
<xs:sequence>
<xs:element ref="exclude" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="include" type='xs:string'/>
<xs:element name="exclude" type='xs:string'/>
<xs:element name="integrationUnitTest">
<xs:complexType>
<xs:sequence>
<xs:element ref="includes" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="excludes" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="resources">
<xs:complexType>
<xs:sequence>
<xs:element ref="resource" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="directory" type='xs:string'/>
<xs:element name="targetPath" type='xs:string'/>
<xs:element name="filtering" type="xs:boolean" />
<xs:element name="resource">
<xs:complexType>
<xs:sequence>
<!-- FIXME: I think that this defaults to basedir, need a check -->
<xs:element ref="directory" minOccurs="0"/>
<xs:element ref="targetPath" minOccurs="0"/>
<xs:element ref="includes" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="excludes" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="filtering" minOccurs="0" maxOccurs="1"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="reports">
<xs:complexType>
<xs:sequence>
<xs:element name="report" minOccurs="0" maxOccurs="unbounded"
type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="properties">
<xs:complexType>
<xs:sequence>
<xs:any minOccurs="0" maxOccurs="unbounded" processContents="lax"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="classloader">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:pattern value="root|root.maven"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:schema>

BIN
isorelax.20041111.zip (Stored with Git LFS) Normal file

Binary file not shown.

42
isorelax.changes Normal file
View File

@ -0,0 +1,42 @@
-------------------------------------------------------------------
Sat Mar 19 21:12:26 UTC 2022 - Fridrich Strba <fstrba@suse.com>
- Build with java target and source version 1.8
-------------------------------------------------------------------
Tue Dec 18 06:31:12 UTC 2018 - Fridrich Strba <fstrba@suse.com>
- Add maven pom file
- Build against the generic xml-apis provider
-------------------------------------------------------------------
Fri Sep 8 08:01:30 UTC 2017 - fstrba@suse.com
- Specify java target and source version to 1.6 in order to allow
building with jdk9
-------------------------------------------------------------------
Fri Jun 9 10:57:53 UTC 2017 - tchvatal@suse.com
- Drop javadoc to build with gcj and low in the buildphase
-------------------------------------------------------------------
Mon Sep 9 11:05:45 UTC 2013 - tchvatal@suse.com
- Move from jpackage-utils to javapackage-tools
-------------------------------------------------------------------
Sat Mar 2 08:13:19 UTC 2013 - coolo@suse.com
- update license to new format
-------------------------------------------------------------------
Mon Sep 15 14:01:56 CEST 2008 - mvyskocil@suse.cz
- -target=1.5 -source=1.5
-------------------------------------------------------------------
Wed Aug 20 16:38:05 CEST 2008 - mvyskocil@suse.cz
- Initial packaging of version 0.1 (based on jpp1.7)

94
isorelax.spec Normal file
View File

@ -0,0 +1,94 @@
#
# spec file for package isorelax
#
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define cvsversion 20041111
Name: isorelax
Version: 0.1
Release: 0
Summary: Public interfaces useful for applications to support RELAX Core
License: Apache-2.0 AND MIT
Group: Development/Libraries/Java
URL: http://iso-relax.sourceforge.net/
Source0: %{name}.%{cvsversion}.zip
Source1: %{name}-build.xml
Source2: isorelax-maven-project.xml
Source3: isorelax-maven-project.xsd
Source4: http://repo2.maven.org/maven2/%{name}/%{name}/20030108/%{name}-20030108.pom
Patch0: isorelax-java5-compatibility.patch
BuildRequires: ant
BuildRequires: java-devel
BuildRequires: javapackages-local
BuildRequires: unzip
BuildRequires: xerces-j2
BuildRequires: xml-apis
Requires: xerces-j2
Requires: xml-apis
Obsoletes: isorelax-bootstrap
Provides: isorelax-bootstrap
Obsoletes: %{name}-javadoc
BuildArch: noarch
%description
The ISO RELAX project is started to host the public interfaces useful
for applications to support RELAX Core. But nowadays some of the stuff
we have is schema language neutral.
%prep
%setup -q -T -c
unzip -q %{SOURCE0}
mkdir src
(cd src; unzip -q ../src.zip)
rm -f src.zip
cp %{SOURCE1} build.xml
mkdir test
cp %{SOURCE2} test
cp %{SOURCE3} test
chmod -R go=u-w *
find . -name "*.jar" -exec rm -f {} \;
rm -rf src/jp/gr/xml/relax/swift
%patch0 -b .sav0
%build
export CLASSPATH=$(build-classpath \
xerces-j2 \
xml-apis \
)
ant -Dant.build.javac.source=1.8 -Dant.build.javac.target=1.8 \
-Dbuild.sysclasspath=only release
%install
# jars
install -d -m 755 %{buildroot}%{_javadir}
install -m 644 %{name}.jar %{buildroot}%{_javadir}/%{name}-%{version}.jar
(cd %{buildroot}%{_javadir} && for jar in *-%{version}*; do ln -sf ${jar} `echo $jar| sed "s|-%{version}||g"`; done)
# pom
install -d -m 755 %{buildroot}%{_mavenpomdir}
install -m 644 %{SOURCE4} %{buildroot}%{_mavenpomdir}/%{name}-%{version}.pom
%add_maven_depmap %{name}-%{version}.pom %{name}-%{version}.jar
%files
%license COPYING.txt
%{_javadir}/*
%{_mavenpomdir}/*
%if %{defined _maven_repository}
%{_mavendepmapfragdir}/%{name}
%else
%{_datadir}/maven-metadata/%{name}.xml*
%endif
%changelog