Permalink
Browse files

Add maven plugin documentation

  • Loading branch information...
1 parent dbab784 commit 7f6b8694973e3cf890968ace10a1f3a4f1a56bc1 @martiell committed Nov 6, 2011
Showing with 1,585 additions and 0 deletions.
  1. +10 −0 maven/css/apache-maven-fluido.min.css
  2. +23 −0 maven/css/print.css
  3. +1 −0 maven/css/site.css
  4. +196 −0 maven/example.html
  5. +513 −0 maven/generate-mojo.html
  6. +199 −0 maven/help-mojo.html
  7. BIN maven/images/accessories-text-editor.png
  8. BIN maven/images/add.gif
  9. BIN maven/images/apache-maven-project-2.png
  10. BIN maven/images/application-certificate.png
  11. BIN maven/images/collapsed.png
  12. BIN maven/images/contact-new.png
  13. BIN maven/images/document-properties.png
  14. BIN maven/images/drive-harddisk.png
  15. BIN maven/images/expanded.png
  16. BIN maven/images/fix.gif
  17. BIN maven/images/icon_error_sml.gif
  18. BIN maven/images/icon_help_sml.gif
  19. BIN maven/images/icon_info_sml.gif
  20. BIN maven/images/icon_success_sml.gif
  21. BIN maven/images/icon_warning_sml.gif
  22. BIN maven/images/image-x-generic.png
  23. BIN maven/images/internet-web-browser.png
  24. BIN maven/images/logos/build-by-maven-black.png
  25. BIN maven/images/logos/build-by-maven-white.png
  26. BIN maven/images/logos/maven-feather.png
  27. BIN maven/images/network-server.png
  28. BIN maven/images/package-x-generic.png
  29. BIN maven/images/profiles/pre-release.png
  30. BIN maven/images/profiles/retired.png
  31. BIN maven/images/profiles/sandbox.png
  32. BIN maven/images/remove.gif
  33. BIN maven/images/rss.png
  34. BIN maven/images/update.gif
  35. BIN maven/images/window-new.png
  36. +115 −0 maven/index.html
  37. +23 −0 maven/js/apache-maven-fluido.min.js
  38. +143 −0 maven/plugin-info.html
  39. +115 −0 maven/project-info.html
  40. +115 −0 maven/project-reports.html
  41. +132 −0 maven/usage.html

Large diffs are not rendered by default.

