You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-commits@axis.apache.org by ve...@apache.org on 2017/05/01 13:52:05 UTC

svn commit: r1793336 - in /axis/axis2/java/core/branches/AXIS2-5785/modules/tool/axis2-xsd2java-maven-plugin/src/site: apt/ markdown/ markdown/index.md markdown/usage.md

Author: veithen
Date: Mon May  1 13:52:05 2017
New Revision: 1793336

URL: http://svn.apache.org/viewvc?rev=1793336&view=rev
Log:
Use Markdown instead of APT.

Added:
    axis/axis2/java/core/branches/AXIS2-5785/modules/tool/axis2-xsd2java-maven-plugin/src/site/markdown/
    axis/axis2/java/core/branches/AXIS2-5785/modules/tool/axis2-xsd2java-maven-plugin/src/site/markdown/index.md
      - copied, changed from r1793335, axis/axis2/java/core/branches/AXIS2-5785/modules/tool/axis2-xsd2java-maven-plugin/src/site/apt/index.apt
    axis/axis2/java/core/branches/AXIS2-5785/modules/tool/axis2-xsd2java-maven-plugin/src/site/markdown/usage.md
      - copied, changed from r1793335, axis/axis2/java/core/branches/AXIS2-5785/modules/tool/axis2-xsd2java-maven-plugin/src/site/apt/usage.apt
Removed:
    axis/axis2/java/core/branches/AXIS2-5785/modules/tool/axis2-xsd2java-maven-plugin/src/site/apt/

Copied: axis/axis2/java/core/branches/AXIS2-5785/modules/tool/axis2-xsd2java-maven-plugin/src/site/markdown/index.md (from r1793335, axis/axis2/java/core/branches/AXIS2-5785/modules/tool/axis2-xsd2java-maven-plugin/src/site/apt/index.apt)
URL: http://svn.apache.org/viewvc/axis/axis2/java/core/branches/AXIS2-5785/modules/tool/axis2-xsd2java-maven-plugin/src/site/markdown/index.md?p2=axis/axis2/java/core/branches/AXIS2-5785/modules/tool/axis2-xsd2java-maven-plugin/src/site/markdown/index.md&p1=axis/axis2/java/core/branches/AXIS2-5785/modules/tool/axis2-xsd2java-maven-plugin/src/site/apt/index.apt&r1=1793335&r2=1793336&rev=1793336&view=diff
==============================================================================
--- axis/axis2/java/core/branches/AXIS2-5785/modules/tool/axis2-xsd2java-maven-plugin/src/site/apt/index.apt (original)
+++ axis/axis2/java/core/branches/AXIS2-5785/modules/tool/axis2-xsd2java-maven-plugin/src/site/markdown/index.md Mon May  1 13:52:05 2017
@@ -1,9 +1,25 @@
- ------
- Maven 2 XSD2Java Plugin
- ------
+<!--
+  ~ 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.
+  -->
 
-Introduction
+About
+-----
 
-  This plugin takes as input a one or more XSD schemas and generates Axis2 ADB Java Bean classes.
+This plugin takes as input a one or more XSD schemas and generates Axis2 ADB Java Bean classes.
 
-  The full description of goals is available {{{goals.html}here}}.
+The full description of goals is available [here](goals.html).

