Hi, I just started a new project that uses the Maven Bundle Plugin, which is
new to me. So bear with me. :)
When I import my maven project into eclipse I get this error message on my
<execution> tag
Path must include project and resource name: /myProjectNameHere
(org.apache.felix:maven-bundle-plugin:1.0.0:bundle:prepare-bundle:prepare-package)
This project builds fine on the command line. I have tried googling around but
the message is so vague it applies to all sorts of maven setups. I have not
found anything relevant.
Can anyone with some knowledge look at my plugin definition? Does anything
stand out to you?
Thanks for taking some time,
-Mikel
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<extensions>true</extensions>
<version>1.0.0</version>
<executions>
<execution>
<id>prepare-bundle</id>
<phase>prepare-package</phase>
<goals>
<goal>bundle</goal>
</goals>
<configuration>
<instructions>
<Export-Package>com.package.one.*, com.package.two.*</Export-Package>
<Import-Package>*</Import-Package>
<Repository-Revision>${buildNumber}</Repository-Revision>
<Repository-URL>${buildSource}</Repository-URL>
<Kiva-API>1.0</Kiva-API>
</instructions>
</configuration>
</execution>
</executions>
</plugin>