You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

 
Table of Contents
The root page null could not be found in space Apache Tuscany Docs 2.x.

Converting 1.x dependencies

You should configure the project pom.xml and

1.x Dependencies

 

2.xDependencies

<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-assembly</artifactId>
<version>1.6-SNAPSHOT</version>
</dependency>

===>

<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-assembly</artifactId>
<version>2.0-SNAPSHOT</version>
</dependency>

The following core modules are not ported yet :

  • data-api
  • some policies

The following modules are deprecated :

  • host-embedded
    • use the new Node APIs

Generating OSGi Manifest

Configure pom to use Apache Felix [maven-bundle-plugin

    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.felix</groupId>
                <artifactId>maven-bundle-plugin</artifactId>

                <configuration>
                    <instructions>
                        <Bundle-Version>${tuscany.version}</Bundle-Version>
                        <Bundle-SymbolicName>org.apache.tuscany.sca.binding.atom</Bundle-SymbolicName>
                        <Bundle-Description>${pom.name}</Bundle-Description>
                        <Export-Package>org.apache.tuscany.sca.binding.atom*</Export-Package>
                        <Import-Package>org.apache.tuscany.sca.assembly.xml;version="1.4", *</Import-Package>
                    </instructions>
                </configuration>
            </plugin>
        </plugins>
    </build>

Generate the manifest

mvn org.apache.felix:maven-bundle-plugin:manifest

Copy the generated manifest from target folder to

<module-root>/META_INF/manifest.mf

Converting your extension model

  • Bindings
#trackbackRdf ($trackbackUtils.getContentIdentifier($page) $page.title $trackbackUtils.getPingUrl($page))
  • No labels