incubator-odf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ian Pilcher <arequip...@gmail.com>
Subject Missing com.sun packages?
Date Sat, 16 Feb 2013 16:46:44 GMT
I am trying to build odftoolkit-0.5-incubating-src.tar.bz2 on Fedora 18.
I'm not familiar with Maven, and I can't figure out what I need to do to
get past this error (and many like it):

[ERROR]
/home/pilcher/odftoolkit-0.5-incubating/taglets/src/main/java/org/odftoolkit/odfdom/taglet/OdfElementTaglet.java:[27,22]
error: package com.sun.javadoc does not exist

Full output below.  Any suggestions appreciated.

Thanks!

[pilcher@ian odftoolkit-0.5-incubating]$ mvn -version
Apache Maven 3.0.4 (rNON-CANONICAL_2012-11-09_15-39_mockbuild;
2012-11-09 09:39:59-0600)
Maven home: /usr/share/maven
Java version: 1.7.0_09-icedtea, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.9.x86_64/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "3.7.6-201.fc18.x86_64", arch: "amd64",
family: "unix"
[pilcher@ian odftoolkit-0.5-incubating]$ mvn clean install
[INFO] Scanning for projects...
[INFO]
------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] Apache ODF Toolkit
[INFO] ODF Custom Javadoc Taglets
[INFO] XML Schema to Template Mapping Tool: Parent POM
[INFO] XML Schema to Template Mapping Tool: Library
[INFO] XML Schema to Template Mapping Tool: Maven2 Plugin
[INFO] ODFDOM
[INFO] ODF XSLT-Runner
[INFO] ODF XSLT-Runner Ant Task
[INFO] ODF Validator
[INFO] Simple Java API for ODF (Simple ODF)
[INFO]

[INFO]
------------------------------------------------------------------------
[INFO] Building Apache ODF Toolkit 0.5-incubating
[INFO]
------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ odftoolkit ---
[INFO]
[INFO] --- maven-remote-resources-plugin:1.2.1:process (default) @
odftoolkit ---
[INFO]
[INFO] --- maven-site-plugin:3.0:attach-descriptor (attach-descriptor) @
odftoolkit ---
[INFO]
[INFO] --- maven-install-plugin:2.3.1:install (default-install) @
odftoolkit ---
[INFO] Installing /home/pilcher/odftoolkit-0.5-incubating/pom.xml to
/home/pilcher/.m2/repository/org/apache/odftoolkit/odftoolkit/0.5-incubating/odftoolkit-0.5-incubating.pom
[INFO]

