Skip to content

Commit

Permalink
Cleaning up the build (stax2-api, cxf, etc.)
Browse files Browse the repository at this point in the history
  • Loading branch information
semancik committed Apr 22, 2016
1 parent 3efd56a commit ab106dc
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 7 deletions.
9 changes: 9 additions & 0 deletions build-system/pom.xml
Expand Up @@ -556,6 +556,12 @@
</exclusion>
</exclusions>
</dependency>
<dependency>
<!-- make this dependency explicit to detect conflicts with older versions -->
<groupId>org.codehaus.woodstox</groupId>
<artifactId>stax2-api</artifactId>
<version>3.1.4</version>
</dependency>
<dependency>
<groupId>org.apache.felix</groupId>
<artifactId>org.osgi.core</artifactId>
Expand Down Expand Up @@ -1403,6 +1409,9 @@
<!-- There is some kind of conflict between these. TODO: clean up -->
<ignoredUnusedDeclaredDependency>xml-apis:xml-apis</ignoredUnusedDeclaredDependency>
<ignoredUnusedDeclaredDependency>stax:stax-api</ignoredUnusedDeclaredDependency>

<!-- We are making this dependency explicit to detect conflicts early -->
<ignoredUnusedDeclaredDependency>org.codehaus.woodstox:stax2-api</ignoredUnusedDeclaredDependency>

<!-- The xjc-plugin does not compile without dependency on this -->
<ignoredUnusedDeclaredDependency>org.apache.cxf:cxf-tools-common</ignoredUnusedDeclaredDependency>
Expand Down
5 changes: 4 additions & 1 deletion dist/midpoint-api/pom.xml
Expand Up @@ -101,16 +101,19 @@
<version>2.10.3</version>
<configuration>
<includeDependencySources>true</includeDependencySources>
<includeTransitiveDependencySources>true</includeTransitiveDependencySources>
<dependencySourceIncludes>
<dependencySourceInclude>com.evolveum.*:*</dependencySourceInclude>
</dependencySourceIncludes>
<quiet>false</quiet>
<debug>true</debug>
</configuration>
<executions>
<execution>
<id>javadoc-jar</id>
<phase>package</phase> <!-- bind to the packaging phase -->
<goals>
<goal>jar</goal>
<goal>jar</goal>
</goals>
</execution>
</executions>
Expand Down
5 changes: 5 additions & 0 deletions infra/prism/pom.xml
Expand Up @@ -111,6 +111,11 @@
<groupId>org.jvnet.jaxb2_commons</groupId>
<artifactId>jaxb2-basics-runtime</artifactId>
</dependency>
<dependency>
<!-- make this dependency explicit to detect conflicts with older versions -->
<groupId>org.codehaus.woodstox</groupId>
<artifactId>stax2-api</artifactId>
</dependency>

<!-- Xtext for schema IDE tooling (experimental) -->
<!-- <dependency>
Expand Down
13 changes: 7 additions & 6 deletions samples/model-client-sample/pom.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Copyright (c) 2010-2015 Evolveum
~ Copyright (c) 2010-2016 Evolveum
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
Expand All @@ -24,6 +24,7 @@
<version>3.4-SNAPSHOT</version>
<properties>
<project.source.version>1.7</project.source.version>
<cxf.version>3.1.6</cxf.version>
</properties>
<organization>
<name>Evolveum</name>
Expand All @@ -41,7 +42,7 @@
<developerConnection>git@github.com:Evolveum/midpoint.git</developerConnection>
<url>https://fisheye.evolveum.com/browse/midPoint</url>
</scm>

<distributionManagement>
<repository>
<id>evolveum-nexus</id>
Expand Down Expand Up @@ -149,22 +150,22 @@
<dependency>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-core</artifactId>
<version>3.0.0</version>
<version>${cxf.version}</version>
</dependency>
<dependency>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-rt-frontend-jaxws</artifactId>
<version>3.0.0</version>
<version>${cxf.version}</version>
</dependency>
<dependency>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-rt-transports-http</artifactId>
<version>3.0.0</version>
<version>${cxf.version}</version>
</dependency>
<dependency>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-rt-ws-security</artifactId>
<version>3.0.0</version>
<version>${cxf.version}</version>
</dependency>
<dependency>
<groupId>commons-io</groupId>
Expand Down

0 comments on commit ab106dc

Please sign in to comment.