[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>
|
---|
[25] | 8 | <version>1.5.4</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>
|
---|
[25] | 19 | <geniusweb.version>1.5.4</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>
|
---|
[24] | 107 | <version>3.2.0</version>
|
---|
[2] | 108 | <executions>
|
---|
| 109 | <execution>
|
---|
| 110 | <id>attach-javadocs</id>
|
---|
| 111 | <goals>
|
---|
| 112 | <goal>jar</goal>
|
---|
| 113 | </goals>
|
---|
| 114 | </execution>
|
---|
| 115 | </executions>
|
---|
| 116 | </plugin>
|
---|
| 117 |
|
---|
| 118 | <plugin>
|
---|
| 119 | <groupId>org.jfrog.buildinfo</groupId>
|
---|
| 120 | <artifactId>artifactory-maven-plugin</artifactId>
|
---|
| 121 | <version>2.6.1</version>
|
---|
| 122 | <executions>
|
---|
| 123 | <execution>
|
---|
| 124 | <id>build-info</id>
|
---|
| 125 | <goals>
|
---|
| 126 | <goal>publish</goal>
|
---|
| 127 | </goals>
|
---|
| 128 | <configuration>
|
---|
| 129 | <publisher>
|
---|
| 130 | <contextUrl>http://artifactory.ewi.tudelft.nl/artifactory</contextUrl>
|
---|
| 131 | <repoKey>libs-release</repoKey>
|
---|
| 132 | <username>wouter</username>
|
---|
| 133 | <password>${passwd}</password>
|
---|
| 134 | </publisher>
|
---|
| 135 | </configuration>
|
---|
| 136 | </execution>
|
---|
| 137 | </executions>
|
---|
| 138 | </plugin>
|
---|
| 139 |
|
---|
| 140 | <plugin>
|
---|
| 141 | <groupId>org.apache.maven.plugins</groupId>
|
---|
| 142 | <artifactId>maven-assembly-plugin</artifactId>
|
---|
| 143 | <version>2.4.1</version>
|
---|
| 144 | <configuration>
|
---|
| 145 | <!-- get all project dependencies -->
|
---|
| 146 | <descriptorRefs>
|
---|
| 147 | <descriptorRef>jar-with-dependencies</descriptorRef>
|
---|
| 148 | </descriptorRefs>
|
---|
| 149 | <archive>
|
---|
| 150 | <manifest>
|
---|
| 151 | <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
|
---|
| 152 | <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
|
---|
| 153 | <mainClass>geniusweb.exampleparties.conceder.Conceder</mainClass>
|
---|
| 154 | </manifest>
|
---|
| 155 | </archive>
|
---|
| 156 | </configuration>
|
---|
| 157 | <executions>
|
---|
| 158 | <execution>
|
---|
| 159 | <id>make-assembly</id>
|
---|
| 160 | <!-- bind to the packaging phase -->
|
---|
| 161 | <phase>package</phase>
|
---|
| 162 | <goals>
|
---|
| 163 | <goal>single</goal>
|
---|
| 164 | </goals>
|
---|
| 165 | </execution>
|
---|
| 166 | </executions>
|
---|
| 167 | </plugin>
|
---|
| 168 |
|
---|
| 169 |
|
---|
| 170 | </plugins>
|
---|
| 171 |
|
---|
| 172 | <pluginManagement>
|
---|
| 173 | <plugins>
|
---|
| 174 | <plugin>
|
---|
| 175 | <groupId>org.eclipse.m2e</groupId>
|
---|
| 176 | <artifactId>lifecycle-mapping</artifactId>
|
---|
| 177 | <version>1.0.0</version>
|
---|
| 178 | <configuration>
|
---|
| 179 | <lifecycleMappingMetadata>
|
---|
| 180 | <pluginExecutions>
|
---|
| 181 | <pluginExecution>
|
---|
| 182 | <pluginExecutionFilter>
|
---|
| 183 | <groupId>org.jfrog.buildinfo</groupId>
|
---|
| 184 | <artifactId>artifactory-maven-plugin</artifactId>
|
---|
| 185 | <versionRange>[1.0.0,)</versionRange>
|
---|
| 186 | <goals>
|
---|
| 187 | <goal>publish</goal>
|
---|
| 188 | </goals>
|
---|
| 189 | </pluginExecutionFilter>
|
---|
| 190 | <action>
|
---|
| 191 | <ignore />
|
---|
| 192 | </action>
|
---|
| 193 | </pluginExecution>
|
---|
| 194 | </pluginExecutions>
|
---|
| 195 | </lifecycleMappingMetadata>
|
---|
| 196 | </configuration>
|
---|
| 197 | </plugin>
|
---|
| 198 | </plugins>
|
---|
| 199 | </pluginManagement>
|
---|
| 200 |
|
---|
| 201 |
|
---|
| 202 | </build>
|
---|
| 203 | </project>
|
---|