[2] | 1 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
---|
| 2 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
---|
| 3 | <modelVersion>4.0.0</modelVersion>
|
---|
| 4 |
|
---|
| 5 | <groupId>nl.tudelft.ii</groupId>
|
---|
| 6 | <artifactId>pipe</artifactId>
|
---|
[19] | 7 | <version>1.0.4</version>
|
---|
[2] | 8 | <packaging>jar</packaging>
|
---|
| 9 |
|
---|
| 10 | <name>pipe</name>
|
---|
| 11 | <url>http://maven.apache.org</url>
|
---|
| 12 |
|
---|
| 13 | <properties>
|
---|
| 14 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
---|
[13] | 15 | <maven.compiler.target>1.8</maven.compiler.target>
|
---|
| 16 | <maven.compiler.source>1.8</maven.compiler.source>
|
---|
[11] | 17 | <basedir>.</basedir>
|
---|
| 18 | <passwd>${env.ARTIFACTORY_PASS}</passwd>
|
---|
| 19 | <jackson-2-version>2.12.3</jackson-2-version>
|
---|
[2] | 20 | </properties>
|
---|
[11] | 21 |
|
---|
[19] | 22 |
|
---|
| 23 |
|
---|
| 24 | <repositories>
|
---|
| 25 | <repository>
|
---|
| 26 | <id>artifactory.ewi.tudelft.nl</id>
|
---|
| 27 | <url>https://artifactory.ewi.tudelft.nl/artifactory/libs-release</url>
|
---|
| 28 | <snapshots>
|
---|
| 29 | <enabled>false</enabled>
|
---|
| 30 | </snapshots>
|
---|
| 31 | </repository>
|
---|
| 32 | </repositories>
|
---|
| 33 |
|
---|
| 34 | <pluginRepositories>
|
---|
| 35 | <pluginRepository>
|
---|
| 36 | <id>central</id>
|
---|
| 37 | <url>https://repo1.maven.org/maven2</url>
|
---|
| 38 | </pluginRepository>
|
---|
| 39 | <pluginRepository>
|
---|
| 40 | <id>artifactory.ewi.tudelft.nl</id>
|
---|
| 41 | <url>https://artifactory.ewi.tudelft.nl/artifactory/libs-release</url>
|
---|
| 42 | </pluginRepository>
|
---|
| 43 | </pluginRepositories>
|
---|
| 44 |
|
---|
[2] | 45 | <dependencies>
|
---|
| 46 | <dependency>
|
---|
| 47 | <groupId>junit</groupId>
|
---|
| 48 | <artifactId>junit</artifactId>
|
---|
| 49 | <version>4.11</version>
|
---|
| 50 | <scope>test</scope>
|
---|
| 51 | </dependency>
|
---|
| 52 |
|
---|
| 53 | </dependencies>
|
---|
| 54 |
|
---|
| 55 | <build>
|
---|
| 56 | <plugins>
|
---|
[11] | 57 |
|
---|
[19] | 58 | <plugin>
|
---|
| 59 | <groupId>org.apache.maven.plugins</groupId>
|
---|
| 60 | <artifactId>maven-source-plugin</artifactId>
|
---|
| 61 | <version>3.1.0</version>
|
---|
| 62 | <executions>
|
---|
| 63 | <execution>
|
---|
| 64 | <id>attach-sources</id>
|
---|
| 65 | <goals>
|
---|
| 66 | <goal>jar</goal>
|
---|
| 67 | </goals>
|
---|
| 68 | </execution>
|
---|
| 69 | </executions>
|
---|
| 70 | </plugin>
|
---|
| 71 |
|
---|
| 72 | <plugin>
|
---|
| 73 | <groupId>org.apache.maven.plugins</groupId>
|
---|
| 74 | <artifactId>maven-javadoc-plugin</artifactId>
|
---|
| 75 | <version>3.2.0</version>
|
---|
| 76 | <executions>
|
---|
| 77 | <execution>
|
---|
| 78 | <id>attach-javadocs</id>
|
---|
| 79 | <goals>
|
---|
| 80 | <goal>jar</goal>
|
---|
| 81 | </goals>
|
---|
| 82 | </execution>
|
---|
| 83 | </executions>
|
---|
| 84 | </plugin>
|
---|
| 85 |
|
---|
| 86 |
|
---|
| 87 | <plugin>
|
---|
| 88 | <artifactId>maven-assembly-plugin</artifactId>
|
---|
| 89 | <version>2.4.1</version>
|
---|
| 90 | <configuration>
|
---|
| 91 | <descriptorRefs>
|
---|
| 92 | <descriptorRef>jar-with-dependencies</descriptorRef>
|
---|
| 93 | </descriptorRefs>
|
---|
| 94 | <archive>
|
---|
| 95 | <manifest>
|
---|
| 96 | <addClasspath>true</addClasspath>
|
---|
| 97 | <mainClass>nl.tudelft.App</mainClass>
|
---|
| 98 | </manifest>
|
---|
| 99 | </archive>
|
---|
| 100 | <descriptorRefs>
|
---|
| 101 | <descriptorRef>jar-with-dependencies</descriptorRef>
|
---|
| 102 | </descriptorRefs>
|
---|
| 103 | </configuration>
|
---|
| 104 | <executions>
|
---|
| 105 | <execution>
|
---|
| 106 | <id>make-my-jar-with-dependencies</id>
|
---|
| 107 | <phase>package</phase>
|
---|
| 108 | <goals>
|
---|
| 109 | <goal>single</goal>
|
---|
| 110 | </goals>
|
---|
| 111 | </execution>
|
---|
| 112 | </executions>
|
---|
| 113 | </plugin>
|
---|
| 114 |
|
---|
| 115 |
|
---|
| 116 | <plugin>
|
---|
| 117 | <groupId>org.jfrog.buildinfo</groupId>
|
---|
| 118 | <artifactId>artifactory-maven-plugin</artifactId>
|
---|
| 119 | <version>3.2.3</version>
|
---|
| 120 | <executions>
|
---|
| 121 | <execution>
|
---|
| 122 | <id>build-info</id>
|
---|
| 123 | <goals>
|
---|
| 124 | <goal>publish</goal>
|
---|
| 125 | </goals>
|
---|
| 126 | <configuration>
|
---|
| 127 | <publisher>
|
---|
| 128 | <contextUrl>http://artifactory.ewi.tudelft.nl/artifactory</contextUrl>
|
---|
| 129 | <repoKey>libs-release</repoKey>
|
---|
| 130 | <username>wouter</username>
|
---|
| 131 | <password>${passwd}</password>
|
---|
| 132 | </publisher>
|
---|
| 133 | </configuration>
|
---|
| 134 | </execution>
|
---|
| 135 | </executions>
|
---|
| 136 | </plugin>
|
---|
| 137 |
|
---|
| 138 |
|
---|
[2] | 139 | </plugins>
|
---|
| 140 | </build>
|
---|
| 141 |
|
---|
| 142 | </project>
|
---|