[2] | 1 | <project xmlns="http://maven.apache.org/POM/4.0.0"
|
---|
| 2 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
---|
| 3 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
---|
| 4 | <modelVersion>4.0.0</modelVersion>
|
---|
| 5 |
|
---|
| 6 | <groupId>geniusweb.exampleparties</groupId>
|
---|
| 7 | <artifactId>boulware</artifactId>
|
---|
[9] | 8 | <version>1.1.0</version>
|
---|
[2] | 9 | <packaging>jar</packaging>
|
---|
| 10 |
|
---|
| 11 |
|
---|
| 12 | <properties>
|
---|
| 13 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
---|
| 14 | <maven.compiler.target>1.8</maven.compiler.target>
|
---|
| 15 | <maven.compiler.source>1.8</maven.compiler.source>
|
---|
| 16 | <basedir>.</basedir>
|
---|
| 17 | <passwd>${env.ARTIFACTORY_PASS}</passwd>
|
---|
[9] | 18 | <jackson-2-version>2.9.10</jackson-2-version>
|
---|
[2] | 19 | </properties>
|
---|
| 20 |
|
---|
| 21 | <distributionManagement>
|
---|
| 22 | <repository>
|
---|
| 23 | <id>artifactory.ewi.tudelft.nl</id>
|
---|
| 24 | <url>http://artifactory.ewi.tudelft.nl/artifactory/libs-release</url>
|
---|
| 25 | </repository>
|
---|
| 26 | </distributionManagement>
|
---|
| 27 |
|
---|
| 28 |
|
---|
| 29 | <dependencies>
|
---|
| 30 |
|
---|
| 31 |
|
---|
| 32 | <dependency>
|
---|
| 33 | <groupId>geniusweb.exampleparties</groupId>
|
---|
| 34 | <artifactId>timedependentparty</artifactId>
|
---|
[9] | 35 | <version>1.1.0</version>
|
---|
[2] | 36 | </dependency>
|
---|
| 37 | <dependency>
|
---|
| 38 | <groupId>tudelft.utilities</groupId>
|
---|
| 39 | <artifactId>logging</artifactId>
|
---|
| 40 | <version>1.0.0</version>
|
---|
| 41 | </dependency>
|
---|
| 42 |
|
---|
| 43 | </dependencies>
|
---|
| 44 |
|
---|
| 45 |
|
---|
| 46 | <repositories>
|
---|
| 47 | <repository>
|
---|
| 48 | <id>artifactory.ewi.tudelft.nl</id>
|
---|
| 49 | <url>http://artifactory.ewi.tudelft.nl/artifactory/libs-release</url>
|
---|
| 50 | <snapshots>
|
---|
| 51 | <enabled>false</enabled>
|
---|
| 52 | </snapshots>
|
---|
| 53 | </repository>
|
---|
| 54 |
|
---|
| 55 | </repositories>
|
---|
| 56 |
|
---|
| 57 | <pluginRepositories>
|
---|
| 58 | <pluginRepository>
|
---|
| 59 | <id>jcenter</id>
|
---|
| 60 | <url>http://jcenter.bintray.com</url>
|
---|
| 61 | </pluginRepository>
|
---|
| 62 | </pluginRepositories>
|
---|
| 63 |
|
---|
| 64 |
|
---|
| 65 | <build>
|
---|
| 66 |
|
---|
| 67 | <plugins>
|
---|
| 68 | <plugin>
|
---|
| 69 | <groupId>org.apache.maven.plugins</groupId>
|
---|
| 70 | <artifactId>maven-compiler-plugin</artifactId>
|
---|
| 71 | <version>3.8.0</version>
|
---|
| 72 | <configuration>
|
---|
| 73 | <source>1.8</source>
|
---|
| 74 | <target>1.8</target>
|
---|
| 75 | </configuration>
|
---|
| 76 | </plugin>
|
---|
[4] | 77 | <plugin>
|
---|
| 78 | <groupId>org.apache.maven.plugins</groupId>
|
---|
| 79 | <artifactId>maven-source-plugin</artifactId>
|
---|
[6] | 80 | <version>3.1.0</version>
|
---|
[4] | 81 | <executions>
|
---|
| 82 | <execution>
|
---|
| 83 | <id>attach-sources</id>
|
---|
| 84 | <goals>
|
---|
| 85 | <goal>jar</goal>
|
---|
| 86 | </goals>
|
---|
| 87 | </execution>
|
---|
| 88 | </executions>
|
---|
| 89 | </plugin>
|
---|
[2] | 90 |
|
---|
| 91 | <plugin>
|
---|
| 92 | <groupId>org.apache.maven.plugins</groupId>
|
---|
| 93 | <artifactId>maven-jar-plugin</artifactId>
|
---|
| 94 | <configuration>
|
---|
| 95 | <archive>
|
---|
| 96 | <manifest>
|
---|
| 97 | <mainClass>geniusweb.exampleparties.boulware.Boulware</mainClass>
|
---|
| 98 | </manifest>
|
---|
| 99 | </archive>
|
---|
| 100 | </configuration>
|
---|
| 101 | </plugin>
|
---|
| 102 |
|
---|
| 103 | <plugin>
|
---|
| 104 | <groupId>org.apache.maven.plugins</groupId>
|
---|
| 105 | <artifactId>maven-javadoc-plugin</artifactId>
|
---|
| 106 | <version>2.10.1</version>
|
---|
| 107 | <executions>
|
---|
| 108 | <execution>
|
---|
| 109 | <id>attach-javadocs</id>
|
---|
| 110 | <goals>
|
---|
| 111 | <goal>jar</goal>
|
---|
| 112 | </goals>
|
---|
| 113 | <configuration>
|
---|
| 114 | <additionalparam>${javadoc.opts}</additionalparam>
|
---|
| 115 | <additionalparam>-Xdoclint:none</additionalparam>
|
---|
| 116 | </configuration>
|
---|
| 117 | </execution>
|
---|
| 118 | </executions>
|
---|
| 119 | </plugin>
|
---|
| 120 |
|
---|
| 121 | <plugin>
|
---|
| 122 | <groupId>org.jfrog.buildinfo</groupId>
|
---|
| 123 | <artifactId>artifactory-maven-plugin</artifactId>
|
---|
| 124 | <version>2.6.1</version>
|
---|
| 125 | <executions>
|
---|
| 126 | <execution>
|
---|
| 127 | <id>build-info</id>
|
---|
| 128 | <goals>
|
---|
| 129 | <goal>publish</goal>
|
---|
| 130 | </goals>
|
---|
| 131 | <configuration>
|
---|
| 132 | <publisher>
|
---|
| 133 | <contextUrl>http://artifactory.ewi.tudelft.nl/artifactory</contextUrl>
|
---|
| 134 | <repoKey>libs-release</repoKey>
|
---|
| 135 | <username>wouter</username>
|
---|
| 136 | <password>${passwd}</password>
|
---|
| 137 | </publisher>
|
---|
| 138 | </configuration>
|
---|
| 139 | </execution>
|
---|
| 140 | </executions>
|
---|
| 141 | </plugin>
|
---|
| 142 |
|
---|
| 143 | <plugin>
|
---|
| 144 | <groupId>org.apache.maven.plugins</groupId>
|
---|
| 145 | <artifactId>maven-assembly-plugin</artifactId>
|
---|
| 146 | <version>2.4.1</version>
|
---|
| 147 | <configuration>
|
---|
| 148 | <!-- get all project dependencies -->
|
---|
| 149 | <descriptorRefs>
|
---|
| 150 | <descriptorRef>jar-with-dependencies</descriptorRef>
|
---|
| 151 | </descriptorRefs>
|
---|
| 152 | <archive>
|
---|
| 153 | <manifest>
|
---|
| 154 | <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
|
---|
| 155 | <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
|
---|
| 156 | <mainClass>geniusweb.exampleparties.boulware.Boulware</mainClass>
|
---|
| 157 | </manifest>
|
---|
| 158 | </archive>
|
---|
| 159 | </configuration>
|
---|
| 160 | <executions>
|
---|
| 161 | <execution>
|
---|
| 162 | <id>make-assembly</id>
|
---|
| 163 | <!-- bind to the packaging phase -->
|
---|
| 164 | <phase>package</phase>
|
---|
| 165 | <goals>
|
---|
| 166 | <goal>single</goal>
|
---|
| 167 | </goals>
|
---|
| 168 | </execution>
|
---|
| 169 | </executions>
|
---|
| 170 | </plugin>
|
---|
| 171 |
|
---|
| 172 |
|
---|
| 173 | </plugins>
|
---|
| 174 |
|
---|
| 175 | <pluginManagement>
|
---|
| 176 | <plugins>
|
---|
| 177 | <plugin>
|
---|
| 178 | <groupId>org.eclipse.m2e</groupId>
|
---|
| 179 | <artifactId>lifecycle-mapping</artifactId>
|
---|
| 180 | <version>1.0.0</version>
|
---|
| 181 | <configuration>
|
---|
| 182 | <lifecycleMappingMetadata>
|
---|
| 183 | <pluginExecutions>
|
---|
| 184 | <pluginExecution>
|
---|
| 185 | <pluginExecutionFilter>
|
---|
| 186 | <groupId>org.jfrog.buildinfo</groupId>
|
---|
| 187 | <artifactId>artifactory-maven-plugin</artifactId>
|
---|
| 188 | <versionRange>[1.0.0,)</versionRange>
|
---|
| 189 | <goals>
|
---|
| 190 | <goal>publish</goal>
|
---|
| 191 | </goals>
|
---|
| 192 | </pluginExecutionFilter>
|
---|
| 193 | <action>
|
---|
| 194 | <ignore />
|
---|
| 195 | </action>
|
---|
| 196 | </pluginExecution>
|
---|
| 197 | </pluginExecutions>
|
---|
| 198 | </lifecycleMappingMetadata>
|
---|
| 199 | </configuration>
|
---|
| 200 | </plugin>
|
---|
| 201 | </plugins>
|
---|
| 202 | </pluginManagement>
|
---|
| 203 |
|
---|
| 204 |
|
---|
| 205 | </build>
|
---|
| 206 | </project>
|
---|