avalon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Niclas Hedhman <nic...@hedhman.org>
Subject Re: More compile errors...
Date Thu, 11 Sep 2003 06:15:39 GMT
On Thursday 11 September 2003 13:38, Niclas Hedhman wrote:
> BUILD FAILED
> File...... file:/home/niclas/dev/opensource/avalon-sandbox/merlin/
> Element... maven:reactor
> Line...... 269
> Column.... 31
> Unable to obtain goal [license:transfer] --
> file:/home/niclas/.maven/plugins/maven-xdoc-plugin-1.4-SNAPSHOT/:208:75:
> <j:file> /license.xml (Permission denied)
> Total time: 1 minutes 29 seconds

> 2. A license.xml file is supposed to exist. In the whole avalon-sandbox,
> there are no license.xml file, NOR any file containing such reference. I
> have no clue.

The file
~/.maven/plugins/maven-license-plugin-1.1-SNAPSHOT/plugin.jelly

contains
    <doc:text-xdoc
      title="Project License"
      section="Project License"
      output="${genDocs}/license.xml"
      inputFile="${licenseFile}"/>

And since the error says
/license.xml (Permission denied)

it should mean that the genDocs property is not set, and Maven will try to 
write the license.xml to my root (/).

I found
<j:set var="genDocs" value="${maven.gen.docs}"/>

so I set the 
maven.gen.docs=${basedir}/target/docs
in ./avalon-sandbox/merlin/project.properties

And it get beyond the point above.

BUT...

maven-changelog-plugin:report:
    [echo] Generating the changelog report

BUILD FAILED
File...... file:/home/niclas/dev/opensource/avalon-sandbox/merlin/
Element... maven:reactor
Line...... 272
Column.... 31
Unable to obtain goal [site] -- 
file:/home/niclas/.maven/plugins/maven-xdoc-plugin-1.4-SNAPSHOT/:164:39: 
<doc:jslFile> java.lang.NullPointerException
Total time: 1 minutes 33 seconds

The plugin.jelly at that point contains
      <doc:jslFile
        input="${input}"
        output="${outputDirectory}/${output}"
        stylesheet="${stylesheet}"
        encoding="${encoding}"
        omitXmlDeclaration="${omitXmlDeclaration}"
        outputMode="${outputMode}"
        prettyPrint="${prettyPrint}"/>

So, I GUESS that input, output or stylesheet is not specified or perhaps 
doesn't exist (but shouldn't one get better error message in that case).

Niclas





---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
For additional commands, e-mail: dev-help@avalon.apache.org


Mime
View raw message