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
<lbruunhan...@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
> <lbruunhan...@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
> > <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