Commit a80dda219041e2137bcca11cf1ca042f0f628b80

Authored by Alex Mukha
1 parent 27a75808f1
Exists in master

Fixed pom file.

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