Blame view

pom.xml 12.5 KB
27a75808f   Alex Mukha   Transfer code fro...
1
2
  <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
      <modelVersion>4.0.0</modelVersion>
a80dda219   Alex Mukha   Fixed pom file.
3

27a75808f   Alex Mukha   Transfer code fro...
4
      <parent>
27a75808f   Alex Mukha   Transfer code fro...
5
          <groupId>org.alfresco</groupId>
a80dda219   Alex Mukha   Fixed pom file.
6
7
          <artifactId>alfresco-super-pom</artifactId>
          <version>6</version>
27a75808f   Alex Mukha   Transfer code fro...
8
      </parent>
a80dda219   Alex Mukha   Fixed pom file.
9
10
11
      <artifactId>alfresco-data-model</artifactId>
      <name>Alfresco Data Model</name>
      <description>Alfresco Data Model classes</description>
81a3f183f   Alex Mukha   Revert "[maven-re...
12
      <version>6.0-SNAPSHOT</version>
a80dda219   Alex Mukha   Fixed pom file.
13
14
15
16
17
  
      <scm>
          <connection>scm:git:https://gitlab.alfresco.com/platform/alfresco-data-model.git</connection>
          <developerConnection>scm:git:https://gitlab.alfresco.com/platform/alfresco-data-model.git</developerConnection>
          <url>https://gitlab.alfresco.com/platform/alfresco-data-model</url>
81a3f183f   Alex Mukha   Revert "[maven-re...
18
          <tag>HEAD</tag>
a80dda219   Alex Mukha   Fixed pom file.
19
20
21
22
23
24
25
26
27
28
29
30
      </scm>
  
      <distributionManagement>
          <repository>
              <id>alfresco-internal</id>
              <url>https://artifacts.alfresco.com/nexus/content/repositories/releases</url>
          </repository>
          <snapshotRepository>
              <id>alfresco-internal-snapshots</id>
              <url>https://artifacts.alfresco.com/nexus/content/repositories/snapshots</url>
          </snapshotRepository>
      </distributionManagement>
27a75808f   Alex Mukha   Transfer code fro...
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
      <properties>
          <!-- Files to exclude from SonarQube analysis -->
          <sonar.exclusions>
              source/java/org/alfresco/repo/search/impl/parsers/CMIS*er.java,
              source/java/org/alfresco/repo/search/impl/parsers/FTSParser.java,
              source/java/org/alfresco/repo/search/impl/parsers/FTSLexer.java
          </sonar.exclusions>
          
      </properties>
  
      <build>
          <plugins>
              <plugin>
                  <groupId>org.jibx</groupId>
                  <artifactId>maven-jibx-plugin</artifactId>
                  <configuration>
                      <load>true</load>
                      <schemaBindingDirectory>${project.build.sourceDirectory}/org/alfresco/repo/dictionary</schemaBindingDirectory>
                      <includeSchemaBindings>
                          <includeSchemaBinding>m2binding.xml</includeSchemaBinding>
                      </includeSchemaBindings>
                  </configuration>
                  <executions>
                      <execution>
                          <id>bind-sources</id>
                          <goals>
                              <goal>bind</goal>
                          </goals>
                      </execution>
                  </executions>
              </plugin>
  
              <!-- ACE-3329 Create _en.properties message files  -->
              <plugin>
                  <artifactId>maven-antrun-plugin</artifactId>
                   <executions>
                      <execution>
                          <id>duplicate-english-messages</id>
                          <phase>generate-resources</phase>
                          <goals>
                              <goal>run</goal>
                          </goals>
                      </execution>
                  </executions>
                  <configuration>
                      <target>
                          <copy todir="${project.build.outputDirectory}">
a80dda219   Alex Mukha   Fixed pom file.
78
                              <fileset dir="${basedir}/src/main/resources" includes="alfresco/messages/**/*.properties" />
81a3f183f   Alex Mukha   Revert "[maven-re...
79
                              <mapper type="regexp" from="^([^_]*).properties$" to="\1_en.properties"/>
27a75808f   Alex Mukha   Transfer code fro...
80
81
82
83
                          </copy>
                      </target>
                  </configuration>
              </plugin>
a80dda219   Alex Mukha   Fixed pom file.
84
85
86
87
88
89
90
91
92
93
94
              <plugin>
                  <artifactId>maven-jar-plugin</artifactId>
                  <version>2.6</version>
                  <executions>
                      <execution>
                          <goals>
                              <goal>test-jar</goal>
                          </goals>
                      </execution>
                  </executions>
              </plugin>
27a75808f   Alex Mukha   Transfer code fro...
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
          </plugins>
  
          <pluginManagement>
              <plugins>
                  <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
                  <plugin>
                      <groupId>org.eclipse.m2e</groupId>
                      <artifactId>lifecycle-mapping</artifactId>
                      <version>1.0.0</version>
                      <configuration>
                          <lifecycleMappingMetadata>
                              <pluginExecutions>
                                  <pluginExecution>
                                      <pluginExecutionFilter>
                                          <groupId>org.jibx</groupId>
                                          <artifactId>
                                              maven-jibx-plugin
                                          </artifactId>
                                          <versionRange>
                                              [1.2.5,)
                                          </versionRange>
                                          <goals>
                                              <goal>bind</goal>
                                          </goals>
                                      </pluginExecutionFilter>
                                      <action>
                                          <execute>
                                              <runOnConfiguration>true</runOnConfiguration>
                                              <runOnIncremental>true</runOnIncremental>
                                          </execute>
                                      </action>
                                  </pluginExecution>
                              </pluginExecutions>
                          </lifecycleMappingMetadata>
                      </configuration>
                  </plugin>
a80dda219   Alex Mukha   Fixed pom file.
131
132
133
134
135
136
137
                  <plugin>
                      <artifactId>maven-release-plugin</artifactId>
                      <configuration>
                          <autoVersionSubmodules>true</autoVersionSubmodules>
                          <tagNameFormat>@{project.version}</tagNameFormat>
                      </configuration>
                  </plugin>
27a75808f   Alex Mukha   Transfer code fro...
138
139
140
141
142
143
144
145
              </plugins>
          </pluginManagement>
      </build>
  
      <dependencies>
          <dependency>
              <groupId>org.alfresco</groupId>
              <artifactId>alfresco-core</artifactId>
a80dda219   Alex Mukha   Fixed pom file.
146
              <version>6.5</version>
27a75808f   Alex Mukha   Transfer code fro...
147
148
149
150
151
152
153
154
          </dependency>
          <!--  
              | provided dependencies (are not transitive and not included in webapps)
              | see http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html#Dependency_Scope
              --> 
          <dependency>
              <groupId>javax.servlet</groupId>
              <artifactId>servlet-api</artifactId>
a80dda219   Alex Mukha   Fixed pom file.
155
              <version>2.5</version>
27a75808f   Alex Mukha   Transfer code fro...
156
157
158
159
160
161
162
163
              <scope>provided</scope>
          </dependency>
          <!--  
              | compile dependencies
              --> 
          <dependency>
              <groupId>jaxen</groupId>
              <artifactId>jaxen</artifactId>
a80dda219   Alex Mukha   Fixed pom file.
164
              <version>1.1.6</version>
27a75808f   Alex Mukha   Transfer code fro...
165
166
167
168
          </dependency>
          <dependency>
              <groupId>org.jibx</groupId>
              <artifactId>jibx-run</artifactId>
a80dda219   Alex Mukha   Fixed pom file.
169
              <version>1.2.6</version>
27a75808f   Alex Mukha   Transfer code fro...
170
171
172
173
174
          </dependency>
  
          <dependency>
              <groupId>org.antlr</groupId>
              <artifactId>antlr</artifactId>
a80dda219   Alex Mukha   Fixed pom file.
175
              <version>3.5.2</version>
27a75808f   Alex Mukha   Transfer code fro...
176
177
178
179
          </dependency>
          <dependency>
              <groupId>org.apache.chemistry.opencmis</groupId>
              <artifactId>chemistry-opencmis-client-impl</artifactId>
a80dda219   Alex Mukha   Fixed pom file.
180
              <version>0.11.0</version>
27a75808f   Alex Mukha   Transfer code fro...
181
182
183
184
185
186
187
188
189
190
191
192
193
194
              <exclusions>
                  <exclusion>
                      <groupId>junit</groupId>
                      <artifactId>junit</artifactId>
                  </exclusion>
                  <exclusion>
                      <groupId>org.jvnet.staxex</groupId>
                      <artifactId>stax-ex</artifactId>
                  </exclusion>
              </exclusions>
          </dependency>
          <dependency>
              <groupId>org.apache.chemistry.opencmis</groupId>
              <artifactId>chemistry-opencmis-commons-impl</artifactId>
a80dda219   Alex Mukha   Fixed pom file.
195
              <version>0.11.0</version>
27a75808f   Alex Mukha   Transfer code fro...
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
              <exclusions>
                  <exclusion>
                      <groupId>com.sun.xml.messaging.saaj</groupId>
                      <artifactId>saaj-impl</artifactId>                
                  </exclusion>
                  <exclusion>
                      <groupId>org.jvnet.staxex</groupId>
                      <artifactId>stax-ex</artifactId>
                  </exclusion>
              </exclusions>
          </dependency>
          <!-- stax-ex is exluded from chemistry and included here, to avoid making constant requests to the repo -->
          <!-- That's becausde the chemistry-pulled one does not specify a specific version -->
          <dependency>
              <groupId>org.jvnet.staxex</groupId>
              <artifactId>stax-ex</artifactId>
              <version>1.2</version>
          </dependency>
          <dependency>
              <groupId>org.apache.chemistry.opencmis</groupId>
              <artifactId>chemistry-opencmis-server-bindings</artifactId>
