You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Geoffrey De Smet (JIRA)" <ji...@codehaus.org> on 2012/01/17 15:22:02 UTC
[jira] (MJAVADOC-340) Javadoc generation with
includeDependencySources=true crashes when any of those dependencies have
scope=provided dependencies
Geoffrey De Smet created MJAVADOC-340:
-----------------------------------------
Summary: Javadoc generation with includeDependencySources=true crashes when any of those dependencies have scope=provided dependencies
Key: MJAVADOC-340
URL: https://jira.codehaus.org/browse/MJAVADOC-340
Project: Maven 2.x Javadoc Plugin
Issue Type: Bug
Reporter: Geoffrey De Smet
Priority: Critical
Using this configuration in jbpm-distribution:
{code}
<configuration>
<includeDependencySources>true</includeDependencySources>
<dependencySourceIncludes>
<dependencySourceInclude>org.jbpm:*</dependencySourceInclude>
</dependencySourceIncludes>
</configuration>
{code}
I got this:
{code}
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 13.620s
[INFO] Finished at: Tue Jan 17 15:05:07 CET 2012
[INFO] Final Memory: 17M/441M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:2.8:javadoc (javadoc-javadoc) on project jbpm-distribution: An error has occurred in JavaDocs report generation:
[ERROR] Exit code: 1 - /home/gdesmet/projects/jboss/droolsjbpm/jbpm/jbpm-distribution/target/distro-javadoc-sources/jbpm-flow-5.3.0-SNAPSHOT-sources/org/jbpm/osgi/flow/core/Activator.java:26: package org.osgi.framework does not exist
[ERROR] import org.osgi.framework.BundleActivator;
{code}
Workaround: Explicitly add the provided scope dependencies one by one
{code}
<dependency>
<groupId>org.apache.felix</groupId>
<artifactId>org.osgi.core</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.felix</groupId>
<artifactId>org.osgi.compendium</artifactId>
<scope>provided</scope>
</dependency>
{code}
(and if you're doing this in an assembly, make sure your zips don't get to big or to small)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] (MJAVADOC-340) Javadoc generation with
includeDependencySources=true crashes when any of those dependencies have
scope=provided dependencies
Posted by "Benson Margulies (JIRA)" <ji...@codehaus.org>.
[ https://jira.codehaus.org/browse/MJAVADOC-340?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Benson Margulies updated MJAVADOC-340:
--------------------------------------
Fix Version/s: 2.9
> Javadoc generation with includeDependencySources=true crashes when any of those dependencies have scope=provided dependencies
> -----------------------------------------------------------------------------------------------------------------------------
>
> Key: MJAVADOC-340
> URL: https://jira.codehaus.org/browse/MJAVADOC-340
> Project: Maven 2.x Javadoc Plugin
> Issue Type: Bug
> Reporter: Geoffrey De Smet
> Assignee: Benson Margulies
> Priority: Critical
> Fix For: 2.9
>
>
> Using this configuration in jbpm-distribution:
> {code}
> <configuration>
> <includeDependencySources>true</includeDependencySources>
> <dependencySourceIncludes>
> <dependencySourceInclude>org.jbpm:*</dependencySourceInclude>
> </dependencySourceIncludes>
> </configuration>
> {code}
> I got this:
> {code}
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 13.620s
> [INFO] Finished at: Tue Jan 17 15:05:07 CET 2012
> [INFO] Final Memory: 17M/441M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:2.8:javadoc (javadoc-javadoc) on project jbpm-distribution: An error has occurred in JavaDocs report generation:
> [ERROR] Exit code: 1 - /home/gdesmet/projects/jboss/droolsjbpm/jbpm/jbpm-distribution/target/distro-javadoc-sources/jbpm-flow-5.3.0-SNAPSHOT-sources/org/jbpm/osgi/flow/core/Activator.java:26: package org.osgi.framework does not exist
> [ERROR] import org.osgi.framework.BundleActivator;
> {code}
> Workaround: Explicitly add the provided scope dependencies one by one
> {code}
> <dependency>
> <groupId>org.apache.felix</groupId>
> <artifactId>org.osgi.core</artifactId>
> <scope>provided</scope>
> </dependency>
> <dependency>
> <groupId>org.apache.felix</groupId>
> <artifactId>org.osgi.compendium</artifactId>
> <scope>provided</scope>
> </dependency>
> {code}
> (and if you're doing this in an assembly, make sure your zips don't get to big or to small)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] (MJAVADOC-340) Javadoc generation with
includeDependencySources=true crashes when any of those dependencies have
scope=provided dependencies
Posted by "Benson Margulies (JIRA)" <ji...@codehaus.org>.
[ https://jira.codehaus.org/browse/MJAVADOC-340?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Benson Margulies reassigned MJAVADOC-340:
-----------------------------------------
Assignee: Benson Margulies
> Javadoc generation with includeDependencySources=true crashes when any of those dependencies have scope=provided dependencies
> -----------------------------------------------------------------------------------------------------------------------------
>
> Key: MJAVADOC-340
> URL: https://jira.codehaus.org/browse/MJAVADOC-340
> Project: Maven 2.x Javadoc Plugin
> Issue Type: Bug
> Reporter: Geoffrey De Smet
> Assignee: Benson Margulies
> Priority: Critical
>
> Using this configuration in jbpm-distribution:
> {code}
> <configuration>
> <includeDependencySources>true</includeDependencySources>
> <dependencySourceIncludes>
> <dependencySourceInclude>org.jbpm:*</dependencySourceInclude>
> </dependencySourceIncludes>
> </configuration>
> {code}
> I got this:
> {code}
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 13.620s
> [INFO] Finished at: Tue Jan 17 15:05:07 CET 2012
> [INFO] Final Memory: 17M/441M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:2.8:javadoc (javadoc-javadoc) on project jbpm-distribution: An error has occurred in JavaDocs report generation:
> [ERROR] Exit code: 1 - /home/gdesmet/projects/jboss/droolsjbpm/jbpm/jbpm-distribution/target/distro-javadoc-sources/jbpm-flow-5.3.0-SNAPSHOT-sources/org/jbpm/osgi/flow/core/Activator.java:26: package org.osgi.framework does not exist
> [ERROR] import org.osgi.framework.BundleActivator;
> {code}
> Workaround: Explicitly add the provided scope dependencies one by one
> {code}
> <dependency>
> <groupId>org.apache.felix</groupId>
> <artifactId>org.osgi.core</artifactId>
> <scope>provided</scope>
> </dependency>
> <dependency>
> <groupId>org.apache.felix</groupId>
> <artifactId>org.osgi.compendium</artifactId>
> <scope>provided</scope>
> </dependency>
> {code}
> (and if you're doing this in an assembly, make sure your zips don't get to big or to small)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] (MJAVADOC-340) Javadoc generation with
includeDependencySources=true crashes when any of those dependencies have
scope=provided dependencies
Posted by "Benson Margulies (JIRA)" <ji...@codehaus.org>.
[ https://jira.codehaus.org/browse/MJAVADOC-340?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=308611#comment-308611 ]
Benson Margulies commented on MJAVADOC-340:
-------------------------------------------
I cannot reproduce this. I adapted an integration test to follow the recipe, and it worked fine. So unless you can attach a complete failing test case, this will be closed.
> Javadoc generation with includeDependencySources=true crashes when any of those dependencies have scope=provided dependencies
> -----------------------------------------------------------------------------------------------------------------------------
>
> Key: MJAVADOC-340
> URL: https://jira.codehaus.org/browse/MJAVADOC-340
> Project: Maven 2.x Javadoc Plugin
> Issue Type: Bug
> Reporter: Geoffrey De Smet
> Assignee: Benson Margulies
> Priority: Critical
>
> Using this configuration in jbpm-distribution:
> {code}
> <configuration>
> <includeDependencySources>true</includeDependencySources>
> <dependencySourceIncludes>
> <dependencySourceInclude>org.jbpm:*</dependencySourceInclude>
> </dependencySourceIncludes>
> </configuration>
> {code}
> I got this:
> {code}
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 13.620s
> [INFO] Finished at: Tue Jan 17 15:05:07 CET 2012
> [INFO] Final Memory: 17M/441M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:2.8:javadoc (javadoc-javadoc) on project jbpm-distribution: An error has occurred in JavaDocs report generation:
> [ERROR] Exit code: 1 - /home/gdesmet/projects/jboss/droolsjbpm/jbpm/jbpm-distribution/target/distro-javadoc-sources/jbpm-flow-5.3.0-SNAPSHOT-sources/org/jbpm/osgi/flow/core/Activator.java:26: package org.osgi.framework does not exist
> [ERROR] import org.osgi.framework.BundleActivator;
> {code}
> Workaround: Explicitly add the provided scope dependencies one by one
> {code}
> <dependency>
> <groupId>org.apache.felix</groupId>
> <artifactId>org.osgi.core</artifactId>
> <scope>provided</scope>
> </dependency>
> <dependency>
> <groupId>org.apache.felix</groupId>
> <artifactId>org.osgi.compendium</artifactId>
> <scope>provided</scope>
> </dependency>
> {code}
> (and if you're doing this in an assembly, make sure your zips don't get to big or to small)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] (MJAVADOC-340) Javadoc generation with
includeDependencySources=true crashes when any of those dependencies have
scope=provided dependencies
Posted by "Benson Margulies (JIRA)" <ji...@codehaus.org>.
[ https://jira.codehaus.org/browse/MJAVADOC-340?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Benson Margulies closed MJAVADOC-340.
-------------------------------------
Resolution: Cannot Reproduce
Please reopen if you attach a test case.
> Javadoc generation with includeDependencySources=true crashes when any of those dependencies have scope=provided dependencies
> -----------------------------------------------------------------------------------------------------------------------------
>
> Key: MJAVADOC-340
> URL: https://jira.codehaus.org/browse/MJAVADOC-340
> Project: Maven 2.x Javadoc Plugin
> Issue Type: Bug
> Reporter: Geoffrey De Smet
> Assignee: Benson Margulies
> Priority: Critical
>
> Using this configuration in jbpm-distribution:
> {code}
> <configuration>
> <includeDependencySources>true</includeDependencySources>
> <dependencySourceIncludes>
> <dependencySourceInclude>org.jbpm:*</dependencySourceInclude>
> </dependencySourceIncludes>
> </configuration>
> {code}
> I got this:
> {code}
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 13.620s
> [INFO] Finished at: Tue Jan 17 15:05:07 CET 2012
> [INFO] Final Memory: 17M/441M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:2.8:javadoc (javadoc-javadoc) on project jbpm-distribution: An error has occurred in JavaDocs report generation:
> [ERROR] Exit code: 1 - /home/gdesmet/projects/jboss/droolsjbpm/jbpm/jbpm-distribution/target/distro-javadoc-sources/jbpm-flow-5.3.0-SNAPSHOT-sources/org/jbpm/osgi/flow/core/Activator.java:26: package org.osgi.framework does not exist
> [ERROR] import org.osgi.framework.BundleActivator;
> {code}
> Workaround: Explicitly add the provided scope dependencies one by one
> {code}
> <dependency>
> <groupId>org.apache.felix</groupId>
> <artifactId>org.osgi.core</artifactId>
> <scope>provided</scope>
> </dependency>
> <dependency>
> <groupId>org.apache.felix</groupId>
> <artifactId>org.osgi.compendium</artifactId>
> <scope>provided</scope>
> </dependency>
> {code}
> (and if you're doing this in an assembly, make sure your zips don't get to big or to small)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] (MJAVADOC-340) Javadoc generation with
includeDependencySources=true crashes when any of those dependencies have
scope=provided dependencies
Posted by "Gert Vanderseypen (JIRA)" <ji...@codehaus.org>.
[ https://jira.codehaus.org/browse/MJAVADOC-340?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gert Vanderseypen updated MJAVADOC-340:
---------------------------------------
Attachment: workspace-javadoc-test.rar
> Javadoc generation with includeDependencySources=true crashes when any of those dependencies have scope=provided dependencies
> -----------------------------------------------------------------------------------------------------------------------------
>
> Key: MJAVADOC-340
> URL: https://jira.codehaus.org/browse/MJAVADOC-340
> Project: Maven 2.x Javadoc Plugin
> Issue Type: Bug
> Reporter: Geoffrey De Smet
> Assignee: Benson Margulies
> Priority: Critical
> Fix For: 2.9
>
> Attachments: workspace-javadoc-test.rar
>
>
> Using this configuration in jbpm-distribution:
> {code}
> <configuration>
> <includeDependencySources>true</includeDependencySources>
> <dependencySourceIncludes>
> <dependencySourceInclude>org.jbpm:*</dependencySourceInclude>
> </dependencySourceIncludes>
> </configuration>
> {code}
> I got this:
> {code}
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 13.620s
> [INFO] Finished at: Tue Jan 17 15:05:07 CET 2012
> [INFO] Final Memory: 17M/441M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:2.8:javadoc (javadoc-javadoc) on project jbpm-distribution: An error has occurred in JavaDocs report generation:
> [ERROR] Exit code: 1 - /home/gdesmet/projects/jboss/droolsjbpm/jbpm/jbpm-distribution/target/distro-javadoc-sources/jbpm-flow-5.3.0-SNAPSHOT-sources/org/jbpm/osgi/flow/core/Activator.java:26: package org.osgi.framework does not exist
> [ERROR] import org.osgi.framework.BundleActivator;
> {code}
> Workaround: Explicitly add the provided scope dependencies one by one
> {code}
> <dependency>
> <groupId>org.apache.felix</groupId>
> <artifactId>org.osgi.core</artifactId>
> <scope>provided</scope>
> </dependency>
> <dependency>
> <groupId>org.apache.felix</groupId>
> <artifactId>org.osgi.compendium</artifactId>
> <scope>provided</scope>
> </dependency>
> {code}
> (and if you're doing this in an assembly, make sure your zips don't get to big or to small)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] (MJAVADOC-340) Javadoc generation with
includeDependencySources=true crashes when any of those dependencies have
scope=provided dependencies
Posted by "Benson Margulies (JIRA)" <ji...@codehaus.org>.
[ https://jira.codehaus.org/browse/MJAVADOC-340?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=308646#comment-308646 ]
Benson Margulies commented on MJAVADOC-340:
-------------------------------------------
I tested the trunk, which will be 2.9, and I set the fix version to 2.9 as a result just now.
> Javadoc generation with includeDependencySources=true crashes when any of those dependencies have scope=provided dependencies
> -----------------------------------------------------------------------------------------------------------------------------
>
> Key: MJAVADOC-340
> URL: https://jira.codehaus.org/browse/MJAVADOC-340
> Project: Maven 2.x Javadoc Plugin
> Issue Type: Bug
> Reporter: Geoffrey De Smet
> Assignee: Benson Margulies
> Priority: Critical
> Fix For: 2.9
>
>
> Using this configuration in jbpm-distribution:
> {code}
> <configuration>
> <includeDependencySources>true</includeDependencySources>
> <dependencySourceIncludes>
> <dependencySourceInclude>org.jbpm:*</dependencySourceInclude>
> </dependencySourceIncludes>
> </configuration>
> {code}
> I got this:
> {code}
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 13.620s
> [INFO] Finished at: Tue Jan 17 15:05:07 CET 2012
> [INFO] Final Memory: 17M/441M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:2.8:javadoc (javadoc-javadoc) on project jbpm-distribution: An error has occurred in JavaDocs report generation:
> [ERROR] Exit code: 1 - /home/gdesmet/projects/jboss/droolsjbpm/jbpm/jbpm-distribution/target/distro-javadoc-sources/jbpm-flow-5.3.0-SNAPSHOT-sources/org/jbpm/osgi/flow/core/Activator.java:26: package org.osgi.framework does not exist
> [ERROR] import org.osgi.framework.BundleActivator;
> {code}
> Workaround: Explicitly add the provided scope dependencies one by one
> {code}
> <dependency>
> <groupId>org.apache.felix</groupId>
> <artifactId>org.osgi.core</artifactId>
> <scope>provided</scope>
> </dependency>
> <dependency>
> <groupId>org.apache.felix</groupId>
> <artifactId>org.osgi.compendium</artifactId>
> <scope>provided</scope>
> </dependency>
> {code}
> (and if you're doing this in an assembly, make sure your zips don't get to big or to small)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] (MJAVADOC-340) Javadoc generation with
includeDependencySources=true crashes when any of those dependencies have
scope=provided dependencies
Posted by "Geoffrey De Smet (JIRA)" <ji...@codehaus.org>.
[ https://jira.codehaus.org/browse/MJAVADOC-340?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=308643#comment-308643 ]
Geoffrey De Smet commented on MJAVADOC-340:
-------------------------------------------
Which version did you test? Please set it as fix version.
> Javadoc generation with includeDependencySources=true crashes when any of those dependencies have scope=provided dependencies
> -----------------------------------------------------------------------------------------------------------------------------
>
> Key: MJAVADOC-340
> URL: https://jira.codehaus.org/browse/MJAVADOC-340
> Project: Maven 2.x Javadoc Plugin
> Issue Type: Bug
> Reporter: Geoffrey De Smet
> Assignee: Benson Margulies
> Priority: Critical
>
> Using this configuration in jbpm-distribution:
> {code}
> <configuration>
> <includeDependencySources>true</includeDependencySources>
> <dependencySourceIncludes>
> <dependencySourceInclude>org.jbpm:*</dependencySourceInclude>
> </dependencySourceIncludes>
> </configuration>
> {code}
> I got this:
> {code}
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 13.620s
> [INFO] Finished at: Tue Jan 17 15:05:07 CET 2012
> [INFO] Final Memory: 17M/441M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:2.8:javadoc (javadoc-javadoc) on project jbpm-distribution: An error has occurred in JavaDocs report generation:
> [ERROR] Exit code: 1 - /home/gdesmet/projects/jboss/droolsjbpm/jbpm/jbpm-distribution/target/distro-javadoc-sources/jbpm-flow-5.3.0-SNAPSHOT-sources/org/jbpm/osgi/flow/core/Activator.java:26: package org.osgi.framework does not exist
> [ERROR] import org.osgi.framework.BundleActivator;
> {code}
> Workaround: Explicitly add the provided scope dependencies one by one
> {code}
> <dependency>
> <groupId>org.apache.felix</groupId>
> <artifactId>org.osgi.core</artifactId>
> <scope>provided</scope>
> </dependency>
> <dependency>
> <groupId>org.apache.felix</groupId>
> <artifactId>org.osgi.compendium</artifactId>
> <scope>provided</scope>
> </dependency>
> {code}
> (and if you're doing this in an assembly, make sure your zips don't get to big or to small)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] (MJAVADOC-340) Javadoc generation with
includeDependencySources=true crashes when any of those dependencies have
scope=provided dependencies
Posted by "Gert Vanderseypen (JIRA)" <ji...@codehaus.org>.
[ https://jira.codehaus.org/browse/MJAVADOC-340?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=311235#comment-311235 ]
Gert Vanderseypen commented on MJAVADOC-340:
--------------------------------------------
I have the same problem; see my test project in attachment
You can see in the logs that it crashes because the lombok javadoc resources are not found.
> Javadoc generation with includeDependencySources=true crashes when any of those dependencies have scope=provided dependencies
> -----------------------------------------------------------------------------------------------------------------------------
>
> Key: MJAVADOC-340
> URL: https://jira.codehaus.org/browse/MJAVADOC-340
> Project: Maven 2.x Javadoc Plugin
> Issue Type: Bug
> Reporter: Geoffrey De Smet
> Assignee: Benson Margulies
> Priority: Critical
> Fix For: 2.9
>
> Attachments: workspace-javadoc-test.rar
>
>
> Using this configuration in jbpm-distribution:
> {code}
> <configuration>
> <includeDependencySources>true</includeDependencySources>
> <dependencySourceIncludes>
> <dependencySourceInclude>org.jbpm:*</dependencySourceInclude>
> </dependencySourceIncludes>
> </configuration>
> {code}
> I got this:
> {code}
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 13.620s
> [INFO] Finished at: Tue Jan 17 15:05:07 CET 2012
> [INFO] Final Memory: 17M/441M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:2.8:javadoc (javadoc-javadoc) on project jbpm-distribution: An error has occurred in JavaDocs report generation:
> [ERROR] Exit code: 1 - /home/gdesmet/projects/jboss/droolsjbpm/jbpm/jbpm-distribution/target/distro-javadoc-sources/jbpm-flow-5.3.0-SNAPSHOT-sources/org/jbpm/osgi/flow/core/Activator.java:26: package org.osgi.framework does not exist
> [ERROR] import org.osgi.framework.BundleActivator;
> {code}
> Workaround: Explicitly add the provided scope dependencies one by one
> {code}
> <dependency>
> <groupId>org.apache.felix</groupId>
> <artifactId>org.osgi.core</artifactId>
> <scope>provided</scope>
> </dependency>
> <dependency>
> <groupId>org.apache.felix</groupId>
> <artifactId>org.osgi.compendium</artifactId>
> <scope>provided</scope>
> </dependency>
> {code}
> (and if you're doing this in an assembly, make sure your zips don't get to big or to small)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira