Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot use markdowndoc-maven-plugin in Maven build #12

Closed
tazle opened this issue Apr 10, 2015 · 2 comments
Closed

Cannot use markdowndoc-maven-plugin in Maven build #12

tazle opened this issue Apr 10, 2015 · 2 comments

Comments

@tazle
Copy link

tazle commented Apr 10, 2015

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.

@tazle
Copy link
Author

tazle commented Apr 10, 2015

Oops, apparently the latest version is 1.3.8, and it's available through Bintray repository.

@tazle tazle closed this as completed Apr 10, 2015
@tombensve
Copy link
Owner

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants