Here is my config:
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation=" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>osgi.org.springframework.batch</groupId> <artifactId>spring-batch-core</artifactId> <version>2.1.8.RELEASE</version> <packaging>bundle</packaging> <dependencies> <dependency> <groupId>org.springframework.batch</groupId> <artifactId>spring-batch-core</artifactId> <version>2.1.8.RELEASE</version> <optional>true</optional> </dependency> </dependencies> <build> <defaultGoal>install</defaultGoal> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-shade-plugin</artifactId> <version>1.7.1</version> <executions> <execution> <phase>package</phase> <goals> <goal>shade</goal> </goals> <configuration> <artifactSet> <includes> <include>org.springframework.batch:spring-batch-core</include> </includes> </artifactSet> <filters> <filter> <artifact>org.springframework.batch:spring-batch-core</artifact> <excludes> <exclude>**</exclude> </excludes> </filter> </filters> <promoteTransitiveDependencies>true</promoteTransitiveDependencies> <createDependencyReducedPom>true</createDependencyReducedPom> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.felix</groupId> <artifactId>maven-bundle-plugin</artifactId> <version>2.3.7</version> <extensions>true</extensions> <configuration> <instructions> <Bundle-SymbolicName>osgi.org.springframework.batch</Bundle-SymbolicName> <Export-Package>*</Export-Package> <Import-Package>*</Import-Package> </instructions> <unpackBundle>true</unpackBundle> </configuration> </plugin> </plugins> </build> </project> 2012/8/14 Julien Martin <[email protected]> > Hi all, > Can anyone please tell me what is wrong with my config? > Regards, > J. > > > 2012/8/14 Julien Martin <[email protected]> > >> Hi Felix, >> Yes I do. >> Regards, >> J. >> >> >> 2012/8/14 Felix Meschberger <[email protected]> >> >>> Hi, >>> >>> Do you intend to wrap some library as a bundle ? >>> >>> >>> Regards >>> Felix >>> >>> Am 14.08.2012 um 10:59 schrieb Julien Martin: >>> >>> > Hello, >>> > >>> > I am having problem configuring the <Import-Package> and >>> <Export-Package> >>> > of maven-bundle-plugin... >>> > I do specify a *** in order to import and export all packages but >>> *nothing *is >>> > imported or exported... >>> > >>> > *<plugin>* >>> > *<groupId>org.apache.felix</groupId>* >>> > *<artifactId>maven-bundle-plugin</artifactId>* >>> > *<version>2.3.7</version>* >>> > *<extensions>true</extensions>* >>> > *<configuration>* >>> > *<instructions>* >>> > >>> *<Bundle-SymbolicName>osgi.org.springframework.batch</Bundle-SymbolicName>* >>> > *<Export-Package>*</Export-Package>* >>> > *<Import-Package>*</Import-Package>* >>> > *</instructions>* >>> > *<unpackBundle>true</unpackBundle>* >>> > *</configuration>* >>> > *</plugin>* >>> > >>> > Can anyone please help? >>> > >>> > Regards, >>> > >>> > Julien. >>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: [email protected] >>> For additional commands, e-mail: [email protected] >>> >>> >> >

