TQ, Lars, for the input and also github updates.

So, the configuration issue seems to be different. Still unresolved.

First, I started a new project and changed the pom.xml <repository> section
to "https". Error continued. Log messages given below.

Then, I started a new project and removed the repository section in
pom.xml. Error seems to be that the pom.xml of "branding:jar" is not
traceable. Log messages given below.


Any changes in IDE required. Please guide me.

~~~~~~~~~~~~~~~~ Log messages below~~~~~~~~~~~~~~~~

****Started new project
~~~
Building NetbeansApplicationTest6-app 1.0-SNAPSHOT
--------------------------[ nbm-application ]---------------------------
Downloading from netbeans:
http://netbeans.apidesign.org/maven2/com/acite/learn/samples/NetbeansApplicationTest6-branding/1.0-SNAPSHOT/maven-metadata.xml
Downloading from netbeans:
http://netbeans.apidesign.org/maven2/com/acite/learn/samples/NetbeansApplicationTest6-branding/1.0-SNAPSHOT/
NetbeansApplicationTest6-branding-1.0-SNAPSHOT.pom
The POM for
com.acite.learn.samples:NetbeansApplicationTest6-branding:jar:1.0-SNAPSHOT
is missing, no dependency information available
Downloading from netbeans:
http://netbeans.apidesign.org/maven2/com/acite/learn/samples/NetbeansApplicationTest6-branding/
1.0-SNAPSHOT/NetbeansApplicationTest6-branding-1.0-SNAPSHOT.jar
------------------------------------------------------------------------
BUILD FAILURE
------------------------------------------------------------------------
Total time:  6.232 s
Finished at: 2022-09-23T19:18:36+05:30
------------------------------------------------------------------------
Failed to execute goal on project NetbeansApplicationTest6-app: Could not
resolve dependencies for project
com.acite.learn.samples:NetbeansApplicationTest6-app:
nbm-application:1.0-SNAPSHOT: Could not find artifact
com.acite.learn.samples:NetbeansApplicationTest6-branding:jar:1.0-SNAPSHOT
in netbeans
(http://netbeans.apidesign.org/maven2/) -> [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/DependencyResolutionException
--------
--------

****Removed(commented) <repository> section while <repositories> isn't
commented.
~~~Log~~~
Building NetbeansApplicationTest7-app 1.0-SNAPSHOT
--------------------------[ nbm-application ]---------------------------
The POM for
com.acite.learn.samples:NetbeansApplicationTest7-branding:jar:1.0-SNAPSHOT
is missing, no dependency information available
------------------------------------------------------------------------
BUILD FAILURE
------------------------------------------------------------------------
Total time:  2.100 s
Finished at: 2022-09-23T19:28:08+05:30
------------------------------------------------------------------------
Failed to execute goal on project NetbeansApplicationTest7-app: Could not
resolve dependencies for project
com.acite.learn.samples:NetbeansApplicationTest7-app:
nbm-application:1.0-SNAPSHOT: Could not find artifact
com.acite.learn.samples:NetbeansApplicationTest7-branding:jar:1.0-SNAPSHOT
-> [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/DependencyResolutionException
--------
--------

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