taverna-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stian Soiland-Reyes (JIRA)" <j...@apache.org>
Subject [jira] [Created] (TAVERNA-895) Unable to generate javadocs for taverna-language
Date Mon, 15 Feb 2016 09:24:18 GMT
Stian Soiland-Reyes created TAVERNA-895:
-------------------------------------------

             Summary: Unable to generate javadocs for taverna-language
                 Key: TAVERNA-895
                 URL: https://issues.apache.org/jira/browse/TAVERNA-895
             Project: Apache Taverna
          Issue Type: Bug
          Components: Taverna Language
            Reporter: Stian Soiland-Reyes
            Priority: Minor


{code}
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:2.9.1:aggregate
(default-cli) on project taverna-language: An error has occurred in JavaDocs report generation:
[ERROR] Exit code: 1 - /home/stain/src/taverna/incubator-taverna-language/taverna-robundle/target/generated-sources/xjc/org/oasis_open/names/tc/opendocument/xmlns/container/package-info.java:9:
warning: a package-info.java file has already been seen for package org.oasis_open.names.tc.opendocument.xmlns.container
[ERROR] package org.oasis_open.names.tc.opendocument.xmlns.container;
[ERROR] ^
[ERROR] /home/stain/src/taverna/incubator-taverna-language/taverna-robundle/target/generated-sources/xjc/org/w3/_2001/_04/xmlenc_/package-info.java:9:
warning: a package-info.java file has already been seen for package org.w3._2001._04.xmlenc_
[ERROR] package org.w3._2001._04.xmlenc_;
[ERROR] ^
[ERROR] /home/stain/src/taverna/incubator-taverna-language/taverna-robundle/target/generated-sources/xjc/org/w3/_2000/_09/xmldsig_/package-info.java:9:
warning: a package-info.java file has already been seen for package org.w3._2000._09.xmldsig_
[ERROR] package org.w3._2000._09.xmldsig_;
[ERROR] ^
[ERROR] /home/stain/src/taverna/incubator-taverna-language/taverna-robundle/target/generated-sources/xjc/org/oasis_open/names/tc/opendocument/xmlns/container/package-info.java:8:
error: package org.oasis_open.names.tc.opendocument.xmlns.container has already been annotated
[ERROR] @javax.xml.bind.annotation.XmlSchema(namespace = "urn:oasis:names:tc:opendocument:xmlns:container",
elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED)
[ERROR] ^
{code}

as org.w3.... is generated by maven-jaxb2-plugin in both taverna-scufl2-ucfpackage and taverna-robundle:

{code}
lstain@biggie:~/src/taverna/incubator-taverna-language$ find . -name xmldsig_
./taverna-scufl2-ucfpackage/target/generated-sources/xjc/org/w3/_2000/_09/xmldsig_
./taverna-scufl2-ucfpackage/target/apidocs/org/w3/_2000/_09/xmldsig_
./taverna-scufl2-ucfpackage/target/classes/org/w3/_2000/_09/xmldsig_
./taverna-robundle/target/generated-sources/xjc/org/w3/_2000/_09/xmldsig_
./taverna-robundle/target/apidocs/org/w3/_2000/_09/xmldsig_
./taverna-robundle/target/classes/org/w3/_2000/_09/xmldsig_
{code}

Perhaps there is a -X flag for javadoc to ignore this error - or perhaps better, we can move
the xjc-generated xmlenc_ and friends from their src/main/xsd/ to taverna-scufl2-schemas/?




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message