Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <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>apache-commons-validator-osgi</groupId>
- <artifactId>apache-commons-validator-osgi</artifactId>
- <version>1.4.0</version>
- <packaging>bundle</packaging>
- <name>${project.groupId} - ${project.artifactId}</name>
- <description>
- Demonstrates how to easily deploy the classes contained in a pre-packaged vanilla jar file into an OSGi
- container, when the jar does not contain the necessary OSGi manifest headers.
- </description>
- <build>
- <pluginManagement>
- <plugins>
- <plugin>
- <groupId>org.apache.felix</groupId>
- <artifactId>maven-bundle-plugin</artifactId>
- <version>2.3.5</version>
- <extensions>true</extensions>
- </plugin>
- </plugins>
- </pluginManagement>
- <plugins>
- <plugin>
- <groupId>org.apache.felix</groupId>
- <artifactId>maven-bundle-plugin</artifactId>
- <configuration>
- <instructions>
- <Embed-Dependency>*;scope=compile|runtime</Embed-Dependency>
- <Embed-Directory>OSGI-INF/lib</Embed-Directory>
- <Embed-Transitive>true</Embed-Transitive>
- <_exportcontents>
- org.apache.commons.validator.*;version=${commons-validator.version}
- </_exportcontents>
- </instructions>
- </configuration>
- </plugin>
- </plugins>
- </build>
- <properties>
- <commons-validator.version>1.4.0</commons-validator.version>
- </properties>
- <dependencies>
- <dependency>
- <groupId>commons-validator</groupId>
- <artifactId>commons-validator</artifactId>
- <version>${commons-validator.version}</version>
- </dependency>
- </dependencies>
- </project>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement