[ http://jira.codehaus.org/browse/MDOCCK-3?page=comments#action_80197 ] Dennis Lundberg commented on MDOCCK-3: --------------------------------------
A2. We are talking about a URL here, so in my book the project-info-reports is being "nice" by allowing you to specify a non-URL value like "LICENSE.txt" in the project/licenses/license/url tag. If you want to use a real URL you could use "file:///${basedir}/LICENSE.txt" which works for me both for project-info-reports and docck. Regarding the second warning, this plugin only has support for validating http-URLs at the moment. So it's just to let you know that the URL has not been validated. > Various problems with the plugin > -------------------------------- > > Key: MDOCCK-3 > URL: http://jira.codehaus.org/browse/MDOCCK-3 > Project: Maven 2.x DOCCK Plugin > Issue Type: Improvement > Environment: Maven 2.0.4 > Reporter: Jimisola Laursen > > P1. "[ERROR] Missing examples." > Q1. What is actually missing? The directory? Files in that directory? > Proposed solution: Provide a more detailed error message and document it. > Also, the SVN repo of DOCCK Plugin itself should act as a standard for > plugins so that plugin developers has an example to look at. > P2. "[WARN] license MIT license appears to have an invalid URL: > 'LICENSE.txt'. Error: no protocol: LICENSE.txt Trying to access it as a file > instead." > Q2. LICENSE.txt shows correctly in the generated site. The file is in the > same directory as the pom.xml. If I use file:// then I also get a warning > ("[WARN] Non-HTTP license MIT license URL not verified."). Where shall the > file be placed and how should I specify the url? > P3. "[ERROR] Cannot reach project site with URL: > 'http://mojo.codehaus.org/freemarker-maven-plugin'. > [ERROR] Cannot reach scm with URL: > 'https://svn.codehaus.org/mojo/trunk/mojo/mojo-sandbox/freemarker-maven-plugin'.Error: > sun.security.validator.ValidatorException: PKIX path building failed: > sun.security.provider.certpath.SunCertPathBuilderException: unable to find > valid certification path to requested target" > Q3. The url > "https://svn.codehaus.org/mojo/trunk/mojo/mojo-sandbox/freemarker-maven-plugin" > works without any problems when I point to it in Firefox. What is the actual > problem? > P4. "[ERROR] Missing base FAQ.(fml|html|xml|apt)." > Q4. I have the file site/fml/FAQ.fml. It's added to site.xml and generates > correctly to html when generating the site. What is the actual problem? -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira