Hi

This is the log message I get when creating fresh "Netbeans Application"
project.
Please guide to configure ""Netbeans Application" project and required
Maven configuration.

Thanks

~~~Messages in log window while creating new proejct~~~
------------------< org.apache.maven:standalone-pom >-------------------
Building Maven Stub Project (No POM) 1
--------------------------------[ pom ]---------------------------------

>>> maven-archetype-plugin:3.1.2:generate (default-cli) > generate-sources
@ standalone-pom >>>

<<< maven-archetype-plugin:3.1.2:generate (default-cli) < generate-sources
@ standalone-pom <<<


--- maven-archetype-plugin:3.1.2:generate (default-cli) @ standalone-pom ---
Generating project in Batch mode
Archetype not found in any catalog. Falling back to central repository.
Add a repository with id 'archetype' in your settings.xml if archetype's
repository is elsewhere.
----------------------------------------------------------------------------
Using following parameters for creating project from Archetype:
netbeans-platform-app-archetype:1.22
----------------------------------------------------------------------------
Parameter: groupId, Value: com.acite.learn.samples
Parameter: artifactId, Value: NetbeansApplicationTest8
Parameter: version, Value: 1.0-SNAPSHOT
Parameter: package, Value: com.acite.learn.samples.netbeansapplicationtest8
Parameter: packageInPathFormat, Value:
com/acite/learn/samples/netbeansapplicationtest8
Parameter: netbeansVersion, Value: RELEASE150
Parameter: package, Value: com.acite.learn.samples.netbeansapplicationtest8
Parameter: groupId, Value: com.acite.learn.samples
Parameter: artifactId, Value: NetbeansApplicationTest8
Parameter: version, Value: 1.0-SNAPSHOT
Project created from Archetype in dir:
C:\Users\amita\OneDrive\Documents\NetBeansProjects\NetbeansApplicationTest8
------------------------------------------------------------------------
BUILD SUCCESS
------------------------------------------------------------------------

On Fri, Sep 23, 2022 at 1:38 AM Lars Bruun-Hansen <lbruunhan...@gmail.com>
wrote:

> Try using https://netbeans.apidesign.org/maven2/   (meaning using
> https, not http)
>
> The https://netbeans.apache.org/about/oracle-transition.html document
> should be updated now that we are in a world where Maven enforces use
> of https. As far as I can tell the netbeans.apidesign.org site (kindly
> hosted by Jaroslav Tulach) supports BOTH http and https.
>
> Lars
>
> On Thu, Sep 22, 2022 at 8:02 PM Amitabh Choudhury
> <amitabhisg...@gmail.com> wrote:
> >
> > Hi
> > Have installed Netbeans IDE 14.
> > Started new "Netbeans Application" project (Maven)
> > Got http-blocker issue. Resolved. Then started using Maven-3.8.1.
> > Then got following issue..
> > ---
> > Failed to execute goal on project NetbeansApplicationTest2-app: Could
> not resolve dependencies for project com.acite.learn.samples:
> > NetbeansApplicationTest2-app:nbm-application:1.0-SNAPSHOT: Failed to
> collect dependencies at
> com.acite.learn.samples:NetbeansApplicationTest2-branding:jar:
> > 1.0-SNAPSHOT: Failed to read artifact descriptor for
> com.acite.learn.samples:NetbeansApplicationTest2-branding:jar:1.0-SNAPSHOT:
> > Could not transfer artifact
> com.acite.learn.samples:NetbeansApplicationTest2-branding:pom:1.0-SNAPSHOT
> from/to netbeans
> > (http://bits.netbeans.org/nexus/content/groups/netbeans/):
> > authentication failed for
> http://bits.netbeans.org/nexus/content/groups/netbeans/com/acite/learn/samples/NetbeansApplicationTest2-branding/1.0-SNAPSHOT/NetbeansApplicationTest2-branding-1.0-SNAPSHOT.pom,
> status:
> > 401 Repository decommissioned. Please refer to
> https://netbeans.apache.org/about/oracle-transition.html for more
> information. -> [Help 1]
> > ---
> >
> > So read the oracle-transition.html and made following changes in root
> pom.xml.
> > ----
> > <!--            <url>
> http://bits.netbeans.org/nexus/content/groups/netbeans/</url> -->
> > <url>http://netbeans.apidesign.org/maven2/</url>
> > ----
> > Then got following issue..
> > ---
> > Failed to execute goal on project NetbeansApplicationTest2-app: Could
> not resolve dependencies for project com.acite.learn.samples:
> > NetbeansApplicationTest2-app:nbm-application:1.0-SNAPSHOT: Could not
> find artifact com.acite.learn.samples:NetbeansApplicationTest2-branding:jar:
> > 1.0-SNAPSHOT in netbeans (http://netbeans.apidesign.org/maven2/) ->
> [Help 1]
> > ----
> > Restarted Netbeans IDE. Getting following issue...
> > ----
> > Failed to execute goal on project NetbeansApplicationTest2-app: Could
> not resolve dependencies for project com.acite.learn.samples:
> > NetbeansApplicationTest2-app:nbm-application:1.0-SNAPSHOT:
> com.acite.learn.samples:NetbeansApplicationTest2-branding:jar:
> > 1.0-SNAPSHOT was not found in http://netbeans.apidesign.org/maven2/
> during a previous attempt.
> > This failure was cached in the local repository and resolution is not
> reattempted until the update interval of netbeans has elapsed or updates
> are forced -> [Help 1]
> > ----
> > Please help to configure Netbeans IDE 14 to build and run "Netbeans
> Application" Platform projects.
> >
> > Thanks.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
> For additional commands, e-mail: users-h...@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>

Reply via email to