Skip to content
This repository was archived by the owner on Nov 17, 2020. It is now read-only.

Commit ac8dbcf

Browse files
author
Libor Krzyzanek
committed
java 8 #ORG-3020
1 parent 3298d9e commit ac8dbcf

File tree

3 files changed

+16
-6
lines changed

3 files changed

+16
-6
lines changed
File renamed without changes.

documentation/development.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ Borg Development Guide
44
Technologies and frameworks used
55
--------------------------------
66

7-
* Java 7
8-
* [JBoss EAP 6.2](http://www.jboss.org/jbossas/downloads) - Java EE 6 - CDI, EJB Session beans, Hibernate JPA
7+
* Java 8 (Java 7 for Openshift)
8+
* [JBoss EAP 6.4](http://developers.redhat.com/downloads/) - Java EE 6 - CDI, EJB Session beans, Hibernate JPA
99
* JSF2, [PrettyFaces](http://ocpsoft.org/prettyfaces/), [Rome Feeds parser](https://rometools.jira.com/wiki/display/ROME/Home)
1010
* [Zurb Foundation 4](http://foundation.zurb.com/docs/v/4.3.2/), [jQuery](http://jquery.com/), [Datatables](http://www.datatables.net/), [Twitter4j](http://twitter4j.org/)
1111
* JUnit for unit tests

pom.xml

+14-4
Original file line numberDiff line numberDiff line change
@@ -59,12 +59,15 @@
5959
</developers>
6060

6161
<properties>
62-
<compileSource>1.7</compileSource>
62+
<!-- 1.7 for Openshfit Online v2 -->
63+
<compileSource>1.8</compileSource>
6364
<filter.name>localhost</filter.name>
6465

6566
<!-- Explicitly declaring the source encoding eliminates the following message: -->
6667
<!-- [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent! -->
6768
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
69+
70+
<maven-compiler-plugin.version>2.3.2</maven-compiler-plugin.version>
6871
</properties>
6972

7073

@@ -284,12 +287,10 @@
284287
<!-- Compiler plugin enforces Java 1.6 compatibility and activates annotation processors -->
285288
<plugin>
286289
<artifactId>maven-compiler-plugin</artifactId>
287-
<version>2.3.2</version>
290+
<version>${maven-compiler-plugin.version}</version>
288291
<configuration>
289292
<source>${compileSource}</source>
290293
<target>${compileSource}</target>
291-
<debug>false</debug>
292-
<optimize>false</optimize>
293294
</configuration>
294295
</plugin>
295296
<plugin>
@@ -460,6 +461,15 @@
460461
<warName>ROOT</warName>
461462
</configuration>
462463
</plugin>
464+
<plugin>
465+
<groupId>org.apache.maven.plugins</groupId>
466+
<artifactId>maven-compiler-plugin</artifactId>
467+
<version>${maven-compiler-plugin.version}</version>
468+
<configuration>
469+
<source>1.7</source>
470+
<target>1.7</target>
471+
</configuration>
472+
</plugin>
463473
</plugins>
464474
</build>
465475
</profile>

0 commit comments

Comments
 (0)