-
Notifications
You must be signed in to change notification settings - Fork 8
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
Missing dependency in version 1.2.9 #3
Comments
Hello Johan, very sorry for not seeing this until now. I assumed I would get mails when issues are filed, but apparently not! I saw this now only because I just made an update. Maybe it is some setting in github for getting mails. Anyhow, I have to admit that I sometimes forget to delete my ~/.m2/repository before making a "release". This means I might have things locally that others don't. This smells like such a problem, and I have a faint memory that just version 1.2.9 had such a problem. I have just release version 1.3.3 and it is verified to build and run with a clean local maven repo. You need to add the following to your ~/.m2/settings.xml
Bintrays jcenter is a superset of maven central so it is entirely safe to use it as a mirror of central and is required if you are going to use MarkdownDoc via maven. Even if you checkout and build the source you will need Bintray. You can mail me at tommy@natusoft.se if you still have problems. |
Thank you very much, looking forward to trying out it. |
About "CodeLicenseManager-annotations-retention-source", this was a truly dumb idea that just add an annoying dependency. CodeLicenseManager is another tool by me and it mainly updates project and license information in source code comment headers but also scans project pom and dependency pons for license info to resolve all open source licenses that is applied to your code. The dumb idea I implemented there was to use annotations as an alternative for comments for the source code "boilerplate" information. I unfortunately also used this format for several of my tools until I realized how much it sucked. I have decided to clean up that misstake and remove all "boilerplate" annotation dependencies where they are still left. |
Hi,
I'm trying to use version 1.2.9 of the plugin but when I run it I get:
Failure to find se.natusoft.tools.codelicmgr:CodeLicenseManager-annotations-retention-source:jar:2.0 in http://repo.maven.apache.org/maven2 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]
Overriding the dependency to use version 2.1.1 of CodeLicenseManager-annotations-retention-source (which exists in Maven central) throws a NullPointerException upon execution.
This is my maven pom.xml:
<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>
<executions>
<execution>
<id>generate-docs</id>
<goals>
<goal>doc</goal>
</goals>
<phase>install</phase>
<configuration>
<generator>pdf</generator>
<inputPaths>
*.md
</inputPaths>
</configuration>
</execution>
</executions>
</plugin>
The text was updated successfully, but these errors were encountered: