[maven-release-plugin] copy for tag xmlschema-2.0.1
diff --git a/pom.xml b/pom.xml
index 25ea58d..8a55741 100644
--- a/pom.xml
+++ b/pom.xml
@@ -22,16 +22,15 @@
<parent>
<groupId>org.apache</groupId>
<artifactId>apache</artifactId>
- <version>8</version>
+ <version>9</version>
</parent>
<groupId>org.apache.ws.xmlschema</groupId>
<artifactId>xmlschema</artifactId>
<packaging>pom</packaging>
<name>XmlSchema</name>
<version>2.0.1</version>
- <description>Commons XMLSchema is a light weight schema object model that can be used to manipulate or
- generate XML schema.</description>
- <url>http://ws.apache.org/commons/XmlSchema</url>
+ <description>Apache XMLSchema is a light weight schema object model that can be used to manipulate or generate XML schema.</description>
+ <url>http://ws.apache.org/commons/xmlschema20/</url>
<issueManagement>
<system>JIRA</system>
<url>http://issues.apache.org/jira/browse/XMLSCHEMA</url>
@@ -44,6 +43,13 @@
<post>dev@ws.apache.org</post>
<archive>http://mail-archives.apache.org/mod_mbox/ws-dev/</archive>
</mailingList>
+ <mailingList>
+ <name>WS Users</name>
+ <subscribe>users-subscribe@ws.apache.org</subscribe>
+ <unsubscribe>users-unsubscribe@ws.apache.org</unsubscribe>
+ <post>users@ws.apache.org</post>
+ <archive>http://mail-archives.apache.org/mod_mbox/ws-users/</archive>
+ </mailingList>
</mailingLists>
<inceptionYear>2004</inceptionYear>
<licenses>
@@ -72,7 +78,7 @@
<url>http://www.apache.org/</url>
</organization>
<properties>
- <xmlschema-eclipse-version>2.0</xmlschema-eclipse-version>
+ <xmlschema-eclipse-version>2.0</xmlschema-eclipse-version>
</properties>
<modules>
<module>xmlschema-core</module>
@@ -83,17 +89,17 @@
<defaultGoal>install</defaultGoal>
<pluginManagement>
<plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-assembly-plugin</artifactId>
- <version>2.2</version>
- </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-assembly-plugin</artifactId>
+ <version>2.2</version>
+ </plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
<version>2.5</version>
<dependencies>
- <dependency>
+ <dependency>
<groupId>org.apache.ws.xmlschema</groupId>
<artifactId>xmlschema-eclipse</artifactId>
<version>${xmlschema-eclipse-version}</version>
@@ -127,10 +133,9 @@
<artifactId>maven-release-plugin</artifactId>
<version>2.1</version>
<configuration>
- <!-- knock out apache parent profile -->
- <arguments />
- <useReleaseProfiles>true</useReleaseProfiles>
+ <useReleaseProfile>false</useReleaseProfile>
<goals>site:site deploy</goals>
+ <arguments>-Papache-release,release</arguments>
<preparationGoals>site:site install</preparationGoals>
<autoVersionSubmodules>true</autoVersionSubmodules>
</configuration>
@@ -210,11 +215,41 @@
<quiet>true</quiet>
</configuration>
</plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-site-plugin</artifactId>
- <version>3.0-beta-3</version>
- </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-site-plugin</artifactId>
+ <version>3.0</version>
+ <configuration>
+ <reportPlugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-project-info-reports-plugin</artifactId>
+ <version>2.4</version>
+ <configuration>
+ <dependencyDetailsEnabled>false</dependencyDetailsEnabled>
+ <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
+ </configuration>
+ <!-- simpler configuration without reportSets available for usual cases -->
+ <reports>
+ <report>summary</report>
+ <report>dependencies</report>
+ <report>index</report>
+ <report>dependencies</report>
+ <report>issue-tracking</report>
+ <report>scm</report>
+ <report>project-team</report>
+ <report>mailing-list</report>
+ <report>license</report>
+ </reports>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ <version>2.8</version>
+ </plugin>
+ </reportPlugins>
+ </configuration>
+ </plugin>
</plugins>
</pluginManagement>
</build>
@@ -226,7 +261,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
- <version>3.0-beta-3</version>
<executions>
<execution>
<id>site</id>
@@ -238,8 +272,8 @@
</executions>
</plugin>
<!--
- We want to sign the artifact, the POM, and all attached artifacts
--->
+ We want to sign the artifact, the POM, and all attached artifacts
+ -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
@@ -316,11 +350,11 @@
<configuration>
<systemPropertyVariables>
<!--
- The default xalan TransformerFactory on the ibm jdk is
- org.apache.xalan.processor.TransformerFactoryImpl which has a
- known issue with implicit namespaces. Set this property to use
- the xsltc TransformerFactory (which the sun jdk seems to
- default to). -->
+ The default xalan TransformerFactory on the ibm jdk is
+ org.apache.xalan.processor.TransformerFactoryImpl which has a
+ known issue with implicit namespaces. Set this property to use
+ the xsltc TransformerFactory (which the sun jdk seems to
+ default to). -->
<javax.xml.transform.TransformerFactory>org.apache.xalan.xsltc.trax.TransformerFactoryImpl</javax.xml.transform.TransformerFactory>
</systemPropertyVariables>
</configuration>
@@ -527,47 +561,4 @@
</dependency>
</dependencies>
</dependencyManagement>
- <reporting>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-project-info-reports-plugin</artifactId>
- <version>2.3.1</version>
- <reportSets>
- <reportSet>
- <reports>
- <report>summary</report>
- <report>index</report>
- <report>dependencies</report>
- <report>issue-tracking</report>
- <report>scm</report>
- </reports>
- </reportSet>
- </reportSets>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-javadoc-plugin</artifactId>
- <version>2.7</version>
- <reportSets>
- <reportSet>
- <id>html</id>
- <reports>
- <report>javadoc</report>
- </reports>
- </reportSet>
- </reportSets>
- </plugin>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>jdepend-maven-plugin</artifactId>
- <version>2.0-beta-2</version>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jxr-plugin</artifactId>
- <version>2.2</version>
- </plugin>
- </plugins>
- </reporting>
</project>
diff --git a/src/site/site.xml b/src/site/site.xml
index 5836ae1..956e8eb 100644
--- a/src/site/site.xml
+++ b/src/site/site.xml
@@ -31,15 +31,14 @@
</links>
<menu name="XML Schema">
<item name="Home" href="index.html"/>
- <item name="Downloads">
- <item name="Source Code" href="xmlschema-core/source-repository.html"/>
+ <item name="Downloads" href="http://www.apache.org/dyn/closer.cgi/ws/xmlschema/">
+ <item name="Source Code" href="source-repository.html"/>
</item>
- <item name="Project Information">
- <item name="Mailing Lists" href="/mail-lists.html"/>
- <item name="Project Team" href="/team-list.html"/>
+ <item name="Project Information" href="project-info.html">
+ <item name="Mailing Lists" href="mail-lists.html"/>
<item name="Issue Tracking" href="issue-tracking.html"/>
</item>
- <item name="License" href="/license.html"/>
+ <item name="License" href="license.html"/>
</menu>
<menu ref="modules" />
</body>
diff --git a/xmlschema-core/pom.xml b/xmlschema-core/pom.xml
index 1845b5e..c8090a9 100644
--- a/xmlschema-core/pom.xml
+++ b/xmlschema-core/pom.xml
@@ -104,8 +104,6 @@
<configuration>
<descriptors>
<descriptor>src/main/assembly/bin.xml</descriptor>
- <descriptor>src/main/assembly/src.xml</descriptor>
- <descriptor>src/main/assembly/doc.xml</descriptor>
</descriptors>
<tarLongFileMode>gnu</tarLongFileMode>
</configuration>
diff --git a/xmlschema-core/src/main/assembly/doc.xml b/xmlschema-core/src/main/assembly/doc.xml
deleted file mode 100644
index d5c7d7e..0000000
--- a/xmlschema-core/src/main/assembly/doc.xml
+++ /dev/null
@@ -1,57 +0,0 @@
-<!--
- ~ Licensed to the Apache Software Foundation (ASF) under one
- ~ or more contributor license agreements. See the NOTICE file
- ~ distributed with this work for additional information
- ~ regarding copyright ownership. The ASF licenses this file
- ~ to you under the Apache License, Version 2.0 (the
- ~ "License"); you may not use this file except in compliance
- ~ with the License. You may obtain a copy of the License at
- ~
- ~ http://www.apache.org/licenses/LICENSE-2.0
- ~
- ~ Unless required by applicable law or agreed to in writing,
- ~ software distributed under the License is distributed on an
- ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- ~ KIND, either express or implied. See the License for the
- ~ specific language governing permissions and limitations
- ~ under the License.
- -->
-
-<assembly>
- <id>docs</id>
- <formats>
- <format>zip</format>
- <format>dir</format>
- </formats>
- <includeSiteDirectory>true</includeSiteDirectory>
- <fileSets>
- <fileSet>
- <includes>
- <include>*.txt</include>
- </includes>
- </fileSet>
- <fileSet>
- <directory>target/maven-shared-archive-resources/META-INF</directory>
- <outputDirectory>.</outputDirectory>
- <includes>
- <include>*</include>
- </includes>
- <excludes>
- <exclude>DEPENDENCIES</exclude>
- </excludes>
- </fileSet>
- </fileSets>
- <files>
- <file>
- <source>../README.txt</source>
- <outputDirectory>/</outputDirectory>
- <filtered>true</filtered>
- </file>
- <file>
- <source>../RELEASE-NOTE.txt</source>
- <outputDirectory>/</outputDirectory>
- <filtered>true</filtered>
- </file>
- </files>
-
-</assembly>
diff --git a/xmlschema-core/src/main/assembly/src.xml b/xmlschema-core/src/main/assembly/src.xml
deleted file mode 100644
index 2be68fc..0000000
--- a/xmlschema-core/src/main/assembly/src.xml
+++ /dev/null
@@ -1,60 +0,0 @@
-<!--
- ~ Licensed to the Apache Software Foundation (ASF) under one
- ~ or more contributor license agreements. See the NOTICE file
- ~ distributed with this work for additional information
- ~ regarding copyright ownership. The ASF licenses this file
- ~ to you under the Apache License, Version 2.0 (the
- ~ "License"); you may not use this file except in compliance
- ~ with the License. You may obtain a copy of the License at
- ~
- ~ http://www.apache.org/licenses/LICENSE-2.0
- ~
- ~ Unless required by applicable law or agreed to in writing,
- ~ software distributed under the License is distributed on an
- ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- ~ KIND, either express or implied. See the License for the
- ~ specific language governing permissions and limitations
- ~ under the License.
- -->
-
-<assembly>
- <id>src</id>
- <formats>
- <format>zip</format>
- <format>dir</format>
- </formats>
- <fileSets>
- <fileSet>
- <includes>
- <include>*.txt</include>
- <include>*.xml</include>
- <include>*.properties</include>
- </includes>
- </fileSet>
- <fileSet>
- <directory>src</directory>
- </fileSet>
- <fileSet>
- <directory>target/maven-shared-archive-resources/META-INF</directory>
- <outputDirectory>.</outputDirectory>
- <includes>
- <include>*</include>
- </includes>
- <excludes>
- <exclude>DEPENDENCIES</exclude>
- </excludes>
- </fileSet>
- </fileSets>
- <files>
- <file>
- <source>../README.txt</source>
- <outputDirectory>/</outputDirectory>
- <filtered>true</filtered>
- </file>
- <file>
- <source>../RELEASE-NOTE.txt</source>
- <outputDirectory>/</outputDirectory>
- <filtered>true</filtered>
- </file>
- </files>
-</assembly>
\ No newline at end of file
diff --git a/xmlschema-core/src/main/java/org/apache/ws/commons/schema/XmlSchemaSerializer.java b/xmlschema-core/src/main/java/org/apache/ws/commons/schema/XmlSchemaSerializer.java
index 351d7a0..0c479bd 100644
--- a/xmlschema-core/src/main/java/org/apache/ws/commons/schema/XmlSchemaSerializer.java
+++ b/xmlschema-core/src/main/java/org/apache/ws/commons/schema/XmlSchemaSerializer.java
@@ -2142,7 +2142,7 @@
QName[] memberTypesQNames = unionObj.getMemberTypesQNames();
if (memberTypesQNames != null && memberTypesQNames.length > 0) {
StringBuilder memberTypes = new StringBuilder();
- for (int i = memberTypesQNames.length - 1; i >= 0; i--) {
+ for (int i = 0, n = memberTypesQNames.length - 1; i <= n; i++) {
QName memberTypesQName = memberTypesQNames[i];
String namespace = memberTypesQName.getNamespaceURI();
if (namespace.length() != 0) {
@@ -2152,7 +2152,7 @@
}
}
memberTypes.append(memberTypesQName.getLocalPart());
- if (i != 0) {
+ if (i != n) {
memberTypes.append(' ');
}
}
diff --git a/xmlschema-core/src/site/site.xml b/xmlschema-core/src/site/site.xml
index 08faeab..1899824 100644
--- a/xmlschema-core/src/site/site.xml
+++ b/xmlschema-core/src/site/site.xml
@@ -32,24 +32,21 @@
</links>
<menu name="XML Schema">
<item name="Home" href="../index.html"/>
- <item name="Downloads">
+ <item name="Downloads" href="http://www.apache.org/dyn/closer.cgi/ws/xmlschema/">
<item name="Source Code" href="source-repository.html"/>
</item>
- <item name="Documentation">
+ <item name="Documentation" href="">
<item name="Tutorial" href="schematutorial.html"/>
<item name="Extensions" href="writingExtensions.html"/>
- <item name="Javadocs" href="/apidocs/index.html"/>
- <item name="Jxr Reports" href="jxr.html"/>
- <item name="JDepend Report" href="jdepend-report.html"/>
+ <item name="Javadocs" href="apidocs/index.html"/>
<item name="View Source"
href="http://svn.apache.org/viewvc/webservices/xmlschema/trunk/?root=Apache-SVN"/>
</item>
- <item name="Project Information">
- <item name="Mailing Lists" href="/mail-lists.html"/>
- <item name="Project Team" href="/team-list.html"/>
+ <item name="Project Information" href="project-info.html">
+ <item name="Mailing Lists" href="mail-lists.html"/>
<item name="Issue Tracking" href="issue-tracking.html"/>
</item>
- <item name="License" href="/license.html"/>
+ <item name="License" href="license.html"/>
</menu>
<menu ref="reports" />
</body>