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

47
pom.xml
View File

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