google-code-export / poly2tri

Automatically exported from code.google.com/p/poly2tri
Other
2 stars 0 forks source link

java version compile error #94

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

When I import existing maven project into eclipse, it reported that:
Plugin execution not covered by lifecycle configuration: 
org.apache.maven.plugins:maven-dependency-
 plugin:2.1:unpack-dependencies (execution: unpack-dependencies-classes, phase: compile)

Even after I added " <pluginManagement>", it didn't become better. It looks 
that there was no error in the pom.xml file. But there were many errors in the 
code, e.g., "The import com.ardor3d cannot be resolved".. I wander if I missed 
something.

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?
Eclipse Juno, ubuntu 12.04, m2e for eclipse

Please provide any additional information below.

Original issue reported on code.google.com by kate.yan...@gmail.com on 2 Apr 2014 at 3:01

GoogleCodeExporter commented 9 years ago
Darned it seems the third party lib i use for the examples is no more.

You should be able to build poly2tri-core.

I will have a look at how to solve this.

Original comment by thahlen@gmail.com on 2 Apr 2014 at 6:47

GoogleCodeExporter commented 9 years ago
Yes. I can remove poly2tri example. Thank you. Besides, follows are my build 
error.

[INFO] Poly2Tri .......................................... SUCCESS [3.356s]
[INFO] Poly2Tri Core ..................................... SUCCESS [4.123s]
[INFO] Poly2Tri Ardor3D .................................. SUCCESS [3.342s]
[INFO] Poly2Tri Examples ................................. FAILURE [1.727s]
[INFO] Poly2Tri GeoTools Examples ........................ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 12.777s
[INFO] Finished at: Wed Apr 02 14:47:39 HKT 2014
[INFO] Final Memory: 19M/99M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project poly2tri-examples: Could not resolve 
dependencies for project org.poly2tri:poly2tri-examples:jar:0.1.1-SNAPSHOT: 
Failed to collect dependencies for 
[org.poly2tri:poly2tri-ardor3d:jar:0.1.1-SNAPSHOT (compile), 
com.google.inject:guice:jar:3.0 (compile), com.ardor3d:ardor3d-core:jar:0.9 
(compile), com.ardor3d:ardor3d-examples:jar:0.9 (compile), 
com.ardor3d:ardor3d-collada:jar:0.9 (compile)]: Failed to read artifact 
descriptor for org.eclipse.swt:swt:jar:linux-x86:3650: Could not transfer 
artifact org.eclipse.swt:swt:pom:3650 from/to ardor3d 
(http://ardor3d.com:8081/nexus/content/groups/public): Connection refused -> 
[Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please 
read the following articles:
[ERROR] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :poly2tri-examples

Original comment by kate.yan...@gmail.com on 2 Apr 2014 at 7:09

GoogleCodeExporter commented 9 years ago
Found that version 0.9 of Ardor3D exists in the real maven repo so updated the 
pom's

Now I hope everything will compile and run as they should.

Original comment by thahlen@gmail.com on 2 Apr 2014 at 9:47