-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error compiling lib #41
Comments
I clone your new update of this project and this error of plug-in is generated cd F:\data_kdp\programs\CodenameOne\ws_codenameone\codenameone-google-maps\GoogleMaps; "JAVA_HOME=C:\Program Files\Java\jdk1.8.0_192" cmd /c """C:\Program Files\NetBeans 8.2\java\maven\bin\mvn.bat" -Dmaven.ext.class.path="C:\Program Files\NetBeans 8.2\java\maven-nblib\netbeans-eventspy.jar" -Dfile.encoding=UTF-8 install"" Some problems were encountered while building the effective model for com.codenameone:googlemaps-lib-common:jar:1.0-SNAPSHOT It is highly recommended to fix these problems because they threaten the stability of your build. For this reason, future Maven versions might no longer support building such malformed projects. Reactor Build Order: googlemaps-lib Building googlemaps-lib 1.0-SNAPSHOT--- maven-install-plugin:2.3.1:install (default-install) @ googlemaps-lib --- Building googlemaps-lib-common 1.0-SNAPSHOTDownloading: http://repo.maven.apache.org/maven2/org/codehaus/mojo/build-helper-maven-plugin/maven-metadata.xml Could not transfer metadata org.codehaus.mojo:build-helper-maven-plugin/maven-metadata.xml from/to central (http://repo.maven.apache.org/maven2): Failed to transfer file: http://repo.maven.apache.org/maven2/org/codehaus/mojo/build-helper-maven-plugin/maven-metadata.xml. Return code is: 501 , ReasonPhrase:HTTPS Required.Reactor Summary: googlemaps-lib .................................... SUCCESS [0.806s]
|
We're in the process of migrating to Maven. This library is my first test case and it is depending on a snapshot version of Codename One. I have a few more changes to make, and will be committing to Maven central next week. Then I'll change the Codename One dependency to use a release from Maven central. You can build/install the Codename One dependency by checking out the main Codename One repo https://github.com/codenameone/CodenameOne, then go to the "maven" directory and build using That should provide the dependency for this library and you can try building again. Not sure about that http/https error though. Looks like more of a maven configuration issue. |
you will migrate all your source code to maven? I hope that you create a Good documentation to use locally. |
any people can help me to solve this issue? cd F:\data_kdp\programs\CodenameOne\ws_codenameone\codenameone-google-maps\GoogleMaps; "JAVA_HOME=C:\Program Files\Java\jdk1.8.0_192" cmd /c """C:\Program Files\NetBeans 8.2\java\maven\bin\mvn.bat" -Dmaven.ext.class.path="C:\Program Files\NetBeans 8.2\java\maven-nblib\netbeans-eventspy.jar" -Dfile.encoding=UTF-8 --errors --errors clean install"" main: main: T E S T SRunning com.codenameone.FilechooserTest Results : Tests run: 0, Failures: 0, Errors: 0, Skipped: 0 [INFO] Command line was: "C:\Program Files\Java\jdk1.8.0_192\jre..\bin\javadoc.exe" @options @packages Refer to the generated Javadoc files in 'F:\data_kdp\programs\CodenameOne\ws_codenameone\codenameone-google-maps\GoogleMaps\common\target\apidocs' dir. org.apache.maven.reporting.MavenReportException: Command line was: "C:\Program Files\Java\jdk1.8.0_192\jre..\bin\javadoc.exe" @options @packages Refer to the generated Javadoc files in 'F:\data_kdp\programs\CodenameOne\ws_codenameone\codenameone-google-maps\GoogleMaps\common\target\apidocs' dir.
[INFO] Building jar: F:\data_kdp\programs\CodenameOne\ws_codenameone\codenameone-google-maps\GoogleMaps\common\target\googlemaps-common-1.1.2-SNAPSHOT-javadoc.jar T E S T SResults : Tests run: 0, Failures: 0, Errors: 0, Skipped: 0 [INFO] main: T E S T SResults : Tests run: 0, Failures: 0, Errors: 0, Skipped: 0 [INFO] T E S T SResults : Tests run: 0, Failures: 0, Errors: 0, Skipped: 0 [INFO]
Caused by: org.apache.maven.plugin.CompilationFailureException: Compilation failure
[ERROR] |
ant -q -f F:\data_kdp\programs\CodenameOne\ws_codenameone\codenameone-google-maps\GoogleMaps -Dnb.internal.action.name=rebuild clean jar
warning: [options] bootstrap class path not set in conjunction with -source 1.6
1 warning
Init env executing with cn1env = ${cn1env} for ../../CodenameOne/GUIBuilder/src
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Compile is forcing compliance to the supported API's/features for maximum device compatibility. This allows smaller
code size and wider device support
An exception has occurred in the compiler (1.8.0_121). Please file a bug against the Java compiler via the Java bug reporting page (http://bugreport.java.com) after checking the Bug Database (http://bugs.java.com) for duplicates. Include your program and the following diagnostic in your report. Thank you.
com.sun.tools.javac.code.Symbol$CompletionFailure: class file for java.lang.invoke.MethodType not found
F:\data_kdp\programs\CodenameOne\ws_codenameone\codenameone-google-maps\GoogleMaps\build.xml:28: Compile failed; see the compiler error output for details.
BUILD FAILED (total time: 24 seconds)
please help me to solve
The text was updated successfully, but these errors were encountered: