Updated copyright
1 file changed
tree: 3f264afa56ac4c7723f9b0bb49de3794c5b09186
  1. taverna-app-configuration-api/
  2. taverna-app-configuration-impl/
  3. taverna-configuration-api/
  4. taverna-configuration-impl/
  5. taverna-download-api/
  6. taverna-download-impl/
  7. taverna-maven-plugin/
  8. taverna-osgi-launcher/
  9. taverna-osgi-schemas/
  10. taverna-plugin-api/
  11. taverna-plugin-impl/
  12. taverna-update-api/
  13. taverna-update-impl/
  14. xml-parser-service/
  15. xml-transformer-service/
  16. .gitignore
  17. .travis.yml
  18. DISCLAIMER
  19. LICENSE
  20. NOTICE
  21. pom.xml
  22. README.md
README.md

Apache Taverna OSGi plugin system

OSGi-based plugin system, including online updates. Written for Apache Taverna (incubating), probably usable for any OSGi-based command line/desktop product.

License

  • (c) 2007-2014 University of Manchester
  • (c) 2014-2018 Apache Software Foundation

This product includes software developed at The Apache Software Foundation.

Licensed under the Apache License 2.0, see the file LICENSE for details.

The file NOTICE contain any additional attributions and details about embedded third-party libraries and source code.

Contribute

Please subscribe to and contact the dev@taverna mailing list for any questions, suggestions and discussions about Apache Taverna.

Bugs and feature plannings are tracked in the Jira Issue tracker under the TAVERNA component Taverna Common Activities. Feel free to add an issue!

To suggest changes to this source code, feel free to raise a GitHub pull request. Any contributions received are assumed to be covered by the Apache License 2.0. We might ask you to sign a Contributor License Agreement before accepting a larger contribution.

Disclaimer

Apache Taverna is an effort undergoing incubation at the Apache Software Foundation (ASF), sponsored by the Apache Incubator PMC.

Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects.

While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.

Prerequisites

  • Java 1.8 or newer (tested with OpenJDK 1.8)
  • Apache Maven 3.2.5 or newer (older versions probably also work)

Building

To build, use

mvn clean install

This will build each module and run their tests.

Building on Windows

If you are building on Windows, ensure you unpack this source code to a folder with a short path name lenght, e.g. C:\src - as Windows has a limitation on the total path length which might otherwise prevent this code from building successfully.

Skipping tests

To skip the tests (these can be timeconsuming), use:

mvn clean install -DskipTests

If you are modifying this source code independent of the Apache Taverna project, you may not want to run the Rat Maven plugin that enforces Apache headers in every source file - to disable it, try:

mvn clean install -Drat.skip=true

Modules

The Taverna OSGi modules are split into -api and -impl. -api contain Java interfaces and abstract classes and minimal dependencies, while -impl contain the corresponding implementation(s).

See the taverna-osgi javadoc for details on each OSGi service. In brief:

Spring services

The OSGi services should be discoverable as Spring services, e.g. by adding to your META-INF/spring/update-context-osgi.xml:


<beans:beans xmlns="http://www.springframework.org/schema/osgi" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:beans="http://www.springframework.org/schema/beans" xsi:schemaLocation=" http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd http://www.springframework.org/schema/osgi http://www.springframework.org/schema/osgi/spring-osgi.xsd"> <reference id="applicationConfiguration" interface="org.apache.taverna.configuration.app.ApplicationConfiguration" /> <reference id="proxyConfiguration" interface="org.apache.taverna.configuration.proxy.HttpProxyConfiguration" /> <reference id="configurationManager" interface="org.apache.taverna.configuration.ConfigurationManager" /> <reference id="downloadManager" interface="org.apache.taverna.download.DownloadManager" /> <reference id="pluginManager" interface="org.apache.taverna.plugin.PluginManager" /> <reference id="updateManager" interface="org.apache.taverna.update.UpdateManager" /> </beans:beans>

Export restrictions

This distribution includes cryptographic software. The country in which you currently reside may have restrictions on the import, possession, use, and/or re-export to another country, of encryption software. BEFORE using any encryption software, please check your country's laws, regulations and policies concerning the import, possession, or use, and re-export of encryption software, to see if this is permitted. See http://www.wassenaar.org/ for more information.

The U.S. Government Department of Commerce, Bureau of Industry and Security (BIS), has classified this software as Export Commodity Control Number (ECCN) 5D002.C.1, which includes information security software using or performing cryptographic functions with asymmetric algorithms. The form and manner of this Apache Software Foundation distribution makes it eligible for export under the License Exception ENC Technology Software Unrestricted (TSU) exception (see the BIS Export Administration Regulations, Section 740.13) for both object code and source code.

The following provides more details on the included cryptographic software: