cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ff...@apache.org
Subject git commit: [CXF-5479]set javadocOptionsDir folder into target
Date Wed, 11 Jun 2014 02:46:54 GMT
Repository: cxf
Updated Branches:
  refs/heads/master 776bce936 -> 4503ba056


[CXF-5479]set javadocOptionsDir folder into target


Project: http://git-wip-us.apache.org/repos/asf/cxf/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/4503ba05
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/4503ba05
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/4503ba05

Branch: refs/heads/master
Commit: 4503ba05685a6f049e0f45bdebd526e5da0d4fa5
Parents: 776bce9
Author: Freeman Fang <freeman.fang@gmail.com>
Authored: Wed Jun 11 10:46:03 2014 +0800
Committer: Freeman Fang <freeman.fang@gmail.com>
Committed: Wed Jun 11 10:46:03 2014 +0800

----------------------------------------------------------------------
 .../cxf/maven_plugin/javatowadl/ParseJavaDocMojo.java | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/4503ba05/maven-plugins/java2wadl-plugin/src/main/java/org/apache/cxf/maven_plugin/javatowadl/ParseJavaDocMojo.java
----------------------------------------------------------------------
diff --git a/maven-plugins/java2wadl-plugin/src/main/java/org/apache/cxf/maven_plugin/javatowadl/ParseJavaDocMojo.java
b/maven-plugins/java2wadl-plugin/src/main/java/org/apache/cxf/maven_plugin/javatowadl/ParseJavaDocMojo.java
index 3322520..a8fa254 100644
--- a/maven-plugins/java2wadl-plugin/src/main/java/org/apache/cxf/maven_plugin/javatowadl/ParseJavaDocMojo.java
+++ b/maven-plugins/java2wadl-plugin/src/main/java/org/apache/cxf/maven_plugin/javatowadl/ParseJavaDocMojo.java
@@ -106,6 +106,16 @@ public class ParseJavaDocMojo extends AbstractJavadocMojo {
      * @readonly
      */
     private List<ArtifactRepository> remoteRepositories;
+    
+    
+    /**
+     * Directory into which assembled {@link JavadocOptions} instances will be written before
they
+     * are added to javadoc resources bundles.
+     * @parameter expression="${project.build.directory}/javadoc-bundle-options"
+     * @required
+     * @readonly
+     */
+    private File javadocOptionsDir;
 
     @Override
     public void execute() throws MojoExecutionException, MojoFailureException {
@@ -123,6 +133,10 @@ public class ParseJavaDocMojo extends AbstractJavadocMojo {
             f = AbstractJavadocMojo.class.getDeclaredField("stylesheet");
             f.setAccessible(true);
             f.set(this, "stylesheet");
+            
+            f = AbstractJavadocMojo.class.getDeclaredField("javadocOptionsDir");
+            f.setAccessible(true);
+            f.set(this, javadocOptionsDir);
 
             f = AbstractJavadocMojo.class.getDeclaredField("docletArtifact");
             f.setAccessible(true);


Mime
View raw message