[INFO]
------------------------------------------------------------------------
[INFO] Building ODF Custom Javadoc Taglets 0.8.8-incubating
[INFO]
------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ taglets ---
[INFO]
[INFO] --- maven-remote-resources-plugin:1.2.1:process (default) @
taglets ---
[INFO]
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @
taglets ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory
/home/pilcher/odftoolkit-0.5-incubating/taglets/src/main/resources
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @
taglets ---
[INFO] Compiling 3 source files to
/home/pilcher/odftoolkit-0.5-incubating/taglets/target/classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR]
/home/pilcher/odftoolkit-0.5-incubating/taglets/src/main/java/org/odftoolkit/odfdom/taglet/OdfElementTaglet.java:[27,22]
error: package com.sun.javadoc does not exist
[ERROR]
/home/pilcher/odftoolkit-0.5-incubating/taglets/src/main/java/org/odftoolkit/odfdom/taglet/OdfElementTaglet.java:[28,28]
error: package com.sun.tools.doclets does not exist
[ERROR]
/home/pilcher/odftoolkit-0.5-incubating/taglets/src/main/java/org/odftoolkit/odfdom/taglet/OdfElementTaglet.java:[43,42]
error: cannot find symbol
[ERROR]  class Taglet
/home/pilcher/odftoolkit-0.5-incubating/taglets/src/main/java/org/odftoolkit/odfdom/taglet/OdfElementTaglet.java:[137,45]
error: cannot find symbol
[ERROR]  class OdfElementTaglet
/home/pilcher/odftoolkit-0.5-incubating/taglets/src/main/java/org/odftoolkit/odfdom/taglet/OdfElementTaglet.java:[151,28]
error: cannot find symbol
[ERROR]  class OdfElementTaglet
/home/pilcher/odftoolkit-0.5-incubating/taglets/src/main/java/org/odftoolkit/odfdom/taglet/OdfElementTaglet.java:[163,28]
error: cannot find symbol
[ERROR]  class OdfElementTaglet
/home/pilcher/odftoolkit-0.5-incubating/taglets/src/main/java/org/odftoolkit/odfdom/taglet/OdfAttributeTaglet.java:[27,22]
error: package com.sun.javadoc does not exist
[ERROR]
/home/pilcher/odftoolkit-0.5-incubating/taglets/src/main/java/org/odftoolkit/odfdom/taglet/OdfAttributeTaglet.java:[28,28]
error: package com.sun.tools.doclets does not exist
[ERROR]
/home/pilcher/odftoolkit-0.5-incubating/taglets/src/main/java/org/odftoolkit/odfdom/taglet/OdfAttributeTaglet.java:[42,43]
error: cannot find symbol
[ERROR]  class Taglet
/home/pilcher/odftoolkit-0.5-incubating/taglets/src/main/java/org/odftoolkit/odfdom/taglet/OdfAttributeTaglet.java:[136,45]
error: cannot find symbol
[ERROR]  class OdfAttributeTaglet
/home/pilcher/odftoolkit-0.5-incubating/taglets/src/main/java/org/odftoolkit/odfdom/taglet/OdfAttributeTaglet.java:[151,28]
error: cannot find symbol
[ERROR]  class OdfAttributeTaglet
/home/pilcher/odftoolkit-0.5-incubating/taglets/src/main/java/org/odftoolkit/odfdom/taglet/OdfAttributeTaglet.java:[164,28]
error: cannot find symbol
[ERROR]  class OdfAttributeTaglet
/home/pilcher/odftoolkit-0.5-incubating/taglets/src/main/java/org/odftoolkit/odfdom/taglet/OdfDatatypeTaglet.java:[26,22]
error: package com.sun.javadoc does not exist
[ERROR]
/home/pilcher/odftoolkit-0.5-incubating/taglets/src/main/java/org/odftoolkit/odfdom/taglet/OdfDatatypeTaglet.java:[27,28]
error: package com.sun.tools.doclets does not exist
[ERROR]
/home/pilcher/odftoolkit-0.5-incubating/taglets/src/main/java/org/odftoolkit/odfdom/taglet/OdfDatatypeTaglet.java:[42,42]
error: cannot find symbol
[ERROR]  class Taglet
/home/pilcher/odftoolkit-0.5-incubating/taglets/src/main/java/org/odftoolkit/odfdom/taglet/OdfDatatypeTaglet.java:[135,41]
error: cannot find symbol
[ERROR]  class OdfDatatypeTaglet
/home/pilcher/odftoolkit-0.5-incubating/taglets/src/main/java/org/odftoolkit/odfdom/taglet/OdfDatatypeTaglet.java:[150,24]
error: cannot find symbol
[ERROR]  class OdfDatatypeTaglet
/home/pilcher/odftoolkit-0.5-incubating/taglets/src/main/java/org/odftoolkit/odfdom/taglet/OdfDatatypeTaglet.java:[163,24]
error: cannot find symbol
[ERROR]  class OdfDatatypeTaglet
/home/pilcher/odftoolkit-0.5-incubating/taglets/src/main/java/org/odftoolkit/odfdom/taglet/OdfElementTaglet.java:[139,12]
error: cannot find symbol
[ERROR]  class OdfElementTaglet
/home/pilcher/odftoolkit-0.5-incubating/taglets/src/main/java/org/odftoolkit/odfdom/taglet/OdfAttributeTaglet.java:[138,12]
error: cannot find symbol
[ERROR]  class OdfAttributeTaglet
/home/pilcher/odftoolkit-0.5-incubating/taglets/src/main/java/org/odftoolkit/odfdom/taglet/OdfDatatypeTaglet.java:[137,2]
error: cannot find symbol
[INFO] 21 errors
[INFO] -------------------------------------------------------------
[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache ODF Toolkit ................................ SUCCESS [1.951s]
[INFO] ODF Custom Javadoc Taglets ........................ FAILURE [1.191s]
[INFO] XML Schema to Template Mapping Tool: Parent POM ... SKIPPED
[INFO] XML Schema to Template Mapping Tool: Library ...... SKIPPED
[INFO] XML Schema to Template Mapping Tool: Maven2 Plugin  SKIPPED
[INFO] ODFDOM ............................................ SKIPPED
[INFO] ODF XSLT-Runner ................................... SKIPPED
[INFO] ODF XSLT-Runner Ant Task .......................... SKIPPED
[INFO] ODF Validator ..................................... SKIPPED
[INFO] Simple Java API for ODF (Simple ODF) .............. SKIPPED
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 3.951s
[INFO] Finished at: Sat Feb 16 10:42:34 CST 2013
[INFO] Final Memory: 22M/605M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile
(default-compile) on project taglets: Compilation failure: Compilation
failure:
[ERROR]
/home/pilcher/odftoolkit-0.5-incubating/taglets/src/main/java/org/odftoolkit/odfdom/taglet/OdfElementTaglet.java:[27,22]
error: package com.sun.javadoc does not exist
[ERROR]
/home/pilcher/odftoolkit-0.5-incubating/taglets/src/main/java/org/odftoolkit/odfdom/taglet/OdfElementTaglet.java:[28,28]
error: package com.sun.tools.doclets does not exist
[ERROR]
/home/pilcher/odftoolkit-0.5-incubating/taglets/src/main/java/org/odftoolkit/odfdom/taglet/OdfElementTaglet.java:[43,42]
error: cannot find symbol
[ERROR] class Taglet
[ERROR]
/home/pilcher/odftoolkit-0.5-incubating/taglets/src/main/java/org/odftoolkit/odfdom/taglet/OdfElementTaglet.java:[137,45]
error: cannot find symbol
[ERROR] class OdfElementTaglet
[ERROR]
/home/pilcher/odftoolkit-0.5-incubating/taglets/src/main/java/org/odftoolkit/odfdom/taglet/OdfElementTaglet.java:[151,28]
error: cannot find symbol
[ERROR] class OdfElementTaglet
[ERROR]
/home/pilcher/odftoolkit-0.5-incubating/taglets/src/main/java/org/odftoolkit/odfdom/taglet/OdfElementTaglet.java:[163,28]
error: cannot find symbol
[ERROR] class OdfElementTaglet
[ERROR]
/home/pilcher/odftoolkit-0.5-incubating/taglets/src/main/java/org/odftoolkit/odfdom/taglet/OdfAttributeTaglet.java:[27,22]
error: package com.sun.javadoc does not exist
[ERROR]
/home/pilcher/odftoolkit-0.5-incubating/taglets/src/main/java/org/odftoolkit/odfdom/taglet/OdfAttributeTaglet.java:[28,28]
error: package com.sun.tools.doclets does not exist
[ERROR]
/home/pilcher/odftoolkit-0.5-incubating/taglets/src/main/java/org/odftoolkit/odfdom/taglet/OdfAttributeTaglet.java:[42,43]
error: cannot find symbol
[ERROR] class Taglet
[ERROR]
/home/pilcher/odftoolkit-0.5-incubating/taglets/src/main/java/org/odftoolkit/odfdom/taglet/OdfAttributeTaglet.java:[136,45]
error: cannot find symbol
[ERROR] class OdfAttributeTaglet
[ERROR]
/home/pilcher/odftoolkit-0.5-incubating/taglets/src/main/java/org/odftoolkit/odfdom/taglet/OdfAttributeTaglet.java:[151,28]
error: cannot find symbol
[ERROR] class OdfAttributeTaglet
[ERROR]
/home/pilcher/odftoolkit-0.5-incubating/taglets/src/main/java/org/odftoolkit/odfdom/taglet/OdfAttributeTaglet.java:[164,28]
error: cannot find symbol
[ERROR] class OdfAttributeTaglet
[ERROR]
/home/pilcher/odftoolkit-0.5-incubating/taglets/src/main/java/org/odftoolkit/odfdom/taglet/OdfDatatypeTaglet.java:[26,22]
error: package com.sun.javadoc does not exist
[ERROR]
/home/pilcher/odftoolkit-0.5-incubating/taglets/src/main/java/org/odftoolkit/odfdom/taglet/OdfDatatypeTaglet.java:[27,28]
error: package com.sun.tools.doclets does not exist
[ERROR]
/home/pilcher/odftoolkit-0.5-incubating/taglets/src/main/java/org/odftoolkit/odfdom/taglet/OdfDatatypeTaglet.java:[42,42]
error: cannot find symbol
[ERROR] class Taglet
[ERROR]
/home/pilcher/odftoolkit-0.5-incubating/taglets/src/main/java/org/odftoolkit/odfdom/taglet/OdfDatatypeTaglet.java:[135,41]
error: cannot find symbol
[ERROR] class OdfDatatypeTaglet
[ERROR]
/home/pilcher/odftoolkit-0.5-incubating/taglets/src/main/java/org/odftoolkit/odfdom/taglet/OdfDatatypeTaglet.java:[150,24]
error: cannot find symbol
[ERROR] class OdfDatatypeTaglet
[ERROR]
/home/pilcher/odftoolkit-0.5-incubating/taglets/src/main/java/org/odftoolkit/odfdom/taglet/OdfDatatypeTaglet.java:[163,24]
error: cannot find symbol
[ERROR] class OdfDatatypeTaglet
[ERROR]
/home/pilcher/odftoolkit-0.5-incubating/taglets/src/main/java/org/odftoolkit/odfdom/taglet/OdfElementTaglet.java:[139,12]
error: cannot find symbol
[ERROR] class OdfElementTaglet
[ERROR]
/home/pilcher/odftoolkit-0.5-incubating/taglets/src/main/java/org/odftoolkit/odfdom/taglet/OdfAttributeTaglet.java:[138,12]
error: cannot find symbol
[ERROR] class OdfAttributeTaglet
[ERROR]
/home/pilcher/odftoolkit-0.5-incubating/taglets/src/main/java/org/odftoolkit/odfdom/taglet/OdfDatatypeTaglet.java:[137,2]
error: cannot find symbol
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the
-e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the
command
[ERROR]   mvn <goals> -rf :taglets
-- 
========================================================================
Ian Pilcher                                         arequipeno@gmail.com
Sometimes there's nothing left to do but crash and burn...or die trying.
========================================================================


Mime
View raw message