Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions maven-resolver-api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,10 @@
<groupId>biz.aQute.bnd</groupId>
<artifactId>bnd-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
Expand Down
4 changes: 0 additions & 4 deletions maven-resolver-connector-basic/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -103,10 +103,6 @@

<build>
<plugins>
<plugin>
<groupId>org.eclipse.sisu</groupId>
<artifactId>sisu-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>biz.aQute.bnd</groupId>
<artifactId>bnd-maven-plugin</artifactId>
Expand Down
4 changes: 0 additions & 4 deletions maven-resolver-impl/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -136,10 +136,6 @@

<build>
<plugins>
<plugin>
<groupId>org.eclipse.sisu</groupId>
<artifactId>sisu-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>biz.aQute.bnd</groupId>
<artifactId>bnd-maven-plugin</artifactId>
Expand Down
4 changes: 0 additions & 4 deletions maven-resolver-named-locks-hazelcast/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -93,10 +93,6 @@

<build>
<plugins>
<plugin>
<groupId>org.eclipse.sisu</groupId>
<artifactId>sisu-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>biz.aQute.bnd</groupId>
<artifactId>bnd-maven-plugin</artifactId>
Expand Down
4 changes: 0 additions & 4 deletions maven-resolver-named-locks-redisson/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -105,10 +105,6 @@

<build>
<plugins>
<plugin>
<groupId>org.eclipse.sisu</groupId>
<artifactId>sisu-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>biz.aQute.bnd</groupId>
<artifactId>bnd-maven-plugin</artifactId>
Expand Down
4 changes: 0 additions & 4 deletions maven-resolver-named-locks/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,6 @@

<build>
<plugins>
<plugin>
<groupId>org.eclipse.sisu</groupId>
<artifactId>sisu-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>biz.aQute.bnd</groupId>
<artifactId>bnd-maven-plugin</artifactId>
Expand Down
4 changes: 0 additions & 4 deletions maven-resolver-transport-classpath/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -94,10 +94,6 @@

<build>
<plugins>
<plugin>
<groupId>org.eclipse.sisu</groupId>
<artifactId>sisu-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>biz.aQute.bnd</groupId>
<artifactId>bnd-maven-plugin</artifactId>
Expand Down
4 changes: 0 additions & 4 deletions maven-resolver-transport-file/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -99,10 +99,6 @@

<build>
<plugins>
<plugin>
<groupId>org.eclipse.sisu</groupId>
<artifactId>sisu-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>biz.aQute.bnd</groupId>
<artifactId>bnd-maven-plugin</artifactId>
Expand Down
4 changes: 0 additions & 4 deletions maven-resolver-transport-http/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -152,10 +152,6 @@

<build>
<plugins>
<plugin>
<groupId>org.eclipse.sisu</groupId>
<artifactId>sisu-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>biz.aQute.bnd</groupId>
<artifactId>bnd-maven-plugin</artifactId>
Expand Down
4 changes: 0 additions & 4 deletions maven-resolver-transport-wagon/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -125,10 +125,6 @@

<build>
<plugins>
<plugin>
<groupId>org.eclipse.sisu</groupId>
<artifactId>sisu-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>biz.aQute.bnd</groupId>
<artifactId>bnd-maven-plugin</artifactId>
Expand Down
130 changes: 117 additions & 13 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,15 @@
</dependencies>
</dependencyManagement>

<dependencies>
<dependency>
<groupId>org.eclipse.sisu</groupId>
<artifactId>org.eclipse.sisu.inject</artifactId>
<version>0.3.5</version>
<scope>compile</scope>
</dependency>
</dependencies>

<build>
<pluginManagement>
<plugins>
Expand Down Expand Up @@ -412,29 +421,82 @@
</executions>
</plugin>
<plugin>
<groupId>org.eclipse.sisu</groupId>
<artifactId>sisu-maven-plugin</artifactId>
<version>${sisuVersion}</version>
<groupId>org.apache.rat</groupId>
<artifactId>apache-rat-plugin</artifactId>
<configuration>
<excludes combine.children="append">
<exclude>src/test/resources/**/*.ini</exclude>
<exclude>src/test/resources/**/*.txt</exclude>
<exclude>src/test/resources/ssl/*-store</exclude>
<exclude>.travis.yml</exclude>
</excludes>
</configuration>
</plugin>
<plugin>
<groupId>biz.aQute.bnd</groupId>
<artifactId>bnd-maven-plugin</artifactId>
<version>6.1.0</version>
<executions>
<execution>
<id>generate-index</id>
<id>bnd-process</id>
<phase>process-classes</phase>
<goals>
<goal>main-index</goal>
<goal>bnd-process</goal>
</goals>
<configuration>
<bnd>
Bundle-SymbolicName: ${Bundle-SymbolicName}
# Export packages not containing the substring 'internal'
-exportcontents: ${removeall;${packages};${packages;NAMED;*internal*}}
# Reproducible build
-noextraheaders: true
</bnd>
<manifestPath>${project.build.directory}/bnd/META-INF/MANIFEST.MF</manifestPath>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.rat</groupId>
<artifactId>apache-rat-plugin</artifactId>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>3.2.0</version>
<dependencies>
<dependency>
<groupId>org.apache.maven.shared</groupId>
<artifactId>maven-shared-utils</artifactId>
<version>3.3.4</version>
</dependency>
</dependencies>
<executions>
<execution>
<id>copy-manifest</id>
<phase>process-classes</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<configuration>
<outputDirectory>${project.build.outputDirectory}</outputDirectory>
<resources>
<resource>
<!-- use filtering to make sure the content is checked before being overwritten -->
<filtering>true</filtering>
<directory>${project.build.directory}/bnd</directory>
</resource>
</resources>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.2.0</version>
<configuration>
<excludes combine.children="append">
<exclude>src/test/resources/**/*.ini</exclude>
<exclude>src/test/resources/**/*.txt</exclude>
<exclude>src/test/resources/ssl/*-store</exclude>
<exclude>.travis.yml</exclude>
</excludes>
<archive>
<manifestEntries>
<Automatic-Module-Name>${Automatic-Module-Name}</Automatic-Module-Name>
</manifestEntries>
</archive>
</configuration>
</plugin>
<plugin>
Expand All @@ -444,6 +506,7 @@
<executions>
<execution>
<id>bnd-process</id>
<phase>process-classes</phase>
<goals>
<goal>bnd-process</goal>
</goals>
Expand All @@ -455,6 +518,38 @@
# Reproducible build
-noextraheaders: true
</bnd>
<manifestPath>${project.build.directory}/bnd/META-INF/MANIFEST.MF</manifestPath>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>3.2.0</version>
<dependencies>
<dependency>
<groupId>org.apache.maven.shared</groupId>
<artifactId>maven-shared-utils</artifactId>
<version>3.3.4</version>
</dependency>
</dependencies>
<executions>
<execution>
<id>copy-manifest</id>
<phase>process-classes</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<configuration>
<outputDirectory>${project.build.outputDirectory}</outputDirectory>
<resources>
<resource>
<!-- use filtering to make sure the content is checked before being overwritten -->
<filtering>true</filtering>
<directory>${project.build.directory}/bnd</directory>
</resource>
</resources>
</configuration>
</execution>
</executions>
Expand Down Expand Up @@ -494,6 +589,15 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<excludes>
<exclude>**/package-info.java</exclude>
</excludes>
</configuration>
</plugin>
</plugins>
</build>

Expand Down