Skip to content

Commit

Permalink
Issue #20.
Browse files Browse the repository at this point in the history
Now producing a reduced POM without dependencies.
Fixed Export-Package directive.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
  • Loading branch information
sbordet committed Nov 30, 2018
1 parent e43c53d commit 0b05d12
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions jetty-servlet-api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@
<configuration>
<createSourcesJar>false</createSourcesJar>
<shadeSourcesContent>true</shadeSourcesContent>
<createDependencyReducedPom>false</createDependencyReducedPom>
<createDependencyReducedPom>true</createDependencyReducedPom>
<artifactSet>
<includes>
<include>org.eclipse.jetty.toolchain:jetty-schemas</include>
Expand Down Expand Up @@ -169,7 +169,6 @@
</dependencies>
</plugin>


<!-- source maven plugin creates the source bundle and adds manifest -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
Expand All @@ -182,6 +181,7 @@
<goals>
<goal>jar</goal>
</goals>
<!--
<configuration>
<archive>
<manifestEntries>
Expand All @@ -196,6 +196,7 @@
</manifestEntries>
</archive>
</configuration>
-->
</execution>
</executions>
</plugin>
Expand Down Expand Up @@ -257,7 +258,14 @@
</Bundle-Description>
<Bundle-RequiredExecutionEnvironment>JavaSE-1.8</Bundle-RequiredExecutionEnvironment>
<_nouses>true</_nouses>
<Export-Package>!javax.servlet.jsp.*,javax.servlet.*;version="4.0",*</Export-Package>
<Export-Package>
javax.servlet;uses:="javax.servlet.annotation,javax.servlet.descriptor";version="4.0.0",
javax.servlet.resources;version="4.0.0",
javax.servlet.jsp.resources;version="4.0.0",
javax.servlet.annotation;uses:="javax.servlet";version="4.0.0",
javax.servlet.http;uses:="javax.servlet";version="4.0.0",
javax.servlet.descriptor;version="4.0.0"
</Export-Package>
</instructions>
</configuration>
</plugin>
Expand Down

0 comments on commit 0b05d12

Please sign in to comment.