当前位置:   article > 正文

Maven JAXB 2.x Plugin plugin.xml_org.jvnet.jaxb2.maven2

org.jvnet.jaxb2.maven2

Maven build plugin config

<build>
		<plugins>
			<plugin>
				<groupId>org.springframework.boot</groupId>
				<artifactId>spring-boot-maven-plugin</artifactId>
			</plugin>
			<!-- tag::wsdl[] -->
			<plugin>
					<groupId>org.jvnet.jaxb2.maven2</groupId>
					<artifactId>maven-jaxb2-plugin</artifactId>
					<version>0.14.0</version>
					<executions>
						<execution>
							<goals>
								<goal>generate</goal>
							</goals>
						</execution>
					</executions>
					<configuration>
						<schemaLanguage>WSDL</schemaLanguage>
						<generatePackage>com.example.consumingwebservice.wsdl</generatePackage>
						<schemas>
							<schema>
								<url>http://localhost:8080/ws/countries.wsdl</url>
							</schema>
						</schemas>
					</configuration>
			</plugin>
			<!-- end::wsdl[] -->
		</plugins>
	</build>
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31

Maven JAXB 2.x Plugin plugin.xml

<?xml version="1.0" encoding="UTF-8"?>

<!-- Generated by maven-plugin-tools 3.5 on 2018-05-31 -->

<plugin>
  <name>Maven JAXB 2.x Plugin</name>
  <description>Maven2 plugin for JAXB 2.x XJC compiler to generate Java sources from XML Schemas.</description>
  <groupId>org.jvnet.jaxb2.maven2</groupId>
  <artifactId>maven-jaxb2-plugin</artifactId>
  <version>0.14.0</version>
  <goalPrefix>jaxb2</goalPrefix>
  <isolatedRealm>false</isolatedRealm>
  <inheritedByDefault>true</inheritedByDefault>
  <mojos>
    <mojo>
      <goal>generate</goal>
      <description>JAXB 2.x Mojo.</description>
      <requiresDependencyResolution>compile</requiresDependencyResolution>
      <requiresDirectInvocation>false</requiresDirectInvocation>
      <requiresProject>true</requiresProject>
      <requiresReports>false</requiresReports>
      <aggregator>false</aggregator>
      <requiresOnline>false</requiresOnline>
      <inheritedByDefault>true</inheritedByDefault>
      <phase>generate-sources</phase>
      <implementation>org.jvnet.mjiip.v_2.XJC2Mojo</implementation>
      <language>java</language>
      <instantiationStrategy>per-lookup</instantiationStrategy>
      <executionStrategy>once-per-session</executionStrategy>
      <requiresDependencyCollection>compile</requiresDependencyCollection>
      <threadSafe>true</threadSafe>
      <parameters>
        <parameter>
          <name>accessExternalDTD</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>Restricts access to external DTDs and external Entity References to the
protocols specified. Value: a list of protocols separated by comma. A
protocol is the scheme portion of a {@link java.net.URI}, or in the case
of the JAR protocol, &quot;jar&quot; plus the scheme portion separated by colon.
The keyword &quot;all&quot; grants permission to all protocols.</description>
        </parameter>
        <parameter>
          <name>accessExternalSchema</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>Restrict access to the protocols specified for external reference set by
the schemaLocation attribute, Import and Include element. Value: a list
of protocols separated by comma. A protocol is the scheme portion of a
{@link java.net.URI}, or in the case of the JAR protocol, &quot;jar&quot; plus the
scheme portion separated by colon. The keyword &quot;all&quot; grants permission to
all protocols.</description>
        </parameter>
        <parameter>
          <name>addCompileSourceRoot</name>
          <type>boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description>If set to true (default), adds target directory as a compile source root
of this Maven project.</description>
        </parameter>
        <parameter>
          <name>addIfExistsToEpisodeSchemaBindings</name>
          <type>boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description>If &lt;code&gt;true&lt;/code&gt; (default), adds &lt;code&gt;if-exists=&quot;true&quot;&lt;/code&gt;
attributes to the &lt;code&gt;bindings&lt;/code&gt; elements associated with schemas
(via &lt;code&gt;scd=&quot;x-schema::...&quot;&lt;/code&gt;) in the generated episode files.
This is necessary to avoid the annoying `SCD &quot;x-schema::tns&quot; didn&apos;t
match any schema component` errors.</description>
        </parameter>
        <parameter>
          <name>addTestCompileSourceRoot</name>
          <type>boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description>If set to true, adds target directory as a test compile source root of
this Maven project. Default value is false.</description>
        </parameter>
        <parameter>
          <name>args</name>
          <type>java.util.List</type>
          <required>false</required>
          <editable>true</editable>
          <description>&lt;p&gt;
A list of extra XJC&apos;s command-line arguments (items must include the dash
&apos;-&apos;). Use this argument to enable the JAXB2 plugins you want to use.
&lt;/p&gt;
&lt;p&gt;
Arguments set here take precedence over other mojo parameters.
&lt;/p&gt;</description>
        </parameter>
        <parameter>
          <name>bindingDirectory</name>
          <type>java.io.File</type>
          <required>false</required>
          <editable>true</editable>
          <description>&lt;p&gt;
The source directory containing the *.xjb binding files.
&lt;/p&gt;
&lt;p&gt;
If left undefined, then the &lt;code&gt;schemaDirectory&lt;/code&gt; is assumed.
&lt;/p&gt;</description>
        </parameter>
        <parameter>
          <name>bindingExcludes</name>
          <type>java.lang.String[]</type>
          <required>false</required>
          <editable>true</editable>
          <description>A list of regular expression file search patterns to specify the binding
