Skip to content

Commit

Permalink
Prepare for next major release (6.x)
Browse files Browse the repository at this point in the history
Changes:
- update parent pom
- update dependencies (but remain Java7!)
- update sisu (drop sonatype guice, use vanilla guice)
- update to maven-resolver (from aether)

No source changes happened.
  • Loading branch information
cstamas committed Nov 23, 2017
1 parent dfebb61 commit ad07405
Show file tree
Hide file tree
Showing 6 changed files with 129 additions and 92 deletions.
33 changes: 14 additions & 19 deletions indexer-cli/pom.xml
Expand Up @@ -50,8 +50,8 @@ under the License.
</dependency>

<dependency>
<groupId>org.sonatype.sisu</groupId>
<artifactId>sisu-guice</artifactId>
<groupId>com.google.inject</groupId>
<artifactId>guice</artifactId>
</dependency>

<dependency>
Expand Down Expand Up @@ -115,7 +115,6 @@ under the License.
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>1.7.1</version>
<executions>
<execution>
<id>jdk15</id>
Expand Down Expand Up @@ -156,7 +155,7 @@ under the License.
<goal>verify</goal>
</goals>
<configuration>
<redirectTestOutputToFile>${surefire.redirectTestOutputToFile}</redirectTestOutputToFile>
<redirectTestOutputToFile>${failsafe.redirectTestOutputToFile}</redirectTestOutputToFile>
<systemPropertyVariables>
<java.io.tmpdir>${project.build.directory}</java.io.tmpdir>
<indexerJar>${project.build.directory}/${project.artifactId}-${project.version}.jar</indexerJar>
Expand All @@ -165,22 +164,18 @@ under the License.
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.rat</groupId>
<artifactId>apache-rat-plugin</artifactId>
<configuration>
<!-- Combine the excludes from the parent with the ones defined in this project -->
<excludes combine.children="append">
<!-- This directory is a repository -->
<exclude>src/test/repo/**</exclude>
</excludes>
</configuration>
</plugin>
</plugins>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.rat</groupId>
<artifactId>apache-rat-plugin</artifactId>
<configuration>
<!-- Combine the excludes from the parent with the ones defined in this project -->
<excludes combine.children="append">
<!-- This directory is a repository -->
<exclude>src/test/repo/**</exclude>
</excludes>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>

</project>
50 changes: 22 additions & 28 deletions indexer-core/pom.xml
Expand Up @@ -69,9 +69,8 @@ under the License.
</dependency>

<dependency>
<groupId>org.sonatype.sisu</groupId>
<artifactId>sisu-guice</artifactId>
<scope>provided</scope>
<groupId>com.google.inject</groupId>
<artifactId>guice</artifactId>
</dependency>

<dependency>
Expand Down Expand Up @@ -106,15 +105,15 @@ under the License.
<artifactId>lucene-highlighter</artifactId>
</dependency>

<!-- Aether -->
<!-- Resolver -->
<dependency>
<groupId>org.eclipse.aether</groupId>
<artifactId>aether-api</artifactId>
<groupId>org.apache.maven.resolver</groupId>
<artifactId>maven-resolver-api</artifactId>
</dependency>

<dependency>
<groupId>org.eclipse.aether</groupId>
<artifactId>aether-util</artifactId>
<groupId>org.apache.maven.resolver</groupId>
<artifactId>maven-resolver-util</artifactId>
</dependency>

<!-- Maven -->
Expand Down Expand Up @@ -194,7 +193,7 @@ under the License.
<goal>verify</goal>
</goals>
<configuration>
<redirectTestOutputToFile>${surefire.redirectTestOutputToFile}</redirectTestOutputToFile>
<redirectTestOutputToFile>${failsafe.redirectTestOutputToFile}</redirectTestOutputToFile>
<systemPropertyVariables>
<java.io.tmpdir>${project.build.directory}</java.io.tmpdir>
<indexerJar>${project.build.directory}/${project.artifactId}-${project.version}-cli.jar</indexerJar>
Expand All @@ -206,7 +205,6 @@ under the License.
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>3.0.0</version>
<executions>
<execution>
<phase>package</phase>
Expand Down Expand Up @@ -276,25 +274,21 @@ under the License.
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.rat</groupId>
<artifactId>apache-rat-plugin</artifactId>
<configuration>
<!-- Combine the excludes from the parent with the ones defined in this project -->
<excludes combine.children="append">
<!-- The following directories are repositories -->
<exclude>src/test/repo*/**</exclude>
<exclude>src/test/mindexer-35/**</exclude>
<exclude>src/test/nexus-*/**</exclude>
<exclude>src/test/resources/**</exclude>
</excludes>
</configuration>
</plugin>
</plugins>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.rat</groupId>
<artifactId>apache-rat-plugin</artifactId>
<configuration>
<!-- Combine the excludes from the parent with the ones defined in this project -->
<excludes combine.children="append">
<!-- The following directories are repositories -->
<exclude>src/test/repo*/**</exclude>
<exclude>src/test/mindexer-35/**</exclude>
<exclude>src/test/nexus-*/**</exclude>
<exclude>src/test/resources/**</exclude>
</excludes>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>

</project>
6 changes: 3 additions & 3 deletions indexer-examples/indexer-examples-basic/pom.xml
Expand Up @@ -66,7 +66,7 @@ under the License.
<dependency>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-http-lightweight</artifactId>
<version>2.3</version>
<version>${wagon.version}</version>
<scope>compile</scope>
</dependency>

Expand All @@ -76,8 +76,8 @@ under the License.
<artifactId>org.eclipse.sisu.plexus</artifactId>
</dependency>
<dependency>
<groupId>org.sonatype.sisu</groupId>
<artifactId>sisu-guice</artifactId>
<groupId>com.google.inject</groupId>
<artifactId>guice</artifactId>
</dependency>

<!-- Test -->
Expand Down
8 changes: 4 additions & 4 deletions indexer-examples/indexer-examples-spring/pom.xml
Expand Up @@ -86,15 +86,15 @@ under the License.
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-model-builder</artifactId>
<version>3.2.3</version>
<version>${maven.version}</version>
<scope>test</scope>
</dependency>

<!-- For ResourceFetcher implementation, if used -->
<dependency>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-http-lightweight</artifactId>
<version>2.10</version>
<version>${wagon.version}</version>
<scope>compile</scope>
</dependency>

Expand All @@ -104,8 +104,8 @@ under the License.
<artifactId>org.eclipse.sisu.plexus</artifactId>
</dependency>
<dependency>
<groupId>org.sonatype.sisu</groupId>
<artifactId>sisu-guice</artifactId>
<groupId>com.google.inject</groupId>
<artifactId>guice</artifactId>
</dependency>

<!-- Spring dependencies start: -->
Expand Down
1 change: 0 additions & 1 deletion indexer-reader/pom.xml
Expand Up @@ -47,7 +47,6 @@ under the License.
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>18.0</version>
<scope>test</scope>
</dependency>
</dependencies>
Expand Down

0 comments on commit ad07405

Please sign in to comment.