Created
June 13, 2020 19:24
-
-
Save anupammaiti/5bf2abfc538efcf709539a7999e072c0 to your computer and use it in GitHub Desktop.
This file contains 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
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-dependency-plugin</artifactId> | |
<executions> | |
<execution> | |
<id>copy-dependency</id> | |
<goals> | |
<goal>copy-dependencies</goal> | |
</goals> | |
<configuration> | |
<includeArtifactIds>html2pdf</includeArtifactIds> | |
</configuration> | |
</execution> | |
</executions> | |
</plugin> | |
<plugin> | |
<groupId>biz.aQute.bnd</groupId> | |
<artifactId>bnd-maven-plugin</artifactId> | |
<executions> | |
<execution> | |
<id>bnd-process</id> | |
<goals> | |
<goal>bnd-process</goal> | |
</goals> | |
<configuration> | |
<bnd><![CDATA[ | |
Bundle-Category: ITextHtml2pdf | |
Import-Package: javax.annotation;version=0.0.0, | |
-exportcontents: ${packages;VERSIONED}, | |
Include-Resource: target/dependency/html2pdf-3.0.0.jar | |
Bundle-ClassPath: ., html2pdf-3.0.0.jar | |
Sling-Model-Packages: com.bcbsm.handbook.core.models | |
-snapshot: ${tstamp;yyyyMMddHHmmssSSS} | |
Bundle-DocURL: | |
-plugin org.apache.sling.caconfig.bndplugin.ConfigurationClassScannerPlugin | |
]]></bnd> | |
</configuration> | |
</execution> | |
</executions> | |
<dependencies> | |
<dependency> | |
<groupId>org.apache.sling</groupId> | |
<artifactId>org.apache.sling.caconfig.bnd-plugin</artifactId> | |
<version>1.0.2</version> | |
</dependency> | |
</dependencies> | |
</plugin> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment