Cannot use markdowndoc-maven-plugin in Maven build
Closed this issue · 2 comments
Hi,
It seems that markdowndoc-maven-plugin uses se.natusoft.tools.doc.markdowndoc:markdown-doc
as its parent, and the parent uses the plugin se.natusoft.tools.codelicmgr:CodeLicenseManager-maven-plugin:2.0
. I'm not quite sure why this prevents me from using markdowndoc-maven-plugin in my build, but this is what happens:
...
[INFO] --- markdowndoc-maven-plugin:1.2.9:doc (generate-docs) @ our-project ---
[WARNING] The POM for se.natusoft.tools.codelicmgr:CodeLicenseManager-annotations-retention-source:jar:2.0 is missing, no dependency information available
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 12.929s
[INFO] Finished at: Fri Apr 10 15:36:21 EEST 2015
[INFO] Final Memory: 25M/354M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal se.natusoft.tools.doc.markdowndoc:markdowndoc-maven-plugin:1.2.9:doc (generate-docs) on project our-project: Execution generate-docs of goal se.natusoft.tools.doc.markdowndoc:markdowndoc-maven-plugin:1.2.9:doc failed: Plugin se.natusoft.tools.doc.markdowndoc:markdowndoc-maven-plugin:1.2.9 or one of its dependencies could not be resolved: Failure to find se.natusoft.tools.codelicmgr:CodeLicenseManager-annotations-retention-source:jar:2.0 in http://our.local.repo/artifactory/plugins-release was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced -> [Help 1]
Changing the plugin element from
<plugin>
<groupId>se.natusoft.tools.doc.markdowndoc</groupId>
<artifactId>markdowndoc-maven-plugin</artifactId>
<version>1.2.9</version>
...
to
<plugin>
<groupId>se.natusoft.tools.doc.markdowndoc</groupId>
<artifactId>markdowndoc-maven-plugin</artifactId>
<version>1.2.9</version>
<dependencies>
<dependency>
<groupId>se.natusoft.tools.codelicmgr</groupId>
<artifactId>CodeLicenseManager-annotations-retention-source</artifactId>
<version>2.1.1</version>
</dependency>
</dependencies>
...
seems to get around the problem.
Oops, apparently the latest version is 1.3.8, and it's available through Bintray repository.
I did screw up the dependencies in earlier versions. Sorry.
Regards, Tommy
10 apr 2015 kl. 14:51 skrev tazle notifications@github.com:
Oops, apparently the latest version is 1.3.8, and it's available through Bintray repository.
—
Reply to this email directly or view it on GitHub #12 (comment).