Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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

Code Block
    <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="12.0.40", *</Import-Package>
                    </instructions>
                </configuration>
            </plugin>
        </plugins>
    </build>

Generate the manifest

Code Block

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

Copy the generated manifest from target folder to

Code Block

<module-root>/META_INF/manifest.mf

Add manifest to source control

Make any manual modifications as necessary

Converting your extension model

...