Converting 1.x dependenciesYou should configure the project pom.xml and
The following core modules are not ported yet :
The following modules are deprecated :
Generating OSGi ManifestConfigure 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="2.0.0", *</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 Add manifest to source control git add META-INF or svn add META-INF Make any manual modifications as necessary Converting your extension modelYour extension model needs to provide a new getType method public interface JSONRPCBinding extends Binding { QName TYPE = new QName(SCA11_TUSCANY_NS, "binding.jsonrpc"); ... } public class JSONRPCBindingImpl implements JSONRPCBinding { private String name; private String uri; public QName getType() { return TYPE; } ... } |