files to be excluded from the &lt;code&gt;bindingIncludes&lt;/code&gt;. Searching is
based from the root of bindingDirectory.</description>
        </parameter>
        <parameter>
          <name>bindingIncludes</name>
          <type>java.lang.String[]</type>
          <required>false</required>
          <editable>true</editable>
          <description>&lt;p&gt;
A list of regular expression file search patterns to specify the binding
files to be processed. Searching is based from the root of
&lt;code&gt;bindingDirectory&lt;/code&gt;.
&lt;/p&gt;
&lt;p&gt;
If left undefined, then all *.xjb files in schemaDirectory will be
processed.
&lt;/p&gt;</description>
        </parameter>
        <parameter>
          <name>bindings</name>
          <type>org.jvnet.jaxb2.maven2.ResourceEntry[]</type>
          <required>false</required>
          <editable>true</editable>
          <description>A list of binding resources which could includes file sets, URLs, Maven
artifact resources.</description>
        </parameter>
        <parameter>
          <name>catalog</name>
          <type>java.io.File</type>
          <required>false</required>
          <editable>true</editable>
          <description>Specify the catalog file to resolve external entity references (xjc&apos;s
-catalog option) &lt;/p&gt;
&lt;p&gt;
Support TR9401, XCatalog, and OASIS XML Catalog format. See the
catalog-resolver sample and this article for details.
&lt;/p&gt;</description>
        </parameter>
        <parameter>
          <name>catalogResolver</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>Provides the class name of the catalog resolver.</description>
        </parameter>
        <parameter>
          <name>catalogs</name>
          <type>org.jvnet.jaxb2.maven2.ResourceEntry[]</type>
          <required>false</required>
          <editable>true</editable>
          <description>A list of catalog resources which could includes file sets, URLs, Maven
artifact resources.</description>
        </parameter>
        <parameter>
          <name>cleanPackageDirectories</name>
          <type>boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description>&lt;p&gt;
If &apos;true&apos;, package directories will be cleaned before the XJC binding
compiler generates the source files.
&lt;/p&gt;</description>
        </parameter>
        <parameter>
          <name>debug</name>
          <type>boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description>&lt;p&gt;
If &apos;true&apos;, the XJC compiler is set to debug mode (xjc&apos;s -debug option).
&lt;/p&gt;
&lt;p&gt;
It is automatically set to &apos;true&apos; when maven is run in debug mode (mvn&apos;s
-X option).
&lt;/p&gt;</description>
        </parameter>
        <parameter>
          <name>disableDefaultExcludes</name>
          <type>boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description>If &apos;true&apos;, maven&apos;s default exludes are NOT added to all the excludes
lists.</description>
        </parameter>
        <parameter>
          <name>disableXmlSecurity</name>
          <type>boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description>If &apos;true&apos;, disables XML security features when parsing XML documents;
xjc&apos;s -disableXmlSecurity option.</description>
        </parameter>
        <parameter>
          <name>enableExternalEntityProcessing</name>
          <type>boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description>Enables external entity processing.</description>
        </parameter>
        <parameter>
          <name>enableIntrospection</name>
          <type>boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description>If &apos;true&apos;, enables correct generation of Boolean getters/setters to
enable Bean Introspection apis; xjc&apos;s -enableIntrospection option.</description>
        </parameter>
        <parameter>
          <name>encoding</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>Encoding for the generated sources, defaults to
${project.build.sourceEncoding}.</description>
        </parameter>
        <parameter>
          <name>episode</name>
          <type>boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description>If true, the episode file (describing mapping of elements and types to
classes for the compiled schema) will be generated.</description>
        </parameter>
        <parameter>
          <name>episodeFile</name>
          <type>java.io.File</type>
          <required>false</required>
          <editable>true</editable>
          <description>Target location of the episode file. By default it is
target/generated-sources/xjc/META-INF/sun-jaxb.episode so that the
episode file will appear as META-INF/sun-jaxb.episode in the JAR - just
as XJC wants it.</description>
        </parameter>
        <parameter>
          <name>episodes</name>
          <type>org.apache.maven.model.Dependency[]</type>
          <required>false</required>
          <editable>true</editable>
          <description>If you want to use existing artifacts as episodes for separate
compilation, configure them as episodes/episode elements. It is assumed
that episode artifacts contain an appropriate META-INF/sun-jaxb.episode
resource.</description>
        </parameter>
        <parameter>
          <name>extension</name>
          <type>boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description>If &apos;true&apos;, the XJC binding compiler will run in the extension mode (xjc&apos;s
-extension option). Otherwise, it will run in the strict conformance
mode.</description>
        </parameter>
        <parameter>
          <name>forceRegenerate</name>
          <type>boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description>If true, no up-to-date check is performed and the XJC always re-generates
the sources. Otherwise schemas will only be recompiled if anything has
changed.</description>
        </parameter>
        <parameter>
          <name>generateDirectory</name>
          <type>java.io.File</type>
          <required>true</required>
          <editable>true</editable>
          <description>&lt;p&gt;
