You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Tim Pizey <ti...@paneris.org> on 2004/02/24 18:20:18 UTC

Problems building from cvs

Hi, 

I am having problems building from CVS, 
using Sun Java 1.4.2

I have updated maven and maven-plugins 

For the plugins 
maven -Dgoal=clean,plugin:install multiproject:goal

results in 
+----------------------------------------
| Executing clean,plugin:install Maven JIRA Plug-in
| Memory: 12M/18M
+----------------------------------------

clean:clean:
    [delete] Deleting directory 
/usr/local/packages/inst/maven-plugins/jira/target

clean:

plugin:
java:prepare-filesystem:
    [mkdir] Created dir: 
/usr/local/packages/inst/maven-plugins/jira/target/classes

java:compile:
    [echo] Compiling to 
/usr/local/packages/inst/maven-plugins/jira/target/classes
    [javac] Compiling 1 source file to 
/usr/local/packages/inst/maven-plugins/jira/target/classes
javac: invalid target release:
Usage: javac <options> <source files>
where possible options include:
  -g                        Generate all debugging info
  -g:none                   Generate no debugging info
  -g:{lines,vars,source}    Generate only some debugging info
  -nowarn                   Generate no warnings
  -verbose                  Output messages about what the compiler is doing
  -deprecation              Output source locations where deprecated APIs are 
used
  -classpath <path>         Specify where to find user class files
  -sourcepath <path>        Specify where to find input source files
  -bootclasspath <path>     Override location of bootstrap class files
  -extdirs <dirs>           Override location of installed extensions
  -d <directory>            Specify where to place generated class files
  -encoding <encoding>      Specify character encoding used by source files
  -source <release>         Provide source compatibility with specified 
release
  -target <release>         Generate class files for specific VM version
  -help                     Print a synopsis of standard options


BUILD FAILED
File...... 
file:/root/.maven/plugins/maven-multiproject-plugin-1.2-SNAPSHOT/plugin.jelly
Element... maven:reactor
Line...... 184
Column.... 9
Unable to obtain goal [plugin] -- 
file:/root/.maven/plugins/maven-java-plugin-1.3/plugin.jelly:34:48: 
<ant:javac> Compile failed; see the compiler error output for details.
Total time: 49 seconds
Finished at: Tue Feb 24 14:22:41 GMT 2004


For maven 
ant -f build-bootstrap.xml
results in 
[snip]
     [exec]     ... 31 more
     [exec] Root cause
     [exec] com.werken.werkz.UnattainableGoalException: Unable to obtain goal 
[test-xdoc] -- 
file:/root/.maven/plugins/maven-xdoc-plugin-1.6-SNAPSHOT/plugin.jelly:327:54: 
<j:include> could not include jelly script: 
file://root/.maven/plugins/maven-xdoc-plugin-1.6-SNAPSHOT/plugin-resources/site.jsl. 
Reason: org.apache.commons.jelly.JellyException: null:-1:-1: <null> Could not 
parse Jelly script
     [exec]     at com.werken.werkz.Goal.fire(Goal.java:646)

[snip]

     [exec] File...... file:/usr/local/packages/inst/maven/maven.xml
     [exec] Element... maven:reactor
     [exec] Line...... 83
     [exec] Column.... 7
     [exec] Unable to obtain goal [plugin:test] -- 
file:/root/.maven/plugins/maven-plugin-plugin-1.2-SNAPSHOT/plugin.jelly:239:34: 
<maven:maven> Unable to obtain goal [test-xdoc] -- 
file:/root/.maven/plugins/maven-xdoc-plugin-1.6-SNAPSHOT/plugin.jelly:327:54: 
<j:include> could not include jelly script: 
file://root/.maven/plugins/maven-xdoc-plugin-1.6-SNAPSHOT/plugin-resources/site.jsl. 
Reason: org.apache.commons.jelly.JellyException: null:-1:-1: <null> Could not 
parse Jelly script

BUILD FAILED
/usr/local/packages/inst/maven/build-bootstrap.xml:270: exec returned: 70

The build failure is so verbose that I cannot scroll back to its start.

maven.log appears to be trauncated.

Rather than send this straight away I thought I would try a few more times. 

I deleted my whole repository and tried again. 

then I manuall fetched the commons-util-SNAPSHOT.jar and 
copied it to commons-util-final.jar

But still no go :(

Dows CVS head work for others at the moment?


yours
tim pizey




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org