Oops, something went wrong.
View
@@ -0,0 +1,23 @@
+/*
+ * 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.
+ */
+
+/* $Id: print.css 1201871 2011-11-14 20:18:24Z simonetripodi $ */
+
+#banner, #footer, #leftcol, #breadcrumbs, .docs #toc, .docs .courtesylinks, #leftColumn, #navColumn {display: none !important;}
+#bodyColumn, body.docs div.docs {margin: 0 !important;border: none !important}
View
@@ -0,0 +1 @@
+/* You can override this file with your own styles */
View
@@ -0,0 +1,196 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<!-- Generated by Apache Maven Doxia at Mar 9, 2013 -->
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+ <head>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <title></title>
+ <link rel="stylesheet" href="./css/apache-maven-fluido.min.css" />
+ <link rel="stylesheet" href="./css/site.css" />
+ <link rel="stylesheet" href="./css/print.css" media="print" />
+ <style>body{padding-top: 20px;}</style>
+
+
+ <script type="text/javascript" src="./js/apache-maven-fluido.min.js"></script>
+
+
+ <meta name="Date-Revision-yyyymmdd" content="20130309" />
+ <meta http-equiv="Content-Language" content="en" />
+
+ </head>
+ <body>
+
+
+
+ <div class="container-fluid">
+ <div id="banner">
+ <div class="pull-left"> <div id="bannerLeft">
+ <h2>mvn-scalaxb: Scalaxb Maven plugin</h2>
+ </div>
+ </div>
+ <div class="pull-right"> <div id="bannerRight">
+ <h2></h2>
+ </div>
+ </div>
+ <div class="clear"><hr/></div>
+ </div>
+
+ <div id="breadcrumbs">
+ <ul class="breadcrumb">
+
+
+
+
+
+
+ </ul>
+ </div>
+
+ <div id="leftColumn" class="sidebar">
+ <div class="well">
+
+
+ <h5>Usage</h5>
+ <ul>
+ <li class="none">
+ <a href="usage.html" title="Getting started">Getting started</a>
+ </li>
+ <li class="none">
+ <strong>Example project</strong>
+ </li>
+ </ul>
+ <h5>Goals</h5>
+ <ul>
+ <li class="none">
+ <a href="generate-mojo.html" title="generate">generate</a>
+ </li>
+ <li class="none">
+ <a href="help-mojo.html" title="help">help</a>
+ </li>
+ </ul>
+ <h5>Scalaxb</h5>
+ <ul>
+ <li class="none">
+ <a href="http://scalaxb.org/" class="externalLink" title="scalaxb.org">scalaxb.org</a>
+ </li>
+ <li class="none">
+ <a href="http://scalaxb.org/mvn-scalaxb" class="externalLink" title="mvn-scalaxb">mvn-scalaxb</a>
+ </li>
+ </ul>
+
+
+ <div id="lastPublished">
+ <span id="projectVersion">Version: 1.0.2-SNAPSHOT</span>
+ </div>
+
+
+ <div id="poweredBy">
+ <a href="http://maven.apache.org/" title="" class="poweredBy">
+ <img class="poweredBy" alt="" src="images/logos/maven-feather.png" width="0" height="0" />
+ </a>
+ </div>
+ </div>
+ </div>
+
+ <div id="bodyColumn" class="content">
+ <div id="contentBox">
+
+ <div class="section"><h2>Example project<a name="Example_project"></a></h2><p>A full example of using the scalaxb maven plugin is included below.</p><div class="section"><h3>pom.xml<a name="pom.xml"></a></h3><div><pre>&lt;project xmlns=&quot;http://maven.apache.org/POM/4.0.0&quot; xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot;
+ xsi:schemaLocation=&quot;http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd&quot;&gt;
+ &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
+
+ &lt;groupId&gt;org.scalaxb&lt;/groupId&gt;
+ &lt;artifactId&gt;scalaxb-example&lt;/artifactId&gt;
+ &lt;version&gt;0.1-SNAPSHOT&lt;/version&gt;
+
+ &lt;properties&gt;
+ &lt;project.build.sourceEncoding&gt;UTF-8&lt;/project.build.sourceEncoding&gt;
+ &lt;scala.version&gt;2.9.1&lt;/scala.version&gt;
+ &lt;/properties&gt;
+
+ &lt;dependencies&gt;
+
+ &lt;dependency&gt;
+ &lt;groupId&gt;org.scala-lang&lt;/groupId&gt;
+ &lt;artifactId&gt;scala-library&lt;/artifactId&gt;
+ &lt;version&gt;${scala.version}&lt;/version&gt;
+ &lt;/dependency&gt;
+
+ &lt;/dependencies&gt;
+
+ &lt;build&gt;
+ &lt;plugins&gt;
+
+ &lt;plugin&gt;
+ &lt;groupId&gt;org.scala-tools&lt;/groupId&gt;
+ &lt;artifactId&gt;maven-scala-plugin&lt;/artifactId&gt;
+ &lt;executions&gt;
+ &lt;execution&gt;
+ &lt;goals&gt;
+ &lt;goal&gt;compile&lt;/goal&gt;
+ &lt;goal&gt;testCompile&lt;/goal&gt;
+ &lt;/goals&gt;
+ &lt;/execution&gt;
+ &lt;/executions&gt;
+ &lt;/plugin&gt;
+
+ &lt;plugin&gt;
+ &lt;groupId&gt;org.scalaxb&lt;/groupId&gt;
+ &lt;artifactId&gt;scalaxb-maven-plugin&lt;/artifactId&gt;
+ &lt;configuration&gt;
+ &lt;packageName&gt;ipo&lt;/packageName&gt;
+ &lt;/configuration&gt;
+ &lt;executions&gt;
+ &lt;execution&gt;
+ &lt;id&gt;scalaxb&lt;/id&gt;
+ &lt;goals&gt;
+ &lt;goal&gt;generate&lt;/goal&gt;
+ &lt;/goals&gt;
+ &lt;/execution&gt;
+ &lt;/executions&gt;
+ &lt;/plugin&gt;
+
+ &lt;/plugins&gt;
+ &lt;/build&gt;
+
+&lt;/project&gt;</pre></div></div><div class="section"><h3>src/main/xsd/ipo.xsd<a name="srcmainxsdipo.xsd"></a></h3><div><pre>&lt;xs:schema targetNamespace=&quot;http://www.example.com/IPO&quot;
+ elementFormDefault=&quot;qualified&quot;
+ xmlns=&quot;http://www.example.com/IPO&quot;
+ xmlns:xs=&quot;http://www.w3.org/2001/XMLSchema&quot;
+ xmlns:ipo=&quot;http://www.example.com/IPO&quot;&gt;
+ &lt;xs:complexType name=&quot;Address&quot;&gt;
+ &lt;xs:sequence&gt;
+ &lt;xs:element name=&quot;name&quot; type=&quot;xs:string&quot;/&gt;
+ &lt;xs:element name=&quot;street&quot; type=&quot;xs:string&quot;/&gt;
+ &lt;xs:element name=&quot;city&quot; type=&quot;xs:string&quot;/&gt;
+ &lt;/xs:sequence&gt;
+ &lt;/xs:complexType&gt;
+
+ &lt;xs:complexType name=&quot;USAddress&quot;&gt;
+ &lt;xs:complexContent&gt;
+ &lt;xs:extension base=&quot;ipo:Address&quot;&gt;
+ &lt;xs:sequence&gt;
+ &lt;xs:element name=&quot;state&quot; type=&quot;xs:string&quot;/&gt;
+ &lt;xs:element name=&quot;zip&quot; type=&quot;xs:positiveInteger&quot;/&gt;
+ &lt;/xs:sequence&gt;
+ &lt;/xs:extension&gt;
+ &lt;/xs:complexContent&gt;
+ &lt;/xs:complexType&gt;
+&lt;/xs:schema&gt;</pre></div></div></div>
+ </div>
+ </div>
+ </div>
+
+ <footer class="footer">
+ <div class="container-fluid">
+ <div class="row span16">Copyright &copy; 2013.
+ All Rights Reserved.
+
+ <li id="publishDate" class="pull-right">Last Published: March 2013</li>
+ </div>
+
+
+
+ </div>
+ </footer>
+ </body>
+</html>
Oops, something went wrong.

0 comments on commit 7f6b869

Please sign in to comment.