Author: andham
Date: Tue Nov 12 15:11:30 2013
New Revision: 1541097

URL: http://svn.apache.org/r1541097
Log:
[MJAVADOC-380] Add Maven version used to Created-By entry in manifest 

Modified:
    
maven/plugins/trunk/maven-javadoc-plugin/src/main/java/org/apache/maven/plugin/javadoc/AbstractJavadocMojo.java
    
maven/plugins/trunk/maven-javadoc-plugin/src/main/java/org/apache/maven/plugin/javadoc/JavadocJar.java

Modified: 
maven/plugins/trunk/maven-javadoc-plugin/src/main/java/org/apache/maven/plugin/javadoc/AbstractJavadocMojo.java
URL: 
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-javadoc-plugin/src/main/java/org/apache/maven/plugin/javadoc/AbstractJavadocMojo.java?rev=1541097&r1=1541096&r2=1541097&view=diff
==============================================================================
--- 
maven/plugins/trunk/maven-javadoc-plugin/src/main/java/org/apache/maven/plugin/javadoc/AbstractJavadocMojo.java
 (original)
+++ 
maven/plugins/trunk/maven-javadoc-plugin/src/main/java/org/apache/maven/plugin/javadoc/AbstractJavadocMojo.java
 Tue Nov 12 15:11:30 2013
@@ -317,7 +317,7 @@ public abstract class AbstractJavadocMoj
      * toolchain manager API calls.
      */
     @Component
-    private MavenSession session;
+    protected MavenSession session;
 
     /**
      * The Maven Settings.

Modified: 
maven/plugins/trunk/maven-javadoc-plugin/src/main/java/org/apache/maven/plugin/javadoc/JavadocJar.java
URL: 
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-javadoc-plugin/src/main/java/org/apache/maven/plugin/javadoc/JavadocJar.java?rev=1541097&r1=1541096&r2=1541097&view=diff
==============================================================================
--- 
maven/plugins/trunk/maven-javadoc-plugin/src/main/java/org/apache/maven/plugin/javadoc/JavadocJar.java
 (original)
+++ 
maven/plugins/trunk/maven-javadoc-plugin/src/main/java/org/apache/maven/plugin/javadoc/JavadocJar.java
 Tue Nov 12 15:11:30 2013
@@ -289,7 +289,7 @@ public class JavadocJar
         {
             // we don't want Maven stuff
             archive.setAddMavenDescriptor( false );
-            archiver.createArchive( project, archive );
+            archiver.createArchive( session, project, archive );
         }
         catch ( ManifestException e )
         {


Reply via email to