Maven-Refactoring

- localhost:8080/site with jetty.
This commit is contained in:
Michael Uhl 2018-12-05 12:52:45 +01:00
parent 07c35fef10
commit 67e35ed8d9

45
pom.xml
View File

@ -38,7 +38,7 @@
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>22.0</version>
<version>27.0.1-jre</version>
</dependency>
<dependency>
<groupId>org.reflections</groupId>
@ -47,8 +47,8 @@
</dependency>
<dependency>
<groupId>org.ow2.asm</groupId>
<artifactId>asm-all</artifactId>
<version>[4.0.0,)</version>
<artifactId>asm</artifactId>
<version>[6.1.1,)</version>
</dependency>
<dependency>
<groupId>junit</groupId>
@ -119,12 +119,12 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<version>3.3</version>
<version>3.7.1</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-project-info-reports-plugin</artifactId>
<version>2.7</version>
<version>3.0.0</version>
</plugin>
<plugin>
<groupId>org.reficio</groupId>
@ -144,7 +144,7 @@
<id>org.reflections:reflections:0.9.11</id>
</artifact>
<artifact>
<id>com.google.guava:guava:22.0</id>
<id>com.google.guava:guava:27.0.1-jre</id>
</artifact>
<artifact>
<id>javax.annotation:javax.annotation-api:1.3.1</id>
@ -158,33 +158,36 @@
</executions>
</plugin>
<plugin>
<groupId>org.mortbay.jetty</groupId>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-maven-plugin</artifactId>
<version>8.1.5.v20120716</version>
<version>9.4.14.v20181114</version>
<configuration>
<scanIntervalSeconds>10</scanIntervalSeconds>
<webAppSourceDirectory>${basedir}/target/repository/</webAppSourceDirectory>
<webApp>
<contextPath>/site</contextPath>
</webApp>
<supportedPackagings>
<supportedPackaging>jar</supportedPackaging>
</supportedPackagings>
</configuration>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-p2-repository-plugin</artifactId>
<version>${tycho.version}</version>
<!-- executions> <execution> <phase>package</phase> <goals> <goal>assemble-repository</goal>
<goal>archive-repository</goal> </goals> </execution> </executions -->
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.0</version>
<configuration>
<source>9</source>
<target>9</target>
</configuration>
<executions>
<execution>
<phase>p2:site</phase>
<goals>
<goal>archive-repository</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId>
<version>3.8.0</version> <configuration> <source>9</source> <target>9</target>
</configuration> </plugin -->
</plugins>
</build>
<pluginRepositories>
@ -192,6 +195,10 @@
<id>reficio</id>
<url>http://repo.reficio.org/maven/</url>
</pluginRepository>
<pluginRepository>
<id>repo2_maven_org</id>
<url>http://repo2.maven.org/maven2</url>
</pluginRepository>
</pluginRepositories>
<repositories>
<repository>