Hi all,
I use the following configuration in my bundle POM which originally was
developed as Eclipse PDE bundle:
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<executions>
<execution>
<id>bundle-manifest</id>
<phase>process-classes</phase>
<goals>
<goal>manifest</goal>
</goals>
</execution>
</executions>
<configuration>
<manifestLocation>${project.build.directory}/${project.build.finalName}/META-INF</manifestLocation>
<supportedProjectTypes>
<supportedProjectType>jar</supportedProjectType>
<supportedProjectType>war</supportedProjectType>
</supportedProjectTypes>
<instructions>
<Bundle-SymbolicName>${bundle.symbolicName}</Bundle-SymbolicName>
<Bundle-Version>${pom.version}</Bundle-Version>
<Bundle-Activator>${pom.artifactId}.Activator</Bundle-Activator>
<Private-Package>de.*</Private-Package>
</instructions>
</configuration>
</plugin>
The manifest.mf looks like that:
Manifest-Version: 1.0
Bundle-ClassPath: Bundle-ClassPath: .,WEB-INF/classes
Tool: Bnd-0.0.311
Bundle-Name: uiprototyp [de.domain]
Created-By: 1.6.0_12 (Sun Microsystems Inc.)
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
Bundle-Vendor: vendor
Module-Type: dw-module
Bundle-Version: 0.1.0.SNAPSHOT
Bnd-LastModified: 1248291452312
Bundle-ManifestVersion: 2
Bundle-Activator: uiprototyp.Activator
Bundle-Description: my bundle
Import-Package: uiprototyp
Bundle-SymbolicName: uiprototyp
Bundle-DocURL: http://www.domain.de
I am missing a lot of "Import-Package:" informations in the manifest.mf.
What could be the problem?
Regards
Tobi
--
GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]