SimpleFlatMapper
SimpleFlatMapper copied to clipboard
Please add maven bundle plugin specification
We are an Enterprise that imports all Maven libraries/dependencies into our internal artifact repository (language/platform agnostic). The importing mechanism is automatic and does plenty of sanity checks before doing so.
When I tried to import sfm related libraries I get an error because the packaging type is set to 'bundle' however there is no maven-bundle-plugin (presumably this is built with a profile or a custom settings.xml which has the instructions) specified.
Would it be possible to add the following section to the pom of all the sfm projects? sfm-jooq, sfm-jdbc, sfm-map, sfm-reflect, sfm-util, sfm-converter ? I have given a sample snippet which might work but the flags may need some customisation.
<build>
<plugins>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<extensions>true</extensions>
<version>2.3.5</version>
<configuration>
<instructions>
<Bundle-SymbolicName>${project.groupId}.${project.artifactId}</Bundle-SymbolicName>
<Bundle-Name>${project.name}</Bundle-Name>
<Bundle-Version>${project.version}</Bundle-Version>
<Export-Package>demo.hw.server</Export-Package>
<Bundle-Activator>demo.hw.server.Activator</Bundle-Activator>
<Require-Bundle>org.apache.cxf.bundle</Require-Bundle>
</instructions>
</configuration>
</plugin>
</plugins>
</build>
do you know what it complains about? I have a test running felix for osgi test and as far as i know it is still working.