a80dda219   Alex Mukha   Fixed pom file.
217
              <version>0.11.0</version>
27a75808f   Alex Mukha   Transfer code fro...
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
              <exclusions>
                  <exclusion>
                      <groupId>org.jvnet.staxex</groupId>
                      <artifactId>stax-ex</artifactId>
                  </exclusion>
              </exclusions>
          </dependency>
          <dependency>
              <groupId>org.codehaus.woodstox</groupId>
              <artifactId>woodstox-core-asl</artifactId>
              <version>4.2.0</version>
          </dependency>
          <!-- This is now deployed at:
              | http://artifacts.alfresco.com/nexus/content/repositories/thirdparty/org/acegisecurity/acegi-security/0.8.2_patched/
              -->
          <dependency>
              <groupId>org.acegisecurity</groupId>
              <artifactId>acegi-security</artifactId>
              <version>0.8.2_patched</version>
          </dependency>
          <dependency>
              <groupId>org.alfresco</groupId>
              <artifactId>alfresco-xmlfactory</artifactId>
a80dda219   Alex Mukha   Fixed pom file.
241
242
243
244
245
246
              <version>1.0.3</version>
          </dependency>
          <dependency>
              <groupId>xerces</groupId>
              <artifactId>xercesImpl</artifactId>
              <version>2.10.0-alfresco-patched</version>
27a75808f   Alex Mukha   Transfer code fro...
247
248
249
250
251
252
253
254
255
256
          </dependency>
          <dependency>
              <groupId>xpp3</groupId>
              <artifactId>xpp3</artifactId>
              <version>1.1.3_8</version>
          </dependency>
          <!-- Tika -->
          <dependency>
              <groupId>org.apache.tika</groupId>
              <artifactId>tika-core</artifactId>
a80dda219   Alex Mukha   Fixed pom file.
257
              <version>1.6-20160727-alfresco-patched</version>
27a75808f   Alex Mukha   Transfer code fro...
258
259
260
261
          </dependency>
          <dependency>
              <groupId>org.apache.tika</groupId>
              <artifactId>tika-parsers</artifactId>
a80dda219   Alex Mukha   Fixed pom file.
262
              <version>1.6-20160727-alfresco-patched</version>
27a75808f   Alex Mukha   Transfer code fro...
263
264
265
266
          </dependency>
          <dependency>
              <groupId>org.gagravarr</groupId>
              <artifactId>vorbis-java-core</artifactId>
a80dda219   Alex Mukha   Fixed pom file.
267
              <version>0.4</version>
27a75808f   Alex Mukha   Transfer code fro...
268
269
270
271
          </dependency>
          <dependency>
              <groupId>org.gagravarr</groupId>
              <artifactId>vorbis-java-tika</artifactId>
a80dda219   Alex Mukha   Fixed pom file.
272
              <version>0.4</version>
27a75808f   Alex Mukha   Transfer code fro...
273
274
275
276
277
278
279
280
281
282
283
          </dependency>
          <dependency>
              <groupId>com.googlecode.juniversalchardet</groupId>
              <artifactId>juniversalchardet</artifactId>
              <version>1.0.3</version>
          </dependency>
  
          <!-- Test dependencies -->
          <dependency>
              <groupId>junit</groupId>
              <artifactId>junit</artifactId>
a80dda219   Alex Mukha   Fixed pom file.
284
              <version>4.12</version>
27a75808f   Alex Mukha   Transfer code fro...
285
286
287
288
289
              <scope>test</scope>
          </dependency>
          <dependency>
              <groupId>org.antlr</groupId>
              <artifactId>gunit</artifactId>
a80dda219   Alex Mukha   Fixed pom file.
290
              <version>3.5.2</version>
27a75808f   Alex Mukha   Transfer code fro...
291
292
293
294
295
              <scope>test</scope>
          </dependency>
          <dependency>
              <groupId>org.mockito</groupId>
              <artifactId>mockito-all</artifactId>
a80dda219   Alex Mukha   Fixed pom file.
296
              <version>1.10.19</version>
27a75808f   Alex Mukha   Transfer code fro...
297
298
299
              <scope>test</scope>
          </dependency>
      </dependencies>
56da1d10b   Alex Mukha   Fixed JavaDoc gen...
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
  
      <profiles>
          <profile>
              <id>doclint-java8-max</id>
              <activation>
                  <jdk>[1.8,)</jdk>
              </activation>
              <build>
                  <plugins>
                      <plugin>
                          <artifactId>maven-javadoc-plugin</artifactId>
                          <configuration>
                              <!-- <additionalparam>-Xmaxwarns 10000 -Xmaxerrs 10000</additionalparam> to detect more than 100 error -->
                              <additionalparam>-Xdoclint:none</additionalparam>
                          </configuration>
                      </plugin>
                  </plugins>
              </build>
          </profile>
      </profiles>
27a75808f   Alex Mukha   Transfer code fro...
320
  </project>