The plugin is no longer applicable with Maven so that's OK. Not sure about 
the problem in NetBeans, we'll need to check.

On Monday, July 19, 2021 at 11:07:01 PM UTC+3 mcw wrote:

>
> I have been away from CodenameOne for months and am just getting back. 
> Everything has changed and I am trying to convert my projects to Maven
>
> I am running Netbeans 8.2 on Kubuntu 20.04
> I have the CodenameOne plugin 7.0
>
> I downloaded the latest version of the migration tool, 1.0.3 and converted 
> my project I got a Success message.
>
> I opened my project in Netbeans, the first thing I noticed was that the 
> project icon said it was a Netbeans project not a CodenameOne project. The 
> CodenameOne menu item was missing. I tried to build the project but it 
> failed:
>
> cd /rware/src/rware_mobile/cn1/rwmain; JAVA_HOME=/opt/jdk1.8.0_292 
> /opt/netbeans-8.2/java/maven/bin/mvn -f 
> /rware/src/rware_mobile/cn1/rwmain/pom.xml install
> Scanning for projects...
>
> Some problems were encountered while building the effective model for 
> com.readerware.xware.readerware:rwmain-common:jar:1.0-SNAPSHOT
> 'build.plugins.plugin.version' for 
> org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 300, 
> column 21
>
> 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:
>
> rwmain
> rwmain-cn1libs
> cn1-codescan
> rwmain-common
>                                                                         
> ------------------------------------------------------------------------
> Building rwmain 1.0-SNAPSHOT
> ------------------------------------------------------------------------
> Downloading: 
> http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-install-plugin/2.3.1/maven-install-plugin-2.3.1.pom
>
> ------------------------------------------------------------------------
> Reactor Summary:
>
> rwmain ............................................ FAILURE [0.392s]
> rwmain-cn1libs .................................... SKIPPED
> cn1-codescan ...................................... SKIPPED
> rwmain-common ..................................... SKIPPED
> ------------------------------------------------------------------------
> BUILD FAILURE
> ------------------------------------------------------------------------
> Total time: 0.505s
> Finished at: Mon Jul 19 12:51:30 PDT 2021
> Final Memory: 7M/119M
> ------------------------------------------------------------------------
> Plugin org.apache.maven.plugins:maven-install-plugin:2.3.1 or one of its 
> dependencies could not be resolved: Failed to read artifact descriptor for 
> org.apache.maven.plugins:maven-install-plugin:jar:2.3.1: Could not transfer 
> artifact org.apache.maven.plugins:maven-install-plugin:pom:2.3.1 from/to 
> central (http://repo.maven.apache.org/maven2): Failed to transfer file: 
> http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-install-plugin/2.3.1/maven-install-plugin-2.3.1.pom.
>  
> Return code is: 501 , ReasonPhrase:HTTPS Required. -> [Help 1]
>
> To see the full stack trace of the errors, re-run Maven with the -e switch.
> Re-run Maven using the -X switch to enable full debug logging.
>
> For more information about the errors and possible solutions, please read 
> the following articles:
> [Help 1] 
> http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException
>
> Any idea what I am doing wrong?
>
> I also used the Codename One initializr to build the Bare-bones Java App, 
> same problem in Netbeans. When I tried to run it from the command line, it 
> worked.
>
> Thanks,
>
> Martin
>
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/a8f2743c-48e7-4a04-bf73-a2ee9f0f23e8n%40googlegroups.com.

Reply via email to