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