Skip to content

Commit bc11f3e

Browse files
committed
Updated readme, pom and Eclipse project.properties
1 parent be9be54 commit bc11f3e

File tree

4 files changed

+18
-13
lines changed

4 files changed

+18
-13
lines changed

README.md

+11-9
Original file line numberDiff line numberDiff line change
@@ -22,22 +22,24 @@ graphics-by-opengl-android
2222

2323
contains JOGL and Android implementations.
2424

25-
To use the project in Eclipse, import as Existing Maven project, tested with Eclipse Android Oxygen
25+
To use the project in Eclipse oxygen, import as Existing Maven project, tested with Eclipse Android Oxygen
2626

27-
ADT needs to be installed.
27+
For graphics-by-opengl-android:
2828

29-
pom file may display error similar to:
29+
Download Android standalone SDK for windows:
30+
https://developer.android.com/studio/index.html#downloads - scroll down to 'Get just the command line tools'
3031

31-
Plugin execution not covered by lifecycle configuration: com.simpligility.maven.plugins:android-maven-plugin:4.4.1:emma (execution: default-emma, phase: process-classes)
32+
Install Andmore maven plugin from Eclipse Marketplace (https://projects.eclipse.org/projects/tools.andmore)
3233

33-
- To resolve this, choose quick fix 'Permanently mark goal emma in pom.xml as ignored in Eclipse build'
34-
35-
You may experience problem with non-existing project.properties file
36-
37-
- I solved by adding an empty project.properties file in the Android project root, chosing 'Properties-Android' and selecting a valid SDK.
34+
When prompted for Android for Maven Eclipse (m2e) click to install but exclude:
35+
Android DDMS
36+
Android Development Tools
37+
Android TraceView
38+
(They should be included with Andmore)
3839

3940
Maven - update project,or clean build to get rid of any trailing errors.
4041

42+
4143
Gradle - to publish as maven local, perform task for each module:
4244
graphics-by-opengl-j2se>gradle publishToMavenLocal
4345
graphics-by-opengl-android>gradle publishToMavenLocal

graphics-by-opengl-android/pom.xml

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
22
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
33
<modelVersion>4.0.0</modelVersion>
4-
<parent>
4+
<parent>
55
<groupId>com.super2k.graphics-by-opengl</groupId>
66
<artifactId>graphics-by-opengl</artifactId>
77
<version>${graphics-by-gl-version}</version>
@@ -26,7 +26,9 @@
2626
<extensions>true</extensions>
2727
</plugin>
2828
<plugin>
29-
<artifactId>maven-compiler-plugin</artifactId>
29+
<groupId>org.apache.maven.plugins</groupId>
30+
<artifactId>maven-compiler-plugin</artifactId>
31+
<version>3.7.0</version>
3032
<configuration>
3133
<source>1.7</source>
3234
<target>1.7</target>
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
android.library=true
22
# Project target.
3-
target=android-25
3+
target=android-27

pom.xml

+2-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,8 @@
4949
<pluginManagement>
5050
<plugins>
5151
<plugin>
52-
<artifactId>maven-compiler-plugin</artifactId>
52+
<groupId>org.apache.maven.plugins</groupId>
53+
<artifactId>maven-compiler-plugin</artifactId>
5354
<configuration>
5455
<source>1.8</source>
5556
<target>1.8</target>

0 commit comments

Comments
 (0)