Thank you, Stefan. That was it. It was my lack of knowledge of how to
set List type of properties in pom.xml. I wish Maven could tell me that
there is no configuration property called supportedProjectType in
maven-bundle-plugin. Secondly, maven-bundle-plugin issues a DEBUG
message if the project type is not suitable. If I run with -X option, I
see a debug message that says project type is not compatible. I wish it
were a WARNING from maven-bundle-plugin rather than a DEBUG message.
Thanks, again.
Sahoo
VUB Stefan Seidel wrote:
The doc suggests
<supportedProjectTypes>jar,bundle,hk2-jar</supportedProjectTypes>
or maybe
<supportedProjectTypes>
<supportedProjectType>hk2-jar</supportedProjectType>
<supportedProjectType>jar</supportedProjectType>
<supportedProjectType>bundle</supportedProjectType>
</supportedProjectTypes>
Stefan
Sahoo wrote:
I want to use maven-bundle-plugin in a project whose packaging type
is neither jar nor bundle. Is it still possible? I configured my
pom.xml like this, but it does not work:
<plugin>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
</archive>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<configuration>
<supportedProjectType>hk2-jar</supportedProjectType>
<supportedProjectType>jar</supportedProjectType>
<supportedProjectType>bundle</supportedProjectType>
</configuration>
<executions>
<execution>
<id>bundle-manifest</id>
<phase>process-classes</phase>
<goals>
<goal>manifest</goal>
</goals>
</execution>
</executions>
</plugin>
Thanks,
Sahoo
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]