maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Constantino Cronemberger (JIRA)" <j...@codehaus.org>
Subject [jira] (MPIR-313) url and name are mandatory for a license but this is not validated
Date Thu, 11 Dec 2014 11:37:10 GMT

    [ https://jira.codehaus.org/browse/MPIR-313?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=358919#comment-358919
] 

Constantino Cronemberger edited comment on MPIR-313 at 12/11/14 5:35 AM:
-------------------------------------------------------------------------

OK. You could also add a counter to the name so they will be unique.


was (Author: ccronemberger):
OK

> url and name are mandatory for a license but this is not validated
> ------------------------------------------------------------------
>
>                 Key: MPIR-313
>                 URL: https://jira.codehaus.org/browse/MPIR-313
>             Project: Maven Project Info Reports Plugin
>          Issue Type: Bug
>    Affects Versions: 2.7
>            Reporter: Constantino Cronemberger
>            Assignee: Michael Osipov
>            Priority: Minor
>              Labels: exception
>         Attachments: exception.txt, fix_MPIR-313.patch, pom.xml
>
>
> In an internal project we had a license defined in the pom.xml but without url and name.

> This causes an exception which does not say anything about the fact that these required
elements are missing. See attached file with the complete exception.
> {code}
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.3:site (default-site)
on project jee-util: Execution default-site of goal org.apache.maven.plugins:maven-site-plugin:3.3:site
failed: Anchor name cannot be null! -> [Help 1]
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.3:site
(default-site) on project jee-util: Execution default-site of goal org.apache.maven.plugins:maven-site-plugin:3.3:site
failed: Anchor name cannot be null!
>         at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:224)
> {code}



--
This message was sent by Atlassian JIRA
(v6.1.6#6162)

Mime
View raw message