Removing maven-shade-plugin and maven-bundle-plugin from bgp and pcep
These resulted in 4MB jars that contained lots of unnecessary dependencies. Change-Id: I392c808e6ef84b6c6d9cf8798d8fd683d1e68083
Showing
2 changed files
with
0 additions
and
85 deletions
| ... | @@ -45,46 +45,4 @@ | ... | @@ -45,46 +45,4 @@ |
| 45 | <artifactId>onos-api</artifactId> | 45 | <artifactId>onos-api</artifactId> |
| 46 | </dependency> | 46 | </dependency> |
| 47 | </dependencies> | 47 | </dependencies> |
| 48 | - | ||
| 49 | - <build> | ||
| 50 | - <plugins> | ||
| 51 | - <plugin> | ||
| 52 | - <groupId>org.apache.maven.plugins</groupId> | ||
| 53 | - <artifactId>maven-shade-plugin</artifactId> | ||
| 54 | - <version>2.3</version> | ||
| 55 | - <configuration> | ||
| 56 | - <artifactSet> | ||
| 57 | - <excludes> | ||
| 58 | - <exclude>io.netty:netty</exclude> | ||
| 59 | - <exclude>com.google.guava:guava</exclude> | ||
| 60 | - <exclude>org.slf4j:slfj-api</exclude> | ||
| 61 | - <exclude>ch.qos.logback:logback-core</exclude> | ||
| 62 | - <exclude>ch.qos.logback:logback-classic</exclude> | ||
| 63 | - <exclude>com.google.code.findbugs:annotations</exclude> | ||
| 64 | - </excludes> | ||
| 65 | - </artifactSet> | ||
| 66 | - </configuration> | ||
| 67 | - <executions> | ||
| 68 | - <execution> | ||
| 69 | - <phase>package</phase> | ||
| 70 | - <goals> | ||
| 71 | - <goal>shade</goal> | ||
| 72 | - </goals> | ||
| 73 | - </execution> | ||
| 74 | - </executions> | ||
| 75 | - </plugin> | ||
| 76 | - <plugin> | ||
| 77 | - <groupId>org.apache.felix</groupId> | ||
| 78 | - <artifactId>maven-bundle-plugin</artifactId> | ||
| 79 | - <configuration> | ||
| 80 | - <instructions> | ||
| 81 | - <Export-Package> | ||
| 82 | - org.onosproject.bgp.*,org.onosproject.bgpio.*,org.onosproject.bgp.controller | ||
| 83 | - </Export-Package> | ||
| 84 | - </instructions> | ||
| 85 | - </configuration> | ||
| 86 | - </plugin> | ||
| 87 | - </plugins> | ||
| 88 | - </build> | ||
| 89 | - | ||
| 90 | </project> | 48 | </project> | ... | ... |
| ... | @@ -52,48 +52,5 @@ | ... | @@ -52,48 +52,5 @@ |
| 52 | <groupId>org.onosproject</groupId> | 52 | <groupId>org.onosproject</groupId> |
| 53 | <artifactId>onlab-misc</artifactId> | 53 | <artifactId>onlab-misc</artifactId> |
| 54 | </dependency> | 54 | </dependency> |
| 55 | - | ||
| 56 | </dependencies> | 55 | </dependencies> |
| 57 | - | ||
| 58 | - <build> | ||
| 59 | - <plugins> | ||
| 60 | - <plugin> | ||
| 61 | - <groupId>org.apache.maven.plugins</groupId> | ||
| 62 | - <artifactId>maven-shade-plugin</artifactId> | ||
| 63 | - <version>2.3</version> | ||
| 64 | - <configuration> | ||
| 65 | - <artifactSet> | ||
| 66 | - <excludes> | ||
| 67 | - <exclude>io.netty:netty</exclude> | ||
| 68 | - <exclude>com.google.guava:guava</exclude> | ||
| 69 | - <exclude>org.slf4j:slfj-api</exclude> | ||
| 70 | - <exclude>ch.qos.logback:logback-core</exclude> | ||
| 71 | - <exclude>ch.qos.logback:logback-classic</exclude> | ||
| 72 | - <exclude>com.google.code.findbugs:annotations</exclude> | ||
| 73 | - </excludes> | ||
| 74 | - </artifactSet> | ||
| 75 | - </configuration> | ||
| 76 | - <executions> | ||
| 77 | - <execution> | ||
| 78 | - <phase>package</phase> | ||
| 79 | - <goals> | ||
| 80 | - <goal>shade</goal> | ||
| 81 | - </goals> | ||
| 82 | - </execution> | ||
| 83 | - </executions> | ||
| 84 | - </plugin> | ||
| 85 | - <plugin> | ||
| 86 | - <groupId>org.apache.felix</groupId> | ||
| 87 | - <artifactId>maven-bundle-plugin</artifactId> | ||
| 88 | - <configuration> | ||
| 89 | - <instructions> | ||
| 90 | - <Export-Package> | ||
| 91 | - org.onosproject.pcep.*,org.onosproject.pcepio.* | ||
| 92 | - </Export-Package> | ||
| 93 | - </instructions> | ||
| 94 | - </configuration> | ||
| 95 | - </plugin> | ||
| 96 | - </plugins> | ||
| 97 | - </build> | ||
| 98 | - | ||
| 99 | </project> | 56 | </project> | ... | ... |
-
Please register or login to post a comment