[ 
https://issues.apache.org/jira/browse/MJAVADOC-547?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jesko Jochum updated MJAVADOC-547:
----------------------------------
    Description: 
If running e.g. _mvn javadoc:jar_ on a project stored on C: (my %SYSTEMDRIVE%) 
everything works as expected, i.e. the javadoc gets generated and packed into a 
.jar file.

If I move the project to a different drive, e.g. D: and run the same 
_javadoc:jar_ goal, nothing is generated. There is no error printed to console, 
and the only output is

{{\artifact-id-of-application\target\javadoc-bundle-options\javadoc-options-javadoc-resources.xml}}

as you can see in the following excerpt:

{{...}}

[INFO] ----------< my.package.dummy:artifact-id-of-application >-----------
 [INFO] Building Full Application Name 0.0.1-SNAPSHOT                      [5/7]
 [INFO] --------------------------------[ jar ]---------------------------------
 [INFO]
 [INFO] — maven-javadoc-plugin:3.0.1:jar (default-cli) @ 
artifact-id-of-application —
 [INFO]
 [INFO] --------------< my.package.dummy:dummy-distribution >---------------
 [INFO] Building Distribution Project 0.0.1-SNAPSHOT                       [6/7]
 [INFO] --------------------------------[ pom ]---------------------------------
 [INFO]
 [INFO] — maven-javadoc-plugin:3.0.1:jar (default-cli) @ dummy-distribution —
 [INFO] Not executing Javadoc as the project is not a Java classpath-capable 
package
 [INFO]

...

Can anyone reproduce this? Is this a known error?

  was:
If running e.g. _mvn javadoc:jar_ on a project stored on C: (my %SYSTEMDRIVE%) 
everything works as expected, i.e. there the javadoc gets generated and packed 
into a .jar file.

If I move the project to a different drive, e.g. D: and run the same 
_javadoc:jar_ goal, nothing is generated. There is no error printed to console, 
and the only output is

{{\artifact-id-of-application\target\javadoc-bundle-options\javadoc-options-javadoc-resources.xml"}}

as you can see in the following excerpt:

{{...}}

[INFO] ----------< my.package.dummy:artifact-id-of-application >-----------
[INFO] Building Full Application Name 0.0.1-SNAPSHOT                      [5/7]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-javadoc-plugin:3.0.1:jar (default-cli) @ 
artifact-id-of-application ---
[INFO]
[INFO] --------------< my.package.dummy:dummy-distribution >---------------
[INFO] Building Distribution Project 0.0.1-SNAPSHOT                       [6/7]
[INFO] --------------------------------[ pom ]---------------------------------
[INFO]
[INFO] --- maven-javadoc-plugin:3.0.1:jar (default-cli) @ dummy-distribution ---
[INFO] Not executing Javadoc as the project is not a Java classpath-capable 
package
[INFO]

...

Can anyone reproduce this? Is this a known error?


> Plugin not working if project is NOT on %SYSTEMDRIVE%
> -----------------------------------------------------
>
>                 Key: MJAVADOC-547
>                 URL: https://issues.apache.org/jira/browse/MJAVADOC-547
>             Project: Maven Javadoc Plugin
>          Issue Type: Bug
>          Components: javadoc
>    Affects Versions: 2.10.4, 3.0.1
>         Environment: Windows 7 x64
> Apache Maven 3.5.4
>            Reporter: Jesko Jochum
>            Priority: Minor
>
> If running e.g. _mvn javadoc:jar_ on a project stored on C: (my 
> %SYSTEMDRIVE%) everything works as expected, i.e. the javadoc gets generated 
> and packed into a .jar file.
> If I move the project to a different drive, e.g. D: and run the same 
> _javadoc:jar_ goal, nothing is generated. There is no error printed to 
> console, and the only output is
> {{\artifact-id-of-application\target\javadoc-bundle-options\javadoc-options-javadoc-resources.xml}}
> as you can see in the following excerpt:
> {{...}}
> [INFO] ----------< my.package.dummy:artifact-id-of-application >-----------
>  [INFO] Building Full Application Name 0.0.1-SNAPSHOT                      
> [5/7]
>  [INFO] --------------------------------[ jar 
> ]---------------------------------
>  [INFO]
>  [INFO] — maven-javadoc-plugin:3.0.1:jar (default-cli) @ 
> artifact-id-of-application —
>  [INFO]
>  [INFO] --------------< my.package.dummy:dummy-distribution >---------------
>  [INFO] Building Distribution Project 0.0.1-SNAPSHOT                       
> [6/7]
>  [INFO] --------------------------------[ pom 
> ]---------------------------------
>  [INFO]
>  [INFO] — maven-javadoc-plugin:3.0.1:jar (default-cli) @ dummy-distribution —
>  [INFO] Not executing Javadoc as the project is not a Java classpath-capable 
> package
>  [INFO]
> ...
> Can anyone reproduce this? Is this a known error?



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to