You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@netbeans.apache.org by Amitabh Choudhury <am...@gmail.com> on 2022/09/22 18:02:34 UTC

Netbeans Application project/Maven configuration issue

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.

Re: Netbeans Application project/Maven configuration issue

Posted by Amitabh Choudhury <am...@gmail.com>.
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 <lb...@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
> <am...@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-unsubscribe@netbeans.apache.org
> For additional commands, e-mail: users-help@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>

Re: Netbeans Application project/Maven configuration issue

Posted by Amitabh Choudhury <am...@gmail.com>.
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 <lb...@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
> <am...@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-unsubscribe@netbeans.apache.org
> For additional commands, e-mail: users-help@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>

Re: Netbeans Application project/Maven configuration issue

Posted by Lars Bruun-Hansen <lb...@gmail.com>.
PR which I believe will indirectly update the code generated by the
New Project  --> Java with Maven
--> NetBeans Application action:

https://github.com/apache/netbeans-mavenutils-archetype-nbm-archetype/pull/15

@Amitabh Choudhury:  I can see why this was confusing. Hopefully -
with the PRs - this will not hit other users.

/Lars

On Thu, Sep 22, 2022 at 10:35 PM Lars Bruun-Hansen
<lb...@gmail.com> wrote:
>
> Btw
> I see a slight bug in the Wizard for New Project --> Java with Maven
> --> NetBeans Application.
>
> It puts the following section into the parent POM:
>
>  <repositories>
>         <!--
>         Repository hosting NetBeans modules, especially APIs.
>         Versions are based on IDE releases, e.g.: RELEASE691
>         To create your own repository, use: nbm:populate-repository
>
>         If you use Apache NetBeans starting with Apache NetBeans 9.0
>         you can remove the netbeans repository section
>         -->
>         <repository>
>             <id>netbeans</id>
>             <name>NetBeans</name>
>             <url>http://bits.netbeans.org/nexus/content/groups/netbeans/</url>
>         </repository>
>     </repositories>
>
>
> Note the sentence starting with : "If you ...". Bottom line: You can
> delete the whole section. That is the correct solution your case
> because you are starting a new NetBeans Platform application, you are
> not fiddling with a legacy one from the era before NetBeans became an
> Apache project.
>
> I think the Wizard should be updated. It is no longer relevant to have
> this and will only confuse users.
> I'll do a PR.
>
> /Lars
>
>
> On Thu, Sep 22, 2022 at 10:20 PM Lars Bruun-Hansen
> <lb...@gmail.com> wrote:
> >
> > Created PR with request for doc update:
> > https://github.com/apache/netbeans-website/pull/613
> >
> > On Thu, Sep 22, 2022 at 10:07 PM Lars Bruun-Hansen
> > <lb...@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
> > > <am...@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-unsubscribe@netbeans.apache.org
For additional commands, e-mail: users-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


Re: Netbeans Application project/Maven configuration issue

Posted by Lars Bruun-Hansen <lb...@gmail.com>.
Btw
I see a slight bug in the Wizard for New Project --> Java with Maven
--> NetBeans Application.

It puts the following section into the parent POM:

 <repositories>
        <!--
        Repository hosting NetBeans modules, especially APIs.
        Versions are based on IDE releases, e.g.: RELEASE691
        To create your own repository, use: nbm:populate-repository

        If you use Apache NetBeans starting with Apache NetBeans 9.0
        you can remove the netbeans repository section
        -->
        <repository>
            <id>netbeans</id>
            <name>NetBeans</name>
            <url>http://bits.netbeans.org/nexus/content/groups/netbeans/</url>
        </repository>
    </repositories>


Note the sentence starting with : "If you ...". Bottom line: You can
delete the whole section. That is the correct solution your case
because you are starting a new NetBeans Platform application, you are
not fiddling with a legacy one from the era before NetBeans became an
Apache project.

I think the Wizard should be updated. It is no longer relevant to have
this and will only confuse users.
I'll do a PR.

/Lars


On Thu, Sep 22, 2022 at 10:20 PM Lars Bruun-Hansen
<lb...@gmail.com> wrote:
>
> Created PR with request for doc update:
> https://github.com/apache/netbeans-website/pull/613
>
> On Thu, Sep 22, 2022 at 10:07 PM Lars Bruun-Hansen
> <lb...@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
> > <am...@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-unsubscribe@netbeans.apache.org
For additional commands, e-mail: users-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


Re: Netbeans Application project/Maven configuration issue

Posted by Lars Bruun-Hansen <lb...@gmail.com>.
Created PR with request for doc update:
https://github.com/apache/netbeans-website/pull/613

On Thu, Sep 22, 2022 at 10:07 PM Lars Bruun-Hansen
<lb...@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
> <am...@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-unsubscribe@netbeans.apache.org
For additional commands, e-mail: users-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


Re: Netbeans Application project/Maven configuration issue

Posted by Amitabh Choudhury <am...@gmail.com>.
TQ for the info Lars.

Shall check.



On Fri, Sep 23, 2022 at 1:38 AM Lars Bruun-Hansen <lb...@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
> <am...@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-unsubscribe@netbeans.apache.org
> For additional commands, e-mail: users-help@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>

Re: Netbeans Application project/Maven configuration issue

Posted by Lars Bruun-Hansen <lb...@gmail.com>.
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
<am...@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-unsubscribe@netbeans.apache.org
For additional commands, e-mail: users-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists