[KARAF-4300] Set default to not export packages
Project: http://git-wip-us.apache.org/repos/asf/karaf-decanter/repo Commit: http://git-wip-us.apache.org/repos/asf/karaf-decanter/commit/2855ecfe Tree: http://git-wip-us.apache.org/repos/asf/karaf-decanter/tree/2855ecfe Diff: http://git-wip-us.apache.org/repos/asf/karaf-decanter/diff/2855ecfe Branch: refs/heads/master Commit: 2855ecfe0c3bba4ed30ce748dc70dca0f76cff60 Parents: 4a95ae0 Author: Christian Schneider <[email protected]> Authored: Fri Feb 19 09:40:12 2016 +0100 Committer: Christian Schneider <[email protected]> Committed: Fri Feb 19 09:42:55 2016 +0100 ---------------------------------------------------------------------- appender/camel/pom.xml | 9 --------- appender/cassandra/pom.xml | 9 --------- appender/elasticsearch-native-1.x/pom.xml | 9 --------- appender/elasticsearch-native-2.x/pom.xml | 9 --------- appender/jdbc/pom.xml | 12 +----------- appender/jms/pom.xml | 12 +----------- appender/kafka/pom.xml | 9 --------- appender/log/pom.xml | 13 ------------- collector/file/pom.xml | 13 ------------- collector/jmx/pom.xml | 9 --------- collector/log/pom.xml | 13 ------------- collector/rest/pom.xml | 8 -------- elasticsearch-1.x/pom.xml | 8 -------- elasticsearch-2.x/pom.xml | 8 -------- marshaller/json/pom.xml | 15 +-------------- pom.xml | 1 + scheduler/simple/pom.xml | 8 -------- sla/camel/pom.xml | 8 -------- sla/checker/pom.xml | 8 -------- sla/email/pom.xml | 8 -------- sla/log/pom.xml | 12 ------------ 21 files changed, 4 insertions(+), 197 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/karaf-decanter/blob/2855ecfe/appender/camel/pom.xml ---------------------------------------------------------------------- diff --git a/appender/camel/pom.xml b/appender/camel/pom.xml index a14946e..9743f45 100644 --- a/appender/camel/pom.xml +++ b/appender/camel/pom.xml @@ -44,15 +44,6 @@ <build> <plugins> <plugin> - <groupId>org.apache.felix</groupId> - <artifactId>maven-bundle-plugin</artifactId> - <configuration> - <instructions> - <Private-Package>org.apache.karaf.decanter.appender.camel</Private-Package> - </instructions> - </configuration> - </plugin> - <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>build-helper-maven-plugin</artifactId> <executions> http://git-wip-us.apache.org/repos/asf/karaf-decanter/blob/2855ecfe/appender/cassandra/pom.xml ---------------------------------------------------------------------- diff --git a/appender/cassandra/pom.xml b/appender/cassandra/pom.xml index 0b71068..d834174 100644 --- a/appender/cassandra/pom.xml +++ b/appender/cassandra/pom.xml @@ -134,15 +134,6 @@ <build> <plugins> <plugin> - <groupId>org.apache.felix</groupId> - <artifactId>maven-bundle-plugin</artifactId> - <configuration> - <instructions> - <Private-Package>org.apache.karaf.decanter.appender.cassandra</Private-Package> - </instructions> - </configuration> - </plugin> - <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>build-helper-maven-plugin</artifactId> <executions> http://git-wip-us.apache.org/repos/asf/karaf-decanter/blob/2855ecfe/appender/elasticsearch-native-1.x/pom.xml ---------------------------------------------------------------------- diff --git a/appender/elasticsearch-native-1.x/pom.xml b/appender/elasticsearch-native-1.x/pom.xml index bb55c89..a1972c1 100644 --- a/appender/elasticsearch-native-1.x/pom.xml +++ b/appender/elasticsearch-native-1.x/pom.xml @@ -59,15 +59,6 @@ <build> <plugins> <plugin> - <groupId>org.apache.felix</groupId> - <artifactId>maven-bundle-plugin</artifactId> - <configuration> - <instructions> - <Private-Package>org.apache.karaf.decanter.appender.elasticsearch</Private-Package> - </instructions> - </configuration> - </plugin> - <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>build-helper-maven-plugin</artifactId> <executions> http://git-wip-us.apache.org/repos/asf/karaf-decanter/blob/2855ecfe/appender/elasticsearch-native-2.x/pom.xml ---------------------------------------------------------------------- diff --git a/appender/elasticsearch-native-2.x/pom.xml b/appender/elasticsearch-native-2.x/pom.xml index dd61b24..9e88be7 100644 --- a/appender/elasticsearch-native-2.x/pom.xml +++ b/appender/elasticsearch-native-2.x/pom.xml @@ -59,15 +59,6 @@ <build> <plugins> <plugin> - <groupId>org.apache.felix</groupId> - <artifactId>maven-bundle-plugin</artifactId> - <configuration> - <instructions> - <Private-Package>org.apache.karaf.decanter.appender.elasticsearch</Private-Package> - </instructions> - </configuration> - </plugin> - <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>build-helper-maven-plugin</artifactId> <executions> http://git-wip-us.apache.org/repos/asf/karaf-decanter/blob/2855ecfe/appender/jdbc/pom.xml ---------------------------------------------------------------------- diff --git a/appender/jdbc/pom.xml b/appender/jdbc/pom.xml index bdd1e87..7bebb9c 100644 --- a/appender/jdbc/pom.xml +++ b/appender/jdbc/pom.xml @@ -58,16 +58,6 @@ <build> <plugins> <plugin> - <groupId>org.apache.felix</groupId> - <artifactId>maven-bundle-plugin</artifactId> - <configuration> - <instructions> - <Bundle-Activator>org.apache.karaf.decanter.appender.jdbc.Activator</Bundle-Activator> - <Private-Package>org.apache.karaf.decanter.appender.jdbc</Private-Package> - </instructions> - </configuration> - </plugin> - <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>build-helper-maven-plugin</artifactId> <executions> @@ -90,4 +80,4 @@ </plugins> </build> -</project> \ No newline at end of file +</project> http://git-wip-us.apache.org/repos/asf/karaf-decanter/blob/2855ecfe/appender/jms/pom.xml ---------------------------------------------------------------------- diff --git a/appender/jms/pom.xml b/appender/jms/pom.xml index 983c603..956fc18 100644 --- a/appender/jms/pom.xml +++ b/appender/jms/pom.xml @@ -44,16 +44,6 @@ <build> <plugins> <plugin> - <groupId>org.apache.felix</groupId> - <artifactId>maven-bundle-plugin</artifactId> - <configuration> - <instructions> - <Bundle-Activator>org.apache.karaf.decanter.appender.jms.Activator</Bundle-Activator> - <Private-Package>org.apache.karaf.decanter.appender.jms</Private-Package> - </instructions> - </configuration> - </plugin> - <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>build-helper-maven-plugin</artifactId> <executions> @@ -76,4 +66,4 @@ </plugins> </build> -</project> \ No newline at end of file +</project> http://git-wip-us.apache.org/repos/asf/karaf-decanter/blob/2855ecfe/appender/kafka/pom.xml ---------------------------------------------------------------------- diff --git a/appender/kafka/pom.xml b/appender/kafka/pom.xml index 3a28be9..ebdb19f 100644 --- a/appender/kafka/pom.xml +++ b/appender/kafka/pom.xml @@ -48,15 +48,6 @@ <build> <plugins> <plugin> - <groupId>org.apache.felix</groupId> - <artifactId>maven-bundle-plugin</artifactId> - <configuration> - <instructions> - <Private-Package>org.apache.karaf.decanter.appender.kafka</Private-Package> - </instructions> - </configuration> - </plugin> - <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>build-helper-maven-plugin</artifactId> <executions> http://git-wip-us.apache.org/repos/asf/karaf-decanter/blob/2855ecfe/appender/log/pom.xml ---------------------------------------------------------------------- diff --git a/appender/log/pom.xml b/appender/log/pom.xml index eb0a78d..205c299 100644 --- a/appender/log/pom.xml +++ b/appender/log/pom.xml @@ -33,17 +33,4 @@ <packaging>bundle</packaging> <name>Apache Karaf :: Decanter :: Appender :: Log</name> - <build> - <plugins> - <plugin> - <groupId>org.apache.felix</groupId> - <artifactId>maven-bundle-plugin</artifactId> - <configuration> - <instructions> - <Private-Package>org.apache.karaf.decanter.appender.log</Private-Package> - </instructions> - </configuration> - </plugin> - </plugins> - </build> </project> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/karaf-decanter/blob/2855ecfe/collector/file/pom.xml ---------------------------------------------------------------------- diff --git a/collector/file/pom.xml b/collector/file/pom.xml index bc8c349..8e623e0 100644 --- a/collector/file/pom.xml +++ b/collector/file/pom.xml @@ -41,17 +41,4 @@ </dependency> </dependencies> - <build> - <plugins> - <plugin> - <groupId>org.apache.felix</groupId> - <artifactId>maven-bundle-plugin</artifactId> - <configuration> - <instructions> - <Private-Package>org.apache.karaf.decanter.collector.file</Private-Package> - </instructions> - </configuration> - </plugin> - </plugins> - </build> </project> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/karaf-decanter/blob/2855ecfe/collector/jmx/pom.xml ---------------------------------------------------------------------- diff --git a/collector/jmx/pom.xml b/collector/jmx/pom.xml index 7c159dc..0e12169 100644 --- a/collector/jmx/pom.xml +++ b/collector/jmx/pom.xml @@ -36,15 +36,6 @@ <build> <plugins> <plugin> - <groupId>org.apache.felix</groupId> - <artifactId>maven-bundle-plugin</artifactId> - <configuration> - <instructions> - <Private-Package>org.apache.karaf.decanter.collector.jmx</Private-Package> - </instructions> - </configuration> - </plugin> - <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>build-helper-maven-plugin</artifactId> <executions> http://git-wip-us.apache.org/repos/asf/karaf-decanter/blob/2855ecfe/collector/log/pom.xml ---------------------------------------------------------------------- diff --git a/collector/log/pom.xml b/collector/log/pom.xml index d169587..cf274d6 100644 --- a/collector/log/pom.xml +++ b/collector/log/pom.xml @@ -41,17 +41,4 @@ </dependency> </dependencies> - <build> - <plugins> - <plugin> - <groupId>org.apache.felix</groupId> - <artifactId>maven-bundle-plugin</artifactId> - <configuration> - <instructions> - <Private-Package>org.apache.karaf.decanter.collector.log</Private-Package> - </instructions> - </configuration> - </plugin> - </plugins> - </build> </project> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/karaf-decanter/blob/2855ecfe/collector/rest/pom.xml ---------------------------------------------------------------------- diff --git a/collector/rest/pom.xml b/collector/rest/pom.xml index 81bcf42..59ebe8c 100644 --- a/collector/rest/pom.xml +++ b/collector/rest/pom.xml @@ -24,14 +24,6 @@ <build> <plugins> <plugin> - <groupId>org.apache.felix</groupId> - <artifactId>maven-bundle-plugin</artifactId> - <configuration> - <instructions> - </instructions> - </configuration> - </plugin> - <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>build-helper-maven-plugin</artifactId> <executions> http://git-wip-us.apache.org/repos/asf/karaf-decanter/blob/2855ecfe/elasticsearch-1.x/pom.xml ---------------------------------------------------------------------- diff --git a/elasticsearch-1.x/pom.xml b/elasticsearch-1.x/pom.xml index 1cb44f7..e9f394c 100644 --- a/elasticsearch-1.x/pom.xml +++ b/elasticsearch-1.x/pom.xml @@ -44,14 +44,6 @@ <build> <plugins> <plugin> - <groupId>org.apache.felix</groupId> - <artifactId>maven-bundle-plugin</artifactId> - <configuration> - <instructions> - </instructions> - </configuration> - </plugin> - <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>build-helper-maven-plugin</artifactId> <executions> http://git-wip-us.apache.org/repos/asf/karaf-decanter/blob/2855ecfe/elasticsearch-2.x/pom.xml ---------------------------------------------------------------------- diff --git a/elasticsearch-2.x/pom.xml b/elasticsearch-2.x/pom.xml index ac74e0d..7375093 100644 --- a/elasticsearch-2.x/pom.xml +++ b/elasticsearch-2.x/pom.xml @@ -44,14 +44,6 @@ <build> <plugins> <plugin> - <groupId>org.apache.felix</groupId> - <artifactId>maven-bundle-plugin</artifactId> - <configuration> - <instructions> - </instructions> - </configuration> - </plugin> - <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>build-helper-maven-plugin</artifactId> <executions> http://git-wip-us.apache.org/repos/asf/karaf-decanter/blob/2855ecfe/marshaller/json/pom.xml ---------------------------------------------------------------------- diff --git a/marshaller/json/pom.xml b/marshaller/json/pom.xml index 8b64e7c..9a090fd 100644 --- a/marshaller/json/pom.xml +++ b/marshaller/json/pom.xml @@ -42,18 +42,5 @@ <artifactId>johnzon-mapper</artifactId> </dependency> </dependencies> - - <build> - <plugins> - <plugin> - <groupId>org.apache.felix</groupId> - <artifactId>maven-bundle-plugin</artifactId> - <configuration> - <instructions> - <Private-Package>org.apache.karaf.decanter.marshaller.json</Private-Package> - </instructions> - </configuration> - </plugin> - </plugins> - </build> + </project> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/karaf-decanter/blob/2855ecfe/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index ad82579..95c9c79 100644 --- a/pom.xml +++ b/pom.xml @@ -213,6 +213,7 @@ <configuration> <instructions> <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName> + <Export-Package>!*</Export-Package> <_dsannotations>*</_dsannotations> </instructions> </configuration> http://git-wip-us.apache.org/repos/asf/karaf-decanter/blob/2855ecfe/scheduler/simple/pom.xml ---------------------------------------------------------------------- diff --git a/scheduler/simple/pom.xml b/scheduler/simple/pom.xml index 8143ff9..670d467 100644 --- a/scheduler/simple/pom.xml +++ b/scheduler/simple/pom.xml @@ -43,14 +43,6 @@ <build> <plugins> <plugin> - <groupId>org.apache.felix</groupId> - <artifactId>maven-bundle-plugin</artifactId> - <configuration> - <instructions> - </instructions> - </configuration> - </plugin> - <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>build-helper-maven-plugin</artifactId> <executions> http://git-wip-us.apache.org/repos/asf/karaf-decanter/blob/2855ecfe/sla/camel/pom.xml ---------------------------------------------------------------------- diff --git a/sla/camel/pom.xml b/sla/camel/pom.xml index 9651107..3db3ae0 100644 --- a/sla/camel/pom.xml +++ b/sla/camel/pom.xml @@ -44,14 +44,6 @@ <build> <plugins> <plugin> - <groupId>org.apache.felix</groupId> - <artifactId>maven-bundle-plugin</artifactId> - <configuration> - <instructions> - </instructions> - </configuration> - </plugin> - <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>build-helper-maven-plugin</artifactId> <executions> http://git-wip-us.apache.org/repos/asf/karaf-decanter/blob/2855ecfe/sla/checker/pom.xml ---------------------------------------------------------------------- diff --git a/sla/checker/pom.xml b/sla/checker/pom.xml index 867d7b5..f78ad88 100644 --- a/sla/checker/pom.xml +++ b/sla/checker/pom.xml @@ -36,14 +36,6 @@ <build> <plugins> <plugin> - <groupId>org.apache.felix</groupId> - <artifactId>maven-bundle-plugin</artifactId> - <configuration> - <instructions> - </instructions> - </configuration> - </plugin> - <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>build-helper-maven-plugin</artifactId> <executions> http://git-wip-us.apache.org/repos/asf/karaf-decanter/blob/2855ecfe/sla/email/pom.xml ---------------------------------------------------------------------- diff --git a/sla/email/pom.xml b/sla/email/pom.xml index 5bf3aa7..5c25564 100644 --- a/sla/email/pom.xml +++ b/sla/email/pom.xml @@ -44,14 +44,6 @@ <build> <plugins> <plugin> - <groupId>org.apache.felix</groupId> - <artifactId>maven-bundle-plugin</artifactId> - <configuration> - <instructions> - </instructions> - </configuration> - </plugin> - <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>build-helper-maven-plugin</artifactId> <executions> http://git-wip-us.apache.org/repos/asf/karaf-decanter/blob/2855ecfe/sla/log/pom.xml ---------------------------------------------------------------------- diff --git a/sla/log/pom.xml b/sla/log/pom.xml index b4da436..b0a125d 100644 --- a/sla/log/pom.xml +++ b/sla/log/pom.xml @@ -33,16 +33,4 @@ <packaging>bundle</packaging> <name>Apache Karaf :: Decanter :: SLA :: Log</name> - <build> - <plugins> - <plugin> - <groupId>org.apache.felix</groupId> - <artifactId>maven-bundle-plugin</artifactId> - <configuration> - <instructions> - </instructions> - </configuration> - </plugin> - </plugins> - </build> </project> \ No newline at end of file
