Skip to content
This repository has been archived by the owner on Jul 11, 2022. It is now read-only.

Commit

Permalink
Merge pull request #156 from rhq-project/jkremser/bz1175774
Browse files Browse the repository at this point in the history
[BZ 1175774] - Make JBoss ON code base buildable with jdk 8
  • Loading branch information
jkremser committed Jan 5, 2015
2 parents 7e2e034 + f2a6bd9 commit 7e03a36
Show file tree
Hide file tree
Showing 7 changed files with 42 additions and 30 deletions.
4 changes: 2 additions & 2 deletions modules/core/domain/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,8 @@
<!-- NOTE: The remaining test deps correspond to the classes contained in hibernate-all.jar and thirdparty-all.jar. -->

<dependency>
<groupId>antlr</groupId>
<artifactId>antlr</artifactId>
<groupId>org.antlr</groupId>
<artifactId>antlr-complete</artifactId>
<scope>test</scope>
</dependency>

Expand Down
4 changes: 4 additions & 0 deletions modules/enterprise/remoting/client-deps/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@
<groupId>org.antlr</groupId>
<artifactId>antlr</artifactId>
</exclusion>
<exclusion>
<groupId>org.antlr</groupId>
<artifactId>antlr-complete</artifactId>
</exclusion>
<exclusion>
<groupId>com.jcraft</groupId>
<artifactId>jsch</artifactId>
Expand Down
20 changes: 1 addition & 19 deletions modules/enterprise/server/jar/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -217,27 +217,9 @@
</dependency>

<!-- 3rd Party Deps -->

<!-- do we really need this version, for now use the version provided by AS7, declare just below -->
<dependency>
<groupId>org.antlr</groupId>
<artifactId>antlr-runtime</artifactId>
<version>3.2</version>
<exclusions>
<exclusion>
<groupId>antlr</groupId>
<artifactId>antlr</artifactId>
</exclusion>
<exclusion>
<groupId>org.antlr</groupId>
<artifactId>antlr</artifactId>
</exclusion>
</exclusions>
</dependency>

<dependency>
<groupId>antlr</groupId>
<artifactId>antlr</artifactId>
<artifactId>antlr-complete</artifactId>
<scope>provided</scope>
</dependency>

Expand Down
2 changes: 1 addition & 1 deletion modules/helpers/inventory-serializer/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
<dependency>
<groupId>org.antlr</groupId>
<artifactId>antlr-runtime</artifactId>
<version>3.3</version>
<version>${antlr.version}</version>
<scope>runtime</scope>
</dependency>
<dependency>
Expand Down
2 changes: 1 addition & 1 deletion modules/plugins/jmx/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@
<id>integration-tests</id>
<activation>
<property>
<name>maven.test.skip</name>
<name>skipTests</name>
<value>!true</value>
</property>
</activation>
Expand Down
8 changes: 7 additions & 1 deletion modules/plugins/mod-cluster/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,13 @@
<scope>provided</scope>
</dependency>

<dependency>
<groupId>org.jboss.integration</groupId>
<artifactId>jboss-profileservice-spi</artifactId>
<version>6.0.0.Alpha9</version>
<scope>provided</scope>
</dependency>

<dependency>
<groupId>org.jboss.on</groupId>
<artifactId>jopr-jboss-as-plugin</artifactId>
Expand All @@ -47,7 +54,6 @@

<build>
<plugins>

<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
Expand Down
32 changes: 26 additions & 6 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
<animal.sniffer.version>1.8</animal.sniffer.version>
<annotations.version>7.0.2</annotations.version>
<ant.contrib.version>1.0b3</ant.contrib.version>
<antlr.version>2.7.7</antlr.version>
<antlr.version>3.5.2</antlr.version>
<apache.httpcomponents.version>4.2.5</apache.httpcomponents.version>
<arquillian.version>1.0.4.Final</arquillian.version> <!-- as of 6/25/2014 the latest version publically available is 1.1.4.Final, but we can't compile with that yet -->
<arquillian.jboss.container.version>7.2.0.Final</arquillian.jboss.container.version> <!-- as of 6/25/2014 this is the latest version publically available -->
Expand Down Expand Up @@ -781,8 +781,8 @@
</dependency>

<dependency>
<groupId>antlr</groupId>
<artifactId>antlr</artifactId>
<groupId>org.antlr</groupId>
<artifactId>antlr-complete</artifactId>
<version>${antlr.version}</version>
</dependency>

Expand Down Expand Up @@ -1380,6 +1380,10 @@
<plugin>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.8</version>
<configuration>
<!-- this is needed by jdk 8 not to fail the build because of jdoc issues -->
<additionalparam>${javadoc.doclint.none}</additionalparam>
</configuration>
</plugin>
<plugin>
<artifactId>maven-plugin-plugin</artifactId>
Expand Down Expand Up @@ -1461,6 +1465,14 @@
<groupId>org.codehaus.mojo</groupId>
<artifactId>animal-sniffer-maven-plugin</artifactId>
<version>${animal.sniffer.version}</version>
<dependencies>
<!-- Upgrade ASM and support Java 8 bytecode -->
<dependency>
<groupId>org.ow2.asm</groupId>
<artifactId>asm-all</artifactId>
<version>5.0.3</version>
</dependency>
</dependencies>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
Expand Down Expand Up @@ -1515,7 +1527,7 @@
<plugin>
<groupId>org.antlr</groupId>
<artifactId>antlr3-maven-plugin</artifactId>
<version>3.2</version>
<version>${antlr.version}</version>
</plugin>
</plugins>
</pluginManagement>
Expand Down Expand Up @@ -2423,8 +2435,16 @@
</plugins>
</reporting>
</profile>
</profiles>

<profile>
<id>java8-disable-strict-javadoc</id>
<activation>
<jdk>[1.8,)</jdk>
</activation>
<properties>
<javadoc.doclint.none>-Xdoclint:none</javadoc.doclint.none>
</properties>
</profile>
</profiles>

<reporting>
<plugins>
Expand Down

0 comments on commit 7e03a36

Please sign in to comment.