forked from JavaTX/JavaCompilerCore
67e35ed8d9
- localhost:8080/site with jetty.
210 lines
8.5 KiB
XML
210 lines
8.5 KiB
XML
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
|
|
http://maven.apache.org/maven-v4_0_0.xsd">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<groupId>de.dhbwstuttgart</groupId>
|
|
<artifactId>JavaTXcompiler</artifactId>
|
|
<packaging>jar</packaging>
|
|
|
|
<properties>
|
|
<maven.compiler.source>1.8</maven.compiler.source>
|
|
<maven.compiler.target>1.8</maven.compiler.target>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<tycho.version>1.2.0</tycho.version>
|
|
</properties>
|
|
<distributionManagement>
|
|
<repository>
|
|
<id>maven-repository</id>
|
|
<name>MyCo Internal Repository</name>
|
|
<url>file:///${project.basedir}/maven-repository/</url>
|
|
</repository>
|
|
</distributionManagement>
|
|
|
|
<version>0.1</version>
|
|
<name>JavaTXcompiler</name>
|
|
<url>http://maven.apache.org</url>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.antlr</groupId>
|
|
<artifactId>antlr4</artifactId>
|
|
<version>4.7</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>commons-io</groupId>
|
|
<artifactId>commons-io</artifactId>
|
|
<version>2.6</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.google.guava</groupId>
|
|
<artifactId>guava</artifactId>
|
|
<version>27.0.1-jre</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.reflections</groupId>
|
|
<artifactId>reflections</artifactId>
|
|
<version>0.9.11</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.ow2.asm</groupId>
|
|
<artifactId>asm</artifactId>
|
|
<version>[6.1.1,)</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>junit</groupId>
|
|
<artifactId>junit</artifactId>
|
|
<version>4.12</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<directory>target</directory>
|
|
<outputDirectory>target/classes</outputDirectory>
|
|
<finalName>${project.artifactId}-${project.version}</finalName>
|
|
<testOutputDirectory>target/test-classes</testOutputDirectory>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.antlr</groupId>
|
|
<artifactId>antlr4-maven-plugin</artifactId>
|
|
<version>4.7</version>
|
|
<executions>
|
|
<execution>
|
|
<id>antlr</id>
|
|
<goals>
|
|
<goal>antlr4</goal>
|
|
</goals>
|
|
<configuration>
|
|
<sourceDirectory>src/main/antlr4/java8</sourceDirectory>
|
|
<outputDirectory>${project.basedir}/target/generated-sources/antlr4/de/dhbwstuttgart/parser/antlr</outputDirectory>
|
|
<arguments>
|
|
<argument>-package</argument>
|
|
<argument>de.dhbwstuttgart.parser.antlr</argument>
|
|
</arguments>
|
|
</configuration>
|
|
</execution>
|
|
<execution>
|
|
<id>aspParser</id>
|
|
<goals>
|
|
<goal>antlr4</goal>
|
|
</goals>
|
|
<configuration>
|
|
<sourceDirectory>src/main/antlr4/sat/</sourceDirectory>
|
|
<outputDirectory>${project.basedir}/target/generated-sources/antlr4/de/dhbwstuttgart/sat/asp/parser/antlr</outputDirectory>
|
|
<arguments>
|
|
<argument>-package</argument>
|
|
<argument>de.dhbwstuttgart.sat.asp.parser.antlr</argument>
|
|
</arguments>
|
|
</configuration>
|
|
</execution>
|
|
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>single</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
<configuration>
|
|
<descriptorRefs>
|
|
<descriptorRef>jar-with-dependencies</descriptorRef>
|
|
</descriptorRefs>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-site-plugin</artifactId>
|
|
<version>3.7.1</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-project-info-reports-plugin</artifactId>
|
|
<version>3.0.0</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.reficio</groupId>
|
|
<artifactId>p2-maven-plugin</artifactId>
|
|
<version>1.3.0</version>
|
|
<executions>
|
|
<execution>
|
|
<id>default-cli</id>
|
|
<configuration>
|
|
<artifacts>
|
|
<!-- specify your depencies here -->
|
|
<!-- groupId:artifactId:version -->
|
|
<artifact>
|
|
<id>de.dhbwstuttgart:JavaTXcompiler:0.1</id>
|
|
</artifact>
|
|
<artifact>
|
|
<id>org.reflections:reflections:0.9.11</id>
|
|
</artifact>
|
|
<artifact>
|
|
<id>com.google.guava:guava:27.0.1-jre</id>
|
|
</artifact>
|
|
<artifact>
|
|
<id>javax.annotation:javax.annotation-api:1.3.1</id>
|
|
</artifact>
|
|
<artifact>
|
|
<id>org.glassfish:javax.annotation:3.1.1</id>
|
|
</artifact>
|
|
</artifacts>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
<artifactId>jetty-maven-plugin</artifactId>
|
|
<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>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>
|
|
<pluginRepository>
|
|
<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>
|
|
<id>maven-repository</id>
|
|
<url>file:///${project.basedir}/target</url>
|
|
</repository>
|
|
</repositories>
|
|
</project>
|