Constantino Cronemberger created MSITE-734:
----------------------------------------------

             Summary: url and name are mandatory for a license but this is not 
validated
                 Key: MSITE-734
                 URL: https://jira.codehaus.org/browse/MSITE-734
             Project: Maven Site Plugin
          Issue Type: Improvement
    Affects Versions: 3.3
            Reporter: Constantino Cronemberger
            Priority: Minor
         Attachments: exception.txt

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.

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



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

Reply via email to