Adam Hardy wrote:
Hi Dennis,
unfortunately I can't report any success with this. I used the relevant
configuration parameters and it seems I got them right, because the
console logging shows that the plugin is attempting to open the correct
URL - i.e. if I put the login URL into a browser, it logs in
successfully to my JIRA.
However the plugin then fails
[INFO] Jira lives at: https://support.nomadsoft.com/jira
[INFO] Downloading
https://support.nomadsoft.com/jira/secure/IssueNavigator.jspa?view=rss&pid=10060&sorter/field=created&sorter/order=DESC&sorter/field=priority&sorter/order=DESC&tempMax=100&reset=true&decorator=none
[ERROR] Error downloading issues from JIRA. Cause is
sun.security.validator.ValidatorException: PKIX path building failed:
sun.security.provider.certpath.SunCertPathBuilderException: unable to
find valid certification path to requested target
What do you think causes this PKIX ValidatorException? HttpClient wants
to log to the cohsole, but I haven't got it enabled yet. I assume there
must be something fairly obvious I need to do to get HttpClient to use SSL.
It's because your JIRA-site uses a self-signed certificate, that the JVM
that you use to run Maven does not know about. For this to work you need
to somehow "insert" your certificate into your JVM.
Any ideas?
Thanks
Adam
Dennis Lundberg wrote:
Adam Hardy wrote:
maven-changes-plugin can generate JIRA reports according to its
documentation but I'm having a hard time setting it up - the docs on
maven.apache.org specify an issueManagement config node and that's
about it.
See this page for info on all configuration options for the jira-report:
http://maven.apache.org/plugins/maven-changes-plugin/jira-report-mojo.html
From the mvn output though it looks like there's alot more going on
than I know about, and I guess I need to find a way to specify
project ids, server usernames & passwords and so forth.
The output I see on the console is below, but these are the main
problems I see:
- there's a suspicious looking warning: [WARNING] Error loading
report org.apache.maven.jira.JiraMojo - AbstractMethodError:
canGenerateReport()
- my JIRA server runs on HTTPS and mvn has problems connecting - so
how can I specify my username and password?
See the link above.
- mvn also can't find a log4j logger for HttpClient, which looks like
it is caching URLs from previous attempts! Where can I put
The only settings I can work out for my pom for this are:
<issueManagement>
<system>JIRA</system>
<url>https://support.nomadsoft.com/jira/BrowseProject.jspa?id=10060</url>
</issueManagement>
[INFO] [site:site]
[WARNING] Error loading report
org.apache.maven.plugin.taglist.TagListReport - AbstractMethodError:
canGenerateReport()
[WARNING] Error loading report org.apache.maven.changes.ChangesMojo -
AbstractMethodError: canGenerateReport()
[WARNING] Error loading report org.apache.maven.jira.JiraMojo -
AbstractMethodError: canGenerateReport()
[WARNING] No URL defined for the project - decoration links will not
be resolved
[INFO] Skipped "Jira Report" report, file "jira-report.html" already
exists for the English version.
[INFO] Generate "Tag List" report.
[ERROR] VM #displayTree: error : too few arguments to macro. Wanted 2
got 0
[ERROR] VM #menuItem: error : too few arguments to macro. Wanted 1 got 0
[INFO] Generate "Continuous Integration" report.
[INFO] Generate "Dependencies" report.
[INFO] Generate "Issue Tracking" report.
[INFO] Generate "Project License" report.
[INFO] Generate "Mailing Lists" report.
[INFO] Generate "Source Repository" report.
[INFO] Generate "Project Team" report.
[INFO] Generate "Changes Report Plugin" report.
[ERROR] Cannot find the Changes XML file.
[INFO] Generate "Jira Report Plugin" report.
log4j:WARN No appenders could be found for logger
(org.apache.commons.httpclient.HttpClient).
log4j:WARN Please initialize the log4j system properly.
[INFO] Jira lives at: https://support.nomadsoft.com/jira
[INFO] Downloading
https://support.nomadsoft.com/jira/secure/IssueNavigator.jspa?view=rss&pid=10060&sorter/field=created&sorter/order=DESC&sorter/field=prior
ity&sorter/order=DESC&tempMax=100&reset=true&decorator=none
[ERROR] Error downloading issues from JIRA. Cause is
sun.security.validator.ValidatorException: PKIX path building failed:
sun.security.provider.certpath.Sun
CertPathBuilderException: unable to find valid certification path to
requested target
java.io.FileNotFoundException:
c:\projects\soa\target\jira-results.xml (The system cannot find the
file specified)
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Dennis Lundberg
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]