Corrected format of pom.xml

- Tabs to spaces
- Indentation
This commit is contained in:
Michael Uhl 2018-12-04 15:30:33 +01:00
parent fd8568532a
commit 7417a3abe1

358
pom.xml
View File

@ -1,181 +1,185 @@
<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>
<project xmlns="http://maven.apache.org/POM/4.0.0" <version>0.1</version>
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" <name>JavaTXcompiler</name>
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 <url>http://maven.apache.org</url>
http://maven.apache.org/maven-v4_0_0.xsd"> <dependencies>
<modelVersion>4.0.0</modelVersion> <dependency>
<groupId>de.dhbwstuttgart</groupId> <groupId>junit</groupId>
<artifactId>JavaTXcompiler</artifactId> <artifactId>junit</artifactId>
<packaging>jar</packaging> <version>4.0</version>
<scope>test</scope>
<version>0.1</version> </dependency>
<name>JavaTXcompiler</name> <dependency>
<url>http://maven.apache.org</url> <groupId>org.antlr</groupId>
<dependencies> <artifactId>antlr4</artifactId>
<dependency> <version>4.7</version>
<groupId>junit</groupId> </dependency>
<artifactId>junit</artifactId> <dependency>
<version>4.0</version> <groupId>commons-io</groupId>
<scope>test</scope> <artifactId>commons-io</artifactId>
</dependency> <version>2.6</version>
<dependency> </dependency>
<groupId>org.antlr</groupId> <dependency>
<artifactId>antlr4</artifactId> <groupId>com.google.guava</groupId>
<version>4.7</version> <artifactId>guava</artifactId>
</dependency> <version>22.0</version>
<dependency> </dependency>
<groupId>commons-io</groupId> <dependency>
<artifactId>commons-io</artifactId> <groupId>org.reflections</groupId>
<version>2.6</version> <artifactId>reflections</artifactId>
</dependency> <version>0.9.11</version>
<dependency> </dependency>
<groupId>com.google.guava</groupId> <dependency>
<artifactId>guava</artifactId> <groupId>org.ow2.asm</groupId>
<version>22.0</version> <artifactId>asm-all</artifactId>
</dependency> <version>[4.0.0,)</version>
<dependency> </dependency>
<groupId>org.reflections</groupId> </dependencies>
<artifactId>reflections</artifactId>
<version>0.9.11</version>
</dependency>
<dependency>
<groupId>org.ow2.asm</groupId>
<artifactId>asm-all</artifactId>
<version>[4.0.0,)</version>
</dependency>
<!--
<dependency>
<groupId>org.bitbucket.mstrobel</groupId>
<artifactId>procyon-reflection</artifactId>
<version>[0.5.32,)</version>
</dependency> -->
</dependencies>
<build> <build>
<directory>target</directory> <directory>target</directory>
<outputDirectory>target/classes</outputDirectory> <outputDirectory>target/classes</outputDirectory>
<finalName>${project.artifactId}-${project.version}</finalName> <finalName>${project.artifactId}-${project.version}</finalName>
<testOutputDirectory>target/test-classes</testOutputDirectory> <testOutputDirectory>target/test-classes</testOutputDirectory>
<sourceDirectory>src/</sourceDirectory> <sourceDirectory>src/</sourceDirectory>
<testSourceDirectory>test/</testSourceDirectory> <testSourceDirectory>test/</testSourceDirectory>
<plugins> <plugins>
<plugin> <plugin>
<groupId>org.antlr</groupId> <groupId>org.antlr</groupId>
<artifactId>antlr4-maven-plugin</artifactId> <artifactId>antlr4-maven-plugin</artifactId>
<version>4.7</version> <version>4.7</version>
<executions> <executions>
<execution> <execution>
<id>antlr</id> <id>antlr</id>
<goals> <goals>
<goal>antlr4</goal> <goal>antlr4</goal>
</goals> </goals>
<configuration> <configuration>
<sourceDirectory>src/de/dhbwstuttgart/parser/antlr/</sourceDirectory> <sourceDirectory>src/de/dhbwstuttgart/parser/antlr/</sourceDirectory>
<outputDirectory>src/de/dhbwstuttgart/parser/antlr/</outputDirectory> <outputDirectory>src/de/dhbwstuttgart/parser/antlr/</outputDirectory>
<arguments> <argument>-package</argument> <argument>de.dhbwstuttgart.parser.antlr</argument> </arguments> <arguments>
</configuration> <argument>-package</argument>
</execution> <argument>de.dhbwstuttgart.parser.antlr</argument>
<execution> </arguments>
<id>aspParser</id> </configuration>
<goals> </execution>
<goal>antlr4</goal> <execution>
</goals> <id>aspParser</id>
<configuration> <goals>
<sourceDirectory>src/de/dhbwstuttgart/sat/asp/parser/antlr/</sourceDirectory> <goal>antlr4</goal>
<outputDirectory>src/de/dhbwstuttgart/sat/asp/parser/antlr/</outputDirectory> </goals>
<arguments> <configuration>
<argument>-package</argument> <sourceDirectory>src/de/dhbwstuttgart/sat/asp/parser/antlr/</sourceDirectory>
<argument>de.dhbwstuttgart.sat.asp.parser.antlr</argument> <outputDirectory>src/de/dhbwstuttgart/sat/asp/parser/antlr/</outputDirectory>
</arguments> <arguments>
</configuration> <argument>-package</argument>
</execution> <argument>de.dhbwstuttgart.sat.asp.parser.antlr</argument>
</arguments>
</configuration>
</execution>
</executions> </executions>
</plugin> </plugin>
<plugin> <plugin>
<artifactId>maven-assembly-plugin</artifactId> <artifactId>maven-assembly-plugin</artifactId>
<executions> <executions>
<execution> <execution>
<phase>package</phase> <phase>package</phase>
<goals> <goals>
<goal>single</goal> <goal>single</goal>
</goals> </goals>
</execution> </execution>
</executions> </executions>
<configuration> <configuration>
<descriptorRefs> <descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef> <descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs> </descriptorRefs>
</configuration> </configuration>
</plugin> </plugin>
<plugin> <plugin>
<groupId>org.reficio</groupId> <groupId>org.reficio</groupId>
<artifactId>p2-maven-plugin</artifactId> <artifactId>p2-maven-plugin</artifactId>
<version>1.1.2-SNAPSHOT</version> <version>1.1.2-SNAPSHOT</version>
<executions> <executions>
<execution> <execution>
<id>default-cli</id> <id>default-cli</id>
<configuration> <configuration>
<artifacts> <artifacts>
<!-- specify your depencies here --> <!-- specify your depencies here -->
<!-- groupId:artifactId:version --> <!-- groupId:artifactId:version -->
<artifact> <artifact>
<id>de.dhbwstuttgart:JavaTXcompiler:0.1</id> <id>de.dhbwstuttgart:JavaTXcompiler:0.1</id>
</artifact> </artifact>
<artifact><id>org.reflections:reflections:0.9.11</id></artifact> <artifact>
<artifact><id>com.google.guava:guava:22.0</id></artifact> <id>org.reflections:reflections:0.9.11</id>
<artifact><id>javax.annotation:javax.annotation-api:1.3.1</id></artifact> </artifact>
<artifact><id>org.glassfish:javax.annotation:3.1.1</id></artifact> <artifact>
</artifacts> <id>com.google.guava:guava:22.0</id>
</configuration> </artifact>
</execution> <artifact>
</executions> <id>javax.annotation:javax.annotation-api:1.3.1</id>
</plugin> </artifact>
<plugin> <artifact>
<groupId>org.eclipse.tycho</groupId> <id>org.glassfish:javax.annotation:3.1.1</id>
<artifactId>tycho-p2-repository-plugin</artifactId> </artifact>
<version>${tycho.version}</version> </artifacts>
<executions> </configuration>
<execution> </execution>
<phase>package</phase> </executions>
<goals> </plugin>
<goal>archive-repository</goal> <plugin>
</goals> <groupId>org.eclipse.tycho</groupId>
</execution> <artifactId>tycho-p2-repository-plugin</artifactId>
</executions> <version>${tycho.version}</version>
</plugin> <executions>
<plugin> <execution>
<groupId>org.apache.maven.plugins</groupId> <phase>package</phase>
<artifactId>maven-compiler-plugin</artifactId> <goals>
<configuration> <goal>archive-repository</goal>
<source>9</source> </goals>
<target>9</target> </execution>
</configuration> </executions>
</plugin> </plugin>
</plugins> <plugin>
</build> <groupId>org.apache.maven.plugins</groupId>
<pluginRepositories> <artifactId>maven-compiler-plugin</artifactId>
<pluginRepository> <configuration>
<id>reficio</id> <source>9</source>
<url>http://repo.reficio.org/maven/</url> <target>9</target>
</pluginRepository> </configuration>
</pluginRepositories> </plugin>
<repositories> </plugins>
<repository> </build>
<id>maven-repository</id> <pluginRepositories>
<url>file:///${project.basedir}/target</url> <pluginRepository>
</repository> <id>reficio</id>
</repositories> <url>http://repo.reficio.org/maven/</url>
<properties> </pluginRepository>
<maven.compiler.source>1.8</maven.compiler.source> </pluginRepositories>
<maven.compiler.target>1.8</maven.compiler.target> <repositories>
<tycho.version>0.23.0</tycho.version> <repository>
</properties> <id>maven-repository</id>
<distributionManagement> <url>file:///${project.basedir}/target</url>
<repository> </repository>
<id>maven-repository</id> </repositories>
<name>MyCo Internal Repository</name> <properties>
<url>file:///${project.basedir}/maven-repository/</url> <maven.compiler.source>1.8</maven.compiler.source>
</repository> <maven.compiler.target>1.8</maven.compiler.target>
</distributionManagement> <tycho.version>0.23.0</tycho.version>
</properties>
<distributionManagement>
<repository>
<id>maven-repository</id>
<name>MyCo Internal Repository</name>
<url>file:///${project.basedir}/maven-repository/</url>
</repository>
</distributionManagement>
</project> </project>