Generated code will be written under this directory.
&lt;/p&gt;
&lt;p&gt;
For instance, if you specify &lt;code&gt;generateDirectory=&quot;doe/ray&quot;&lt;/code&gt; and
&lt;code&gt;generatePackage=&quot;org.here&quot;&lt;/code&gt;, then files are generated to
&lt;code&gt;doe/ray/org/here&lt;/code&gt;.
&lt;/p&gt;</description>
        </parameter>
        <parameter>
          <name>generatePackage</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>&lt;p&gt;
The generated classes will all be placed under this Java package (xjc&apos;s
-p option), unless otherwise specified in the schemas.
&lt;/p&gt;
&lt;p&gt;
If left unspecified, the package will be derived from the schemas only.
&lt;/p&gt;</description>
        </parameter>
        <parameter>
          <name>localRepository</name>
          <type>org.apache.maven.artifact.repository.ArtifactRepository</type>
          <required>true</required>
          <editable>true</editable>
          <description>Location of the local repository.</description>
        </parameter>
        <parameter>
          <name>locale</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>Locale for the generated sources.</description>
        </parameter>
        <parameter>
          <name>markGenerated</name>
          <type>boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description>If true, marks generated classes using a @Generated annotation - i.e.
turns on XJC -mark-generated option. Default is false.</description>
        </parameter>
        <parameter>
          <name>noFileHeader</name>
          <type>boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description>If &apos;true&apos;, suppresses generation of a file header with timestamp, xjc&apos;s
-no-header option.</description>
        </parameter>
        <parameter>
          <name>otherDepends</name>
          <type>java.io.File[]</type>
          <required>false</required>
          <editable>true</editable>
          <description>A list of of input files or URLs to consider during the up-to-date. By
default it always considers: 1. schema files, 2. binding files, 3.
catalog file, and 4. the pom.xml file of the project executing this
plugin. Deprecated, use {@link #otherDependsIncludes} and {@link #otherDependsExcludes} instead.</description>
        </parameter>
        <parameter>
          <name>otherDependsExcludes</name>
          <type>java.lang.String[]</type>
          <required>false</required>
          <editable>true</editable>
          <description></description>
        </parameter>
        <parameter>
          <name>otherDependsIncludes</name>
          <type>java.lang.String[]</type>
          <required>false</required>
          <editable>true</editable>
          <description></description>
        </parameter>
        <parameter>
          <name>packageLevelAnnotations</name>
          <type>boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description>If &apos;false&apos;, suppresses generation of package level annotations
(package-info.java), xjc&apos;s -npa option.</description>
        </parameter>
        <parameter>
          <name>pluginArtifacts</name>
          <type>java.util.List</type>
          <required>true</required>
          <editable>true</editable>
          <description>Plugin artifacts.</description>
        </parameter>
        <parameter>
          <name>plugins</name>
          <type>org.apache.maven.model.Dependency[]</type>
          <required>false</required>
          <editable>true</editable>
          <description>XJC plugins to be made available to XJC. They still need to be activated
by using &amp;lt;args/&amp;gt; and enable plugin activation option.</description>
        </parameter>
        <parameter>
          <name>produces</name>
          <type>java.lang.String[]</type>
          <required>false</required>
          <editable>true</editable>
          <description>Specifies patterns of files produced by this plugin. This is used to
check if produced files are up-to-date. Default value is ** /*.*, **
/*.java, ** /bgm.ser, ** /jaxb.properties.</description>
        </parameter>
        <parameter>
          <name>project</name>
          <type>org.apache.maven.project.MavenProject</type>
          <required>false</required>
          <editable>false</editable>
          <description></description>
        </parameter>
        <parameter>
          <name>proxyHost</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description></description>
        </parameter>
        <parameter>
          <name>proxyPassword</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description></description>
        </parameter>
        <parameter>
          <name>proxyPort</name>
          <type>int</type>
          <required>false</required>
          <editable>true</editable>
          <description></description>
        </parameter>
        <parameter>
          <name>proxyUsername</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description></description>
        </parameter>
        <parameter>
          <name>readOnly</name>
          <type>boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description>If &apos;true&apos;, the generated Java source files are set as read-only (xjc&apos;s
-readOnly option).</description>
        </parameter>
        <parameter>
          <name>removeOldOutput</name>
          <type>boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description>&lt;p&gt;
If &apos;true&apos;, the generateDirectory will be deleted before the XJC binding
compiler recompiles the source files. Default is false.
&lt;/p&gt;
&lt;p&gt;
Note that if set to &apos;false&apos;, the up-to-date check might not work, since
XJC does not regenerate all files (i.e. files for &quot;any&quot; elements under
&apos;xjc/org/w3/_2001/xmlschema&apos; directory).
&lt;/p&gt;</description>
        </parameter>
        <parameter>
          <name>scanDependenciesForBindings</name>
          <type>boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description>Scan all compile-scoped project dependencies for XML binding files.</description>
        </parameter>
        <parameter>
          <name>schemaDirectory</name>
          <type>java.io.File</type>
          <required>true</required>
          <editable>true</editable>
          <description>The source directory containing *.xsd schema files. Notice that binding
files are searched by default in this directory.</description>
        </parameter>
        <parameter>
          <name>schemaExcludes</name>
          <type>java.lang.String[]</type>
          <required>false</required>
          <editable>true</editable>
          <description>A list of regular expression file search patterns to specify the schemas
to be excluded from the &lt;code&gt;schemaIncludes&lt;/code&gt; list. Searching is
based from the root of schemaDirectory.</description>
        </parameter>
        <parameter>
          <name>schemaIncludes</name>
          <type>java.lang.String[]</type>
          <required>false</required>
          <editable>true</editable>
          <description>&lt;p&gt;
A list of regular expression file search patterns to specify the schemas
to be processed. Searching is based from the root of
&lt;code&gt;schemaDirectory&lt;/code&gt;.
&lt;/p&gt;
&lt;p&gt;
If left undefined, then all &lt;code&gt;*.xsd&lt;/code&gt; files in
&lt;code&gt;schemaDirectory&lt;/code&gt; will be processed.
&lt;/p&gt;</description>
        </parameter>
        <parameter>
          <name>schemaLanguage</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>Type of input schema language. One of: DTD, XMLSCHEMA, RELAXNG,
RELAXNG_COMPACT, WSDL, AUTODETECT. If unspecified, it is assumed
AUTODETECT.</description>
        </parameter>
        <parameter>
          <name>schemas</name>
          <type>org.jvnet.jaxb2.maven2.ResourceEntry[]</type>
          <required>false</required>
          <editable>true</editable>
          <description>A list of schema resources which could includes file sets, URLs, Maven
artifact resources.</description>
        </parameter>
        <parameter>
          <name>settings</name>
          <type>org.apache.maven.settings.Settings</type>
          <required>false</required>
          <editable>false</editable>
          <description></description>
        </parameter>
        <parameter>
          <name>specVersion</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>Version of the JAXB specification (ex. 2.0, 2.1 or 2.2).</description>
        </parameter>
        <parameter>
          <name>strict</name>
          <type>boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description>If &apos;true&apos; (default), Perform strict validation of the input schema
(disabled by the xjc&apos;s -nv option).</description>
        </parameter>
        <parameter>
          <name>useActiveProxyAsHttpproxy</name>
          <type>boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description>If set to &lt;code&gt;true&lt;/code&gt;, passes Maven&apos;s active proxy settings to XJC.
Default value is &lt;code&gt;false&lt;/code&gt;. Proxy settings are passed using the
&lt;code&gt;-httpproxy&lt;/code&gt; argument in the form
&lt;code&gt;[user[:password]@]proxyHost[:proxyPort]&lt;/code&gt;. This sets both HTTP
as well as HTTPS proxy.</description>
        </parameter>
        <parameter>
          <name>useDependenciesAsEpisodes</name>
          <type>boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description>Use all of the compile-scope project dependencies as episode artifacts.
It is assumed that episode artifacts contain an appropriate
META-INF/sun-jaxb.episode resource. Default is false.</description>
        </parameter>
        <parameter>
          <name>verbose</name>
          <type>boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description>&lt;p&gt;
If &apos;true&apos;, the plugin and the XJC compiler are both set to verbose mode
(xjc&apos;s -verbose option).
&lt;/p&gt;
&lt;p&gt;
It is automatically set to &apos;true&apos; when maven is run in debug mode (mvn&apos;s
-X option).
&lt;/p&gt;</description>
        </parameter>
        <parameter>
          <name>writeCode</name>
          <type>boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description>If &apos;false&apos;, the plugin will not write the generated code to disk.</description>
        </parameter>
      </parameters>
      <configuration>
        <accessExternalDTD implementation="java.lang.String" default-value="all">${maven.xjc2.accessExternalDTD}</accessExternalDTD>
        <accessExternalSchema implementation="java.lang.String" default-value="all">${maven.xjc2.accessExternalSchema}</accessExternalSchema>
        <addCompileSourceRoot implementation="boolean" default-value="true">${maven.xjc2.addCompileSourceRoot}</addCompileSourceRoot>
        <addIfExistsToEpisodeSchemaBindings implementation="boolean" default-value="true">${maven.xjc2.addIfExistsToEpisodeSchemaBindings}</addIfExistsToEpisodeSchemaBindings>
        <addTestCompileSourceRoot implementation="boolean" default-value="false">${maven.xjc2.addTestCompileSourceRoot}</addTestCompileSourceRoot>
        <bindingDirectory implementation="java.io.File">${maven.xjc2.bindingDirectory}</bindingDirectory>
        <catalog implementation="java.io.File">${maven.xjc2.catalog}</catalog>
        <catalogResolver implementation="java.lang.String">${maven.xjc2.catalogResolver}</catalogResolver>
        <cleanPackageDirectories implementation="boolean" default-value="true">${maven.xjc2.removeOldPackages}</cleanPackageDirectories>
        <debug implementation="boolean" default-value="false">${maven.xjc2.debug}</debug>
        <disableDefaultExcludes implementation="boolean" default-value="false">${maven.xjc2.disableDefaultExcludes}</disableDefaultExcludes>
        <disableXmlSecurity implementation="boolean" default-value="true">${maven.xjc2.disableXmlSecurity}</disableXmlSecurity>
        <enableExternalEntityProcessing implementation="boolean" default-value="true">${maven.xjc2.enableExternalEntityProcessing}</enableExternalEntityProcessing>
        <enableIntrospection implementation="boolean" default-value="false">${maven.xjc2.enableIntrospection}</enableIntrospection>
        <encoding implementation="java.lang.String" default-value="${project.build.sourceEncoding}">${encoding}</encoding>
        <episode implementation="boolean" default-value="true">${maven.xjc2.episode}</episode>
        <episodeFile implementation="java.io.File">${maven.xjc2.episodeFile}</episodeFile>
        <extension implementation="boolean" default-value="true">${maven.xjc2.extension}</extension>
        <forceRegenerate implementation="boolean" default-value="false">${maven.xjc2.forceRegenerate}</forceRegenerate>
        <generateDirectory implementation="java.io.File" default-value="${project.build.directory}/generated-sources/xjc">${maven.xjc2.generateDirectory}</generateDirectory>
        <generatePackage implementation="java.lang.String">${maven.xjc2.generatePackage}</generatePackage>
        <localRepository implementation="org.apache.maven.artifact.repository.ArtifactRepository" default-value="${localRepository}"/>
        <locale implementation="java.lang.String">${locale}</locale>
        <markGenerated implementation="boolean" default-value="false">${maven.xjc2.markGenerated}</markGenerated>
        <noFileHeader implementation="boolean" default-value="false">${maven.xjc2.noFileHeader}</noFileHeader>
        <packageLevelAnnotations implementation="boolean" default-value="true">${maven.xjc2.packageLevelAnnotations}</packageLevelAnnotations>
        <pluginArtifacts implementation="java.util.List" default-value="${plugin.artifacts}"/>
        <project implementation="org.apache.maven.project.MavenProject" default-value="${project}"/>
        <proxyHost implementation="java.lang.String">${maven.xjc2.proxyHost}</proxyHost>
        <proxyPassword implementation="java.lang.String">${maven.xjc2.proxyPassword}</proxyPassword>
        <proxyPort implementation="int">${maven.xjc2.proxyPort}</proxyPort>
        <proxyUsername implementation="java.lang.String">${maven.xjc2.proxyUsername}</proxyUsername>
        <readOnly implementation="boolean" default-value="false">${maven.xjc2.readOnly}</readOnly>
        <removeOldOutput implementation="boolean" default-value="false">${maven.xjc2.removeOldOutput}</removeOldOutput>
        <scanDependenciesForBindings implementation="boolean" default-value="false"/>
        <schemaDirectory implementation="java.io.File" default-value="src/main/resources">${maven.xjc2.schemaDirectory}</schemaDirectory>
        <schemaLanguage implementation="java.lang.String">${maven.xjc2.schemaLanguage}</schemaLanguage>
        <settings implementation="org.apache.maven.settings.Settings" default-value="${settings}"/>
        <specVersion implementation="java.lang.String" default-value="2.2"/>
        <strict implementation="boolean" default-value="true">${maven.xjc2.strict}</strict>
        <useActiveProxyAsHttpproxy implementation="boolean" default-value="false">${maven.xjc2.useActiveProxyAsHttpproxy}</useActiveProxyAsHttpproxy>
        <verbose implementation="boolean" default-value="false">${maven.xjc2.verbose}</verbose>
        <writeCode implementation="boolean" default-value="true">${maven.xjc2.writeCode}</writeCode>
      </configuration>
      <requirements>
        <requirement>
          <role>org.apache.maven.artifact.factory.ArtifactFactory</role>
          <field-name>artifactFactory</field-name>
        </requirement>
        <requirement>
          <role>org.apache.maven.artifact.metadata.ArtifactMetadataSource</role>
          <field-name>artifactMetadataSource</field-name>
        </requirement>
        <requirement>
          <role>org.apache.maven.artifact.resolver.ArtifactResolver</role>
          <field-name>artifactResolver</field-name>
        </requirement>
        <requirement>
          <role>org.sonatype.plexus.build.incremental.BuildContext</role>
          <field-name>buildContext</field-name>
        </requirement>
        <requirement>
          <role>org.apache.maven.project.MavenProjectBuilder</role>
          <field-name>mavenProjectBuilder</field-name>
        </requirement>
      </requirements>
    </mojo>
    <mojo>
      <goal>help</goal>
      <description>Display help information on maven-jaxb2-plugin.&lt;br&gt;
Call &lt;code&gt;mvn jaxb2:help -Ddetail=true -Dgoal=&amp;lt;goal-name&amp;gt;&lt;/code&gt; to display parameter details.</description>
      <requiresDirectInvocation>false</requiresDirectInvocation>
      <requiresProject>false</requiresProject>
      <requiresReports>false</requiresReports>
      <aggregator>false</aggregator>
      <requiresOnline>false</requiresOnline>
      <inheritedByDefault>true</inheritedByDefault>
      <implementation>org.jvnet.mjiip.v_2.HelpMojo</implementation>
      <language>java</language>
      <instantiationStrategy>per-lookup</instantiationStrategy>
      <executionStrategy>once-per-session</executionStrategy>
      <threadSafe>true</threadSafe>
      <parameters>
        <parameter>
          <name>detail</name>
          <type>boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description>If &lt;code&gt;true&lt;/code&gt;, display all settable properties for each goal.</description>
        </parameter>
        <parameter>
          <name>goal</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>The name of the goal for which to show help. If unspecified, all goals will be displayed.</description>
        </parameter>
        <parameter>
          <name>indentSize</name>
          <type>int</type>
          <required>false</required>
          <editable>true</editable>
          <description>The number of spaces per indentation level, should be positive.</description>
        </parameter>
        <parameter>
          <name>lineLength</name>
          <type>int</type>
          <required>false</required>
          <editable>true</editable>
          <description>The maximum length of a display line, should be positive.</description>
        </parameter>
      </parameters>
      <configuration>
        <detail implementation="boolean" default-value="false">${detail}</detail>
        <goal implementation="java.lang.String">${goal}</goal>
        <indentSize implementation="int" default-value="2">${indentSize}</indentSize>
        <lineLength implementation="int" default-value="80">${lineLength}</lineLength>
      </configuration>
    </mojo>
  </mojos>
  <dependencies>
    <dependency>
      <groupId>org.jvnet.jaxb2.maven2</groupId>
      <artifactId>maven-jaxb2-plugin-core</artifactId>
      <type>jar</type>
      <version>0.14.0</version>
    </dependency>
    <dependency>
      <groupId>org.slf4j</groupId>
      <artifactId>slf4j-api</artifactId>
      <type>jar</type>
      <version>1.7.25</version>
    </dependency>
    <dependency>
      <groupId>org.apache.commons</groupId>
      <artifactId>commons-lang3</artifactId>
      <type>jar</type>
      <version>3.2.1</version>
    </dependency>
    <dependency>
      <groupId>com.sun.org.apache.xml.internal</groupId>
      <artifactId>resolver</artifactId>
      <type>jar</type>
      <version>20050927</version>
    </dependency>
    <dependency>
      <groupId>org.glassfish.jaxb</groupId>
      <artifactId>txw2</artifactId>
      <type>jar</type>
      <version>2.3.0</version>
    </dependency>
    <dependency>
      <groupId>org.apache.maven</groupId>
      <artifactId>maven-plugin-api</artifactId>
      <type>jar</type>
      <version>2.0.9</version>
    </dependency>
    <dependency>
      <groupId>org.sonatype.plexus</groupId>
      <artifactId>plexus-build-api</artifactId>
      <type>jar</type>
      <version>0.0.7</version>
    </dependency>
    <dependency>
      <groupId>org.apache.maven</groupId>
      <artifactId>maven-project</artifactId>
      <type>jar</type>
      <version>2.0.9</version>
    </dependency>
    <dependency>
      <groupId>org.apache.maven</groupId>
      <artifactId>maven-settings</artifactId>
      <type>jar</type>
      <version>2.0.9</version>
    </dependency>
    <dependency>
      <groupId>org.apache.maven</groupId>
      <artifactId>maven-profile</artifactId>
      <type>jar</type>
      <version>2.0.9</version>
    </dependency>
    <dependency>
      <groupId>org.apache.maven</groupId>
      <artifactId>maven-model</artifactId>
      <type>jar</type>
      <version>2.0.9</version>
    </dependency>
    <dependency>
      <groupId>org.apache.maven</groupId>
      <artifactId>maven-artifact-manager</artifactId>
      <type>jar</type>
      <version>2.0.9</version>
    </dependency>
    <dependency>
      <groupId>org.apache.maven</groupId>
      <artifactId>maven-repository-metadata</artifactId>
      <type>jar</type>
      <version>2.0.9</version>
    </dependency>
    <dependency>
      <groupId>org.apache.maven.wagon</groupId>
      <artifactId>wagon-provider-api</artifactId>
      <type>jar</type>
      <version>1.0-beta-2</version>
    </dependency>
    <dependency>
      <groupId>org.apache.maven</groupId>
      <artifactId>maven-plugin-registry</artifactId>
      <type>jar</type>
      <version>2.0.9</version>
    </dependency>
    <dependency>
      <groupId>org.codehaus.plexus</groupId>
      <artifactId>plexus-container-default</artifactId>
      <type>jar</type>
      <version>1.0-alpha-9-stable-1</version>
    </dependency>
    <dependency>
      <groupId>classworlds</groupId>
      <artifactId>classworlds</artifactId>
      <type>jar</type>
      <version>1.1-alpha-2</version>
    </dependency>
    <dependency>
      <groupId>org.codehaus.plexus</groupId>
      <artifactId>plexus-utils</artifactId>
      <type>jar</type>
      <version>1.5.15</version>
    </dependency>
    <dependency>
      <groupId>org.jvnet.jaxb2.maven2</groupId>
      <artifactId>maven-jaxb23-plugin</artifactId>
      <type>jar</type>
      <version>0.14.0</version>
    </dependency>
    <dependency>
      <groupId>org.glassfish.jaxb</groupId>
      <artifactId>jaxb-runtime</artifactId>
      <type>jar</type>
      <version>2.3.0</version>
    </dependency>
    <dependency>
      <groupId>org.glassfish.jaxb</groupId>
      <artifactId>jaxb-core</artifactId>
      <type>jar</type>
      <version>2.3.0</version>
    </dependency>
    <dependency>
      <groupId>javax.xml.bind</groupId>
      <artifactId>jaxb-api</artifactId>
      <type>jar</type>
      <version>2.3.0</version>
    </dependency>
    <dependency>
      <groupId>org.jvnet.staxex</groupId>
      <artifactId>stax-ex</artifactId>
      <type>jar</type>
      <version>1.7.8</version>
    </dependency>
    <dependency>
      <groupId>com.sun.xml.fastinfoset</groupId>
      <artifactId>FastInfoset</artifactId>
      <type>jar</type>
      <version>1.2.13</version>
    </dependency>
    <dependency>
      <groupId>org.glassfish.jaxb</groupId>
      <artifactId>jaxb-xjc-jdk9</artifactId>
      <type>jar</type>
      <version>2.3.0</version>
    </dependency>
    <dependency>
      <groupId>org.glassfish.jaxb</groupId>
      <artifactId>jaxb-xjc</artifactId>
      <type>jar</type>
      <version>2.3.0</version>
    </dependency>
    <dependency>
      <groupId>com.sun.xml.dtd-parser</groupId>
      <artifactId>dtd-parser</artifactId>
      <type>jar</type>
      <version>1.2</version>
    </dependency>
    <dependency>
      <groupId>org.glassfish.jaxb</groupId>
      <artifactId>xsom</artifactId>
      <type>jar</type>
      <version>2.3.0</version>
    </dependency>
    <dependency>
      <groupId>org.glassfish.jaxb</groupId>
      <artifactId>codemodel</artifactId>
      <type>jar</type>
      <version>2.3.0</version>
    </dependency>
    <dependency>
      <groupId>com.sun.xml.bind.external</groupId>
      <artifactId>rngom</artifactId>
      <type>jar</type>
      <version>2.3.0</version>
    </dependency>
    <dependency>
      <groupId>com.sun.istack</groupId>
      <artifactId>istack-commons-tools</artifactId>
      <type>jar</type>
      <version>3.0.5</version>
    </dependency>
    <dependency>
      <groupId>com.sun.istack</groupId>
      <artifactId>istack-commons-runtime</artifactId>
      <type>jar</type>
      <version>3.0.5</version>
    </dependency>
    <dependency>
      <groupId>relaxngDatatype</groupId>
      <artifactId>relaxngDatatype</artifactId>
      <type>jar</type>
      <version>20020414</version>
    </dependency>
    <dependency>
      <groupId>com.sun.activation</groupId>
      <artifactId>javax.activation</artifactId>
      <type>jar</type>
      <version>1.2.0</version>
    </dependency>
    <dependency>
      <groupId>org.apache.maven.plugin-tools</groupId>
      <artifactId>maven-plugin-annotations</artifactId>
      <type>jar</type>
      <version>3.5</version>
    </dependency>
    <dependency>
      <groupId>org.apache.maven</groupId>
      <artifactId>maven-artifact</artifactId>
      <type>jar</type>
      <version>2.0.9</version>
    </dependency>
  </dependencies>
</plugin>
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190
  • 191
  • 192
  • 193
  • 194
  • 195
  • 196
  • 197
  • 198
  • 199
  • 200
  • 201
  • 202
  • 203
  • 204
  • 205
  • 206
  • 207
  • 208
  • 209
  • 210
  • 211
  • 212
  • 213
  • 214
  • 215
  • 216
  • 217
  • 218
  • 219
  • 220
  • 221
  • 222
  • 223
  • 224
  • 225
  • 226
  • 227
  • 228
  • 229
  • 230
  • 231
  • 232
  • 233
  • 234
  • 235
  • 236
  • 237
  • 238
  • 239
  • 240
  • 241
  • 242
  • 243
  • 244
  • 245
  • 246
  • 247
  • 248
  • 249
  • 250
  • 251
  • 252
  • 253
  • 254
  • 255
  • 256
  • 257
  • 258
  • 259
  • 260
  • 261
  • 262
  • 263
  • 264
  • 265
  • 266
  • 267
  • 268
  • 269
  • 270
  • 271
  • 272
  • 273
  • 274
  • 275
  • 276
  • 277
  • 278
  • 279
  • 280
  • 281
  • 282
  • 283
  • 284
  • 285
  • 286
  • 287
  • 288
  • 289
  • 290
  • 291
  • 292
  • 293
  • 294
  • 295
  • 296
  • 297
  • 298
  • 299
  • 300
  • 301
  • 302
  • 303
  • 304
  • 305
  • 306
  • 307
  • 308
  • 309
  • 310
  • 311
  • 312
  • 313
  • 314
  • 315
  • 316
  • 317
  • 318
  • 319
  • 320
  • 321
  • 322
  • 323
  • 324
  • 325
  • 326
  • 327
  • 328
  • 329
  • 330
  • 331
  • 332
  • 333
  • 334
  • 335
  • 336
  • 337
  • 338
  • 339
  • 340
  • 341
  • 342
  • 343
  • 344
  • 345
  • 346
  • 347
  • 348
  • 349
  • 350
  • 351
  • 352
  • 353
  • 354
  • 355
  • 356
  • 357
  • 358
  • 359
  • 360
  • 361
  • 362
  • 363
  • 364
  • 365
  • 366
  • 367
  • 368
  • 369
  • 370
  • 371
  • 372
  • 373
  • 374
  • 375
  • 376
  • 377
  • 378
  • 379
  • 380
  • 381
  • 382
  • 383
  • 384
  • 385
  • 386
  • 387
  • 388
  • 389
  • 390
  • 391
  • 392
  • 393
  • 394
  • 395
  • 396
  • 397
  • 398
  • 399
  • 400
  • 401
  • 402
  • 403
  • 404
  • 405
  • 406
  • 407
  • 408
  • 409
  • 410
  • 411
  • 412
  • 413
  • 414
  • 415
  • 416
  • 417
  • 418
  • 419
  • 420
  • 421
  • 422
  • 423
  • 424
  • 425
  • 426
  • 427
  • 428
  • 429
  • 430
  • 431
  • 432
  • 433
  • 434
  • 435
  • 436
  • 437
  • 438
  • 439
  • 440
  • 441
  • 442
  • 443
  • 444
  • 445
  • 446
  • 447
  • 448
  • 449
  • 450
  • 451
  • 452
  • 453
  • 454
  • 455
  • 456
  • 457
  • 458
  • 459
  • 460
  • 461
  • 462
  • 463
  • 464
  • 465
  • 466
  • 467
  • 468
  • 469
  • 470
  • 471
  • 472
  • 473
  • 474
  • 475
  • 476
  • 477
  • 478
  • 479
  • 480
  • 481
  • 482
  • 483
  • 484
  • 485
  • 486
  • 487
  • 488
  • 489
  • 490
  • 491
  • 492
  • 493
  • 494
  • 495
  • 496
  • 497
  • 498
  • 499
  • 500
  • 501
  • 502
  • 503
  • 504
  • 505
  • 506
  • 507
  • 508
  • 509
  • 510
  • 511
  • 512
  • 513
  • 514
  • 515
  • 516
  • 517
  • 518
  • 519
  • 520
  • 521
  • 522
  • 523
  • 524
  • 525
  • 526
  • 527
  • 528
  • 529
  • 530
  • 531
  • 532
  • 533
  • 534
  • 535
  • 536
  • 537
  • 538
  • 539
  • 540
  • 541
  • 542
  • 543
  • 544
  • 545
  • 546
  • 547
  • 548
  • 549
  • 550
  • 551
  • 552
  • 553
  • 554
  • 555
  • 556
  • 557
  • 558
  • 559
  • 560
  • 561
  • 562
  • 563
  • 564
  • 565
  • 566
  • 567
  • 568
  • 569
  • 570
  • 571
  • 572
  • 573
  • 574
  • 575
  • 576
  • 577
  • 578
  • 579
  • 580
  • 581
  • 582
  • 583
  • 584
  • 585
  • 586
  • 587
  • 588
  • 589
  • 590
  • 591
  • 592
  • 593
  • 594
  • 595
  • 596
  • 597
  • 598
  • 599
  • 600
  • 601
  • 602
  • 603
  • 604
  • 605
  • 606
  • 607
  • 608
  • 609
  • 610
  • 611
  • 612
  • 613
  • 614
  • 615
  • 616
  • 617
  • 618
  • 619
  • 620
  • 621
  • 622
  • 623
  • 624
  • 625
  • 626
  • 627
  • 628
  • 629
  • 630
  • 631
  • 632
  • 633
  • 634
  • 635
  • 636
  • 637
  • 638
  • 639
  • 640
  • 641
  • 642
  • 643
  • 644
  • 645
  • 646
  • 647
  • 648
  • 649
  • 650
  • 651
  • 652
  • 653
  • 654
  • 655
  • 656
  • 657
  • 658
  • 659
  • 660
  • 661
  • 662
  • 663
  • 664
  • 665
  • 666
  • 667
  • 668
  • 669
  • 670
  • 671
  • 672
  • 673
  • 674
  • 675
  • 676
  • 677
  • 678
  • 679
  • 680
  • 681
  • 682
  • 683
  • 684
  • 685
  • 686
  • 687
  • 688
  • 689
  • 690
  • 691
  • 692
  • 693
  • 694
  • 695
  • 696
  • 697
  • 698
  • 699
  • 700
  • 701
  • 702
  • 703
  • 704
  • 705
  • 706
  • 707
  • 708
  • 709
  • 710
  • 711
  • 712
  • 713
  • 714
  • 715
  • 716
  • 717
  • 718
  • 719
  • 720
  • 721
  • 722
  • 723
  • 724
  • 725
  • 726
  • 727
  • 728
  • 729
  • 730
  • 731
  • 732
  • 733
  • 734
  • 735
  • 736
  • 737
  • 738
  • 739
  • 740
  • 741
  • 742
  • 743
  • 744
  • 745
  • 746
  • 747
  • 748
  • 749
  • 750
  • 751
  • 752
  • 753
  • 754
  • 755
  • 756
  • 757
  • 758
  • 759
  • 760
  • 761
  • 762
  • 763
  • 764
  • 765
  • 766
  • 767
  • 768
  • 769
  • 770
  • 771
  • 772
  • 773
  • 774
  • 775
  • 776
  • 777
  • 778
  • 779
  • 780
  • 781
  • 782
  • 783
  • 784
  • 785
  • 786
  • 787
  • 788
  • 789
  • 790
  • 791
  • 792
  • 793
  • 794
  • 795
  • 796
  • 797
  • 798
  • 799
  • 800
  • 801
  • 802
  • 803
  • 804
  • 805
  • 806
  • 807
  • 808
  • 809
  • 810
  • 811
  • 812
  • 813
  • 814
  • 815
  • 816
  • 817
  • 818
  • 819
  • 820
  • 821
  • 822
  • 823
  • 824
  • 825
  • 826
  • 827
  • 828
  • 829
  • 830
  • 831
  • 832
  • 833
  • 834
  • 835
  • 836
  • 837
  • 838
  • 839
  • 840
  • 841
  • 842
  • 843
  • 844
  • 845
  • 846
  • 847
  • 848
  • 849
  • 850
  • 851
  • 852
  • 853
  • 854
  • 855
  • 856
  • 857
  • 858
  • 859
  • 860
  • 861
  • 862
  • 863
  • 864
  • 865
  • 866
  • 867
  • 868
  • 869
  • 870
  • 871
  • 872
  • 873
  • 874
  • 875
  • 876
  • 877
  • 878
  • 879
  • 880
  • 881
  • 882
  • 883
  • 884
  • 885
  • 886
  • 887
  • 888
  • 889
  • 890
  • 891
  • 892
  • 893
  • 894
  • 895
  • 896
  • 897
  • 898
  • 899
  • 900
  • 901
  • 902
  • 903
  • 904
  • 905
声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/木道寻08/article/detail/936211
推荐阅读
相关标签
  

闽ICP备14008679号