Copied: axis/axis2/java/core/branches/AXIS2-5785/modules/tool/axis2-xsd2java-maven-plugin/src/site/markdown/usage.md (from r1793335, axis/axis2/java/core/branches/AXIS2-5785/modules/tool/axis2-xsd2java-maven-plugin/src/site/apt/usage.apt)
URL: http://svn.apache.org/viewvc/axis/axis2/java/core/branches/AXIS2-5785/modules/tool/axis2-xsd2java-maven-plugin/src/site/markdown/usage.md?p2=axis/axis2/java/core/branches/AXIS2-5785/modules/tool/axis2-xsd2java-maven-plugin/src/site/markdown/usage.md&p1=axis/axis2/java/core/branches/AXIS2-5785/modules/tool/axis2-xsd2java-maven-plugin/src/site/apt/usage.apt&r1=1793335&r2=1793336&rev=1793336&view=diff
==============================================================================
--- axis/axis2/java/core/branches/AXIS2-5785/modules/tool/axis2-xsd2java-maven-plugin/src/site/apt/usage.apt (original)
+++ axis/axis2/java/core/branches/AXIS2-5785/modules/tool/axis2-xsd2java-maven-plugin/src/site/markdown/usage.md Mon May  1 13:52:05 2017
@@ -1,53 +1,65 @@
- ------
- Maven 2 XSD2Java Plugin: configuration examples
- ------
-
-Goals
-
-  The XSD2Java plugin offers a single goal:
-
-   * xsd2java (default): Reads one or more XSD-files class and generates the corresponding Java Axis2 ADB beans.
-
-  To run the plugin, add the following section to your POM:
-
-------------------------
-  <build>
-    <plugins>
-      <plugin>
-        <groupId>org.apache.axis2.maven2</groupId>
-        <artifactId>axis2-xsd2java-maven-plugin</artifactId>
-        <executions>
-          <execution>
-            <goals>
-              <goal>xsd2java</goal>
-            </goals>
-          </execution>
-          <configuration>
-            <outputFolder>${project.basedir}/target/generated-sources/java</outputFolder>
-            <xsdFiles>
-                <xsdFile>${project.basedir}/src/main/resources/xsd/attribute.xsd</xsdFile>
-            </xsdFiles>
-            <namespace2Packages>
-                <namespace2Package>http://www.example.org/schema/test=org.example.schema.test</namespace2Package>
-            </namespace2Packages>
-          </configuration>
-        </executions>
-      </plugin>
-    </plugins>
-  </build>
-------------------------
-
-  The plugin will be invoked automatically in the generate-sources
-  phase. You can also invoke it directly from the command line by
-  running the command
-
-+--------
-  mvn xsd2java:xsd2java
-+---------
+<!--
+  ~ 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.
+  -->
+
+Usage
+-----
+
+The XSD2Java plugin offers a single goal:
+
+* xsd2java (default): Reads one or more XSD-files class and generates the corresponding Java Axis2 ADB beans.
+
+To run the plugin, add the following section to your POM:
+
+    <build>
+      <plugins>
+        <plugin>
+          <groupId>org.apache.axis2.maven2</groupId>
+          <artifactId>axis2-xsd2java-maven-plugin</artifactId>
+          <executions>
+            <execution>
+              <goals>
+                <goal>xsd2java</goal>
+              </goals>
+            </execution>
+            <configuration>
+              <outputFolder>${project.basedir}/target/generated-sources/java</outputFolder>
+              <xsdFiles>
+                  <xsdFile>${project.basedir}/src/main/resources/xsd/attribute.xsd</xsdFile>
+              </xsdFiles>
+              <namespace2Packages>
+                  <namespace2Package>http://www.example.org/schema/test=org.example.schema.test</namespace2Package>
+              </namespace2Packages>
+            </configuration>
+          </executions>
+        </plugin>
+      </plugins>
+    </build>
+
+The plugin will be invoked automatically in the generate-sources
+phase. You can also invoke it directly from the command line by
+running the command
 
-The XSD2Java Goal
+    mvn xsd2java:xsd2java
 
-  The plugin reads the specified XSD files and creates the matching Axis2 ADB Java bean classes.  The mapping from
-  XSD target-namespaces to Java packages is specified with the <<<namespace2Packages>>> configuration element above.
+# The XSD2Java Goal
 
-  See the detailed documentation on {{{./xsd2java-mojo.html}properties}} for how to configure the goal.
+The plugin reads the specified XSD files and creates the matching Axis2 ADB Java bean classes.  The mapping from
+XSD target-namespaces to Java packages is specified with the `namespace2Packages` configuration element above.
+
+See the detailed documentation on [properties](xsd2java-mojo.html) for how to configure the goal.