Forked from sbrinkmann/OSGi-Bundle-POM-with-embedded-dependency-incl-transitive
Created
July 14, 2021 10:15
-
-
Save ykayacan/d9ea25de6ce8f84cb4a78bab1e600c55 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <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>de.eggs.cq.generic</groupId> | |
| <artifactId>MyBundleEmbeddedDependencyUnresolved</artifactId> | |
| <version>14.01.0-SNAPSHOT</version> | |
| <name>My Bundle Name</name> | |
| <description>My Bundle Description</description> | |
| <packaging>bundle</packaging> | |
| <build> | |
| <plugins> | |
| <plugin> | |
| <groupId>org.apache.felix</groupId> | |
| <artifactId>maven-bundle-plugin</artifactId> | |
| <version>2.3.5</version> | |
| <extensions>true</extensions> | |
| <configuration> | |
| <instructions> | |
| <Export-Package>de.eggs.myBundle*</Export-Package> | |
| <Embed-Dependency>*;scope=compile|runtime</Embed-Dependency> | |
| <Embed-Transitive>true</Embed-Transitive> | |
| <Import-Package> | |
| !com.sun.jdmk.comm, | |
| !javax.jms, | |
| !org.apache.avalon.framework.logger, | |
| !org.apache.log, | |
| * | |
| </Import-Package> | |
| </instructions> | |
| </configuration> | |
| </plugin> | |
| </plugins> | |
| </build> | |
| <dependencies> | |
| <!-- Add as many dependencies until there are no more unresolved dependencies --> | |
| <dependency> | |
| <groupId>org.apache.axis2</groupId> | |
| <artifactId>axis2-kernel</artifactId> | |
| <version>1.6.2</version> | |
| </dependency> | |
| </dependencies> | |
| </project> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment