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