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] [Commented] (TAVERNA-883) Find valid OSGi bundles for Woden
Date Fri, 15 Jan 2016 15:58:39 GMT

    [ https://issues.apache.org/jira/browse/TAVERNA-883?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15101966#comment-15101966
] 

Stian Soiland-Reyes commented on TAVERNA-883:
---------------------------------------------

Caused by outdated / out of sync dependency:

{code}
              <dependency>
                        <groupId>org.apache.ws.xmlschema</groupId>
                        <artifactId>xmlschema-core</artifactId>
                        <version>2.1.0</version>
                </dependency>
{code}

Updating this to version 2.2.1 should fix the OSGi loading to be in sync with woden - but
fails compilation of wsdl-generic itself:

{code}
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.2:compile
(default-compile) on project taverna-wsdl-generic: Compilation failure: Compilation failure:
[ERROR] /home/stain/src/taverna/incubator-taverna-common-activities/taverna-wsdl-generic/src/main/java/org/apache/taverna/wsdl/parser/TypeDescriptors.java:[372,53]
incompatible types: org.apache.ws.commons.schema.XmlSchemaAllMember cannot be converted to
org.apache.ws.commons.schema.XmlSchemaElement
[ERROR] /home/stain/src/taverna/incubator-taverna-common-activities/taverna-wsdl-generic/src/main/java/org/apache/taverna/wsdl/parser/TypeDescriptors.java:[383,54]
incompatible types: java.util.List<org.apache.ws.commons.schema.XmlSchemaChoiceMember>
cannot be converted to java.util.List<org.apache.ws.commons.schema.XmlSchemaObject>

{code}


> Find valid OSGi bundles for Woden
> ---------------------------------
>
>                 Key: TAVERNA-883
>                 URL: https://issues.apache.org/jira/browse/TAVERNA-883
>             Project: Apache Taverna
>          Issue Type: Bug
>          Components: Taverna Commandline, Taverna Common Activities
>            Reporter: Stian Soiland-Reyes
>              Labels: osgi
>
> wsdl-activity uses Woden, which does not seem to have a valid OSGi bundle dependency
for org.apache.ws.security.* 
> This prevents the command line from starting up.
> Perhaps updating the Woden dependency would work? Otherwise change to embed the dependency
from wsdl-activity, as with Embed-Dependency in https://github.com/apache/incubator-taverna-common-activities/blob/master/taverna-beanshell-activity/pom.xml#L22
> {code}
> stain@biggie:~/src/taverna/incubator-taverna-commandline/taverna-commandline-product$
mvn clean install
> [INFO] Scanning for projects...
> [INFO]                                                                         
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Apache Taverna Commandline Product 3.1.0-incubating-SNAPSHOT
> [INFO] ------------------------------------------------------------------------
> [WARNING] The POM for org.springframework:org.springframework.aop:jar:3.0.0.RC1 is missing,
no dependency information available
> [WARNING] The POM for org.springframework:org.springframework.core:jar:3.0.0.RC1 is missing,
no dependency information available
> [WARNING] The POM for org.springframework:org.springframework.asm:jar:3.0.0.RC1 is missing,
no dependency information available
> [WARNING] The POM for org.springframework:org.springframework.context:jar:3.0.0.RC1 is
missing, no dependency information available
> [INFO] 
> [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ taverna-command-line-product
---
> [INFO] Deleting /home/stain/src/taverna/incubator-taverna-commandline/taverna-commandline-product/target
> [INFO] 
> [INFO] --- buildnumber-maven-plugin:1.0-beta-3:create (buildnumber-validate) @ taverna-command-line-product
---
> [INFO] Storing buildNumber: 20160111T1738 at timestamp: 1452533883811
> [INFO] 
> [INFO] --- taverna-maven-plugin:0.2.1-incubating-SNAPSHOT:profile-generate (default-profile-generate)
@ taverna-command-line-product ---
> [WARNING] Bundle : org.apache.woden:woden-core:jar:1.0M10 has unresolved package dependencies:
> [WARNING]     org.apache.ws.commons.schema.resolver;version="[2.2.0,3.0.0)"
> [WARNING]     org.apache.ws.commons.schema.utils;version="[2.2.0,3.0.0)"
> [WARNING]     org.apache.ws.commons.schema;version="[2.2.0,3.0.0)"
> [WARNING] Bundle : org.apache.taverna.commonactivities:taverna-wsdl-generic:jar:2.1.0-incubating-SNAPSHOT
has unresolved package dependencies:
> [WARNING]     org.apache.ws.security.message;version="[1.6.0,2.0.0)"
> [WARNING]     org.apache.ws.security;version="[1.6.0,2.0.0)"
> {code}
> Error on starting up:
> {code}
> stain@biggie:~/src/taverna/incubator-taverna-commandline/taverna-commandline-product/target/apache-taverna-commandline-3.1.0-incubating-SNAPSHOT-dev/apache-taverna-commandline-3.1.0-incubating-SNAPSHOT$
sh executeworkflow.sh asdf
> OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=400m; support was removed
in 8.0
> The bundle "org.apache.taverna.commonactivities.taverna-wsdl-activity_2.1.0.incubating-SNAPSHOT
[63]" could not be resolved. Reason: Missing Constraint: Import-Package: org.apache.taverna.wsdl.parser;
version="[2.1.0,3.0.0)"
> {code}



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

Mime
View raw message