You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@netbeans.apache.org by Richard Grin <Ri...@univ-cotedazur.fr> on 2019/07/18 10:20:38 UTC

Error message during creation of an Entreprise Application with Maven

Hi,

I have just tested NetBeans 11.1 beta 4.

Payara 5.192 installed.

In the properties of the project :

  *   Source/Binary Format: 1.8.
  *   Build > Compile JDK 10 (Default).

Creation of a Java EE 8 Entreprise Application. The attached window is displayed and I click on "Finish".

An error is displayed in the logs (tab "Ouput - Priming tpCustomerApplication-ear":

====

Building tpCustomerApplication-ear-1.0-SNAPSHOT 1.0-SNAPSHOT
------------------------------------------------------------------------
The POM for fr.grin:tpCustomerApplication-ejb:jar:1.0-SNAPSHOT is missing, no dependency information available
The POM for fr.grin:tpCustomerApplication-web:war:1.0-SNAPSHOT is missing, no dependency information available
------------------------------------------------------------------------
BUILD FAILURE
------------------------------------------------------------------------
Total time: 0.331 s
Finished at: 2019-07-18T12:04:02+02:00
Final Memory: 7M/37M
------------------------------------------------------------------------
Failed to execute goal on project tpCustomerApplication-ear: Could not resolve dependencies for project fr.grin:tpCustomerApplication-ear:war:1.0-SNAPSHOT: The following artifacts could not be resolved: fr.grin:tpCustomerApplication-ejb:jar:1.0-SNAPSHOT, fr.grin:tpCustomerApplication-web:war:1.0-SNAPSHOT: Could not find artifact fr.grin:tpCustomerApplication-ejb: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

=====

I have modified nothing; all was generated by NetBeans.

I am not used to Maven. Did I missed something or is it a bug?

Richard Grin

Re: Error message during creation of an Entreprise Application with Maven

Posted by Geertjan Wielenga <ge...@apache.org>.
Added it to the umbrella clean up issue as a sub task:
https://issues.apache.org/jira/browse/NETBEANS-2716

Gj

On Thu, Jul 18, 2019 at 4:01 PM Josh Juneau <ju...@gmail.com> wrote:

> Thanks Richard and Geertjan.  It probably makes sense to remove this
> functionality since this application style is not very relevant nowadays.
> With respect to the error, it looks like the Maven archetype for that
> particular project type must be missing from Maven central.
>
> Josh Juneau
> http://jj-blogger.blogspot.com
> https://www.apress.com/index.php/author/author/view/id/1866
>
>
> On Jul 18, 2019, at 6:36 AM, Geertjan Wielenga <ge...@apache.org>
> wrote:
>
> Yes, that goes without saying. An issue is needed and then we can take a
> look, probably we need to examine whether Enterprise Applications still
> make sense in the Java/Jakarta EE space.
>
> Gj
>
> On Thu, Jul 18, 2019 at 1:33 PM Richard Grin <
> Richard.GRIN@univ-cotedazur.fr> wrote:
>
>> Yes Geertjan, perhaps, but, if it is a bug, it would be better to try to
>> repair it, or to remove the functionality if it is no longer useful.
>>
>> Richard
>>
>>
>>
>> Envoyé depuis mon smartphone Samsung Galaxy.
>>
>>
>> -------- Message d'origine --------
>> De : Geertjan Wielenga <ge...@apache.org>
>> Date : 18/07/2019 13:05 (GMT+01:00)
>> À : Richard Grin <Ri...@univ-cotedazur.fr>
>> Cc : NetBeans Mailing List <us...@netbeans.apache.org>
>> Objet : Re: Error message during creation of an Entreprise Application
>> with Maven
>>
>> Probably better to create standard Web Applications in Maven nowadays,
>> rather than Enterprise Applications.
>>
>> Gj
>>
>> On Thu, Jul 18, 2019 at 12:20 PM Richard Grin <
>> Richard.GRIN@univ-cotedazur.fr> wrote:
>>
>>> Hi,
>>>
>>> I have just tested NetBeans 11.1 beta 4.
>>>
>>> Payara 5.192 installed.
>>>
>>> In the properties of the project :
>>>
>>>    - Source/Binary Format: 1.8.
>>>    - Build > Compile JDK 10 (Default).
>>>
>>> Creation of a Java EE 8 Entreprise Application. The attached window is
>>> displayed and I click on "Finish".
>>>
>>> An error is displayed in the logs (tab "Ouput - Priming
>>> tpCustomerApplication-ear":
>>>
>>> ====
>>>
>>> Building tpCustomerApplication-ear-1.0-SNAPSHOT 1.0-SNAPSHOT
>>> ------------------------------------------------------------------------
>>> The POM for fr.grin:tpCustomerApplication-ejb:jar:1.0-SNAPSHOT is
>>> missing, no dependency information available
>>> The POM for fr.grin:tpCustomerApplication-web:war:1.0-SNAPSHOT is
>>> missing, no dependency information available
>>> ------------------------------------------------------------------------
>>> BUILD FAILURE
>>> ------------------------------------------------------------------------
>>> Total time: 0.331 s
>>> Finished at: 2019-07-18T12:04:02+02:00
>>> Final Memory: 7M/37M
>>> ------------------------------------------------------------------------
>>> Failed to execute goal on project tpCustomerApplication-ear: Could not
>>> resolve dependencies for project
>>> fr.grin:tpCustomerApplication-ear:war:1.0-SNAPSHOT: The following artifacts
>>> could not be resolved: fr.grin:tpCustomerApplication-ejb:jar:1.0-SNAPSHOT,
>>> fr.grin:tpCustomerApplication-web:war:1.0-SNAPSHOT: Could not find artifact
>>> fr.grin:tpCustomerApplication-ejb: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
>>>
>>> =====
>>>
>>> I have modified nothing; all was generated by NetBeans.
>>>
>>> I am not used to Maven. Did I missed something or is it a bug?
>>>
>>> Richard Grin
>>>
>>>
>>> ---------------------------------------------------------------------
>>> 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: Error message during creation of an Entreprise Application with Maven

Posted by Josh Juneau <ju...@gmail.com>.
Thanks Richard and Geertjan.  It probably makes sense to remove this functionality since this application style is not very relevant nowadays.  With respect to the error, it looks like the Maven archetype for that particular project type must be missing from Maven central.  

Josh Juneau
http://jj-blogger.blogspot.com
https://www.apress.com/index.php/author/author/view/id/1866


> On Jul 18, 2019, at 6:36 AM, Geertjan Wielenga <ge...@apache.org> wrote:
> 
> Yes, that goes without saying. An issue is needed and then we can take a look, probably we need to examine whether Enterprise Applications still make sense in the Java/Jakarta EE space.
> 
> Gj
> 
>> On Thu, Jul 18, 2019 at 1:33 PM Richard Grin <Ri...@univ-cotedazur.fr> wrote:
>> Yes Geertjan, perhaps, but, if it is a bug, it would be better to try to repair it, or to remove the functionality if it is no longer useful.
>> 
>> Richard 
>> 
>> 
>> 
>> Envoyé depuis mon smartphone Samsung Galaxy.
>> 
>> 
>> -------- Message d'origine --------
>> De : Geertjan Wielenga <ge...@apache.org>
>> Date : 18/07/2019 13:05 (GMT+01:00)
>> À : Richard Grin <Ri...@univ-cotedazur.fr>
>> Cc : NetBeans Mailing List <us...@netbeans.apache.org>
>> Objet : Re: Error message during creation of an Entreprise Application with Maven
>> 
>> Probably better to create standard Web Applications in Maven nowadays, rather than Enterprise Applications.
>> 
>> Gj
>> 
>>> On Thu, Jul 18, 2019 at 12:20 PM Richard Grin <Ri...@univ-cotedazur.fr> wrote:
>>> Hi,
>>> 
>>> I have just tested NetBeans 11.1 beta 4.
>>> 
>>> Payara 5.192 installed.
>>> 
>>> In the properties of the project :
>>> 
>>> Source/Binary Format: 1.8. 
>>> Build > Compile JDK 10 (Default).
>>> Creation of a Java EE 8 Entreprise Application. The attached window is displayed and I click on "Finish". 
>>> 
>>> An error is displayed in the logs (tab "Ouput - Priming tpCustomerApplication-ear":
>>> 
>>> ====
>>> 
>>> Building tpCustomerApplication-ear-1.0-SNAPSHOT 1.0-SNAPSHOT
>>> ------------------------------------------------------------------------
>>> The POM for fr.grin:tpCustomerApplication-ejb:jar:1.0-SNAPSHOT is missing, no dependency information available
>>> The POM for fr.grin:tpCustomerApplication-web:war:1.0-SNAPSHOT is missing, no dependency information available
>>> ------------------------------------------------------------------------
>>> BUILD FAILURE
>>> ------------------------------------------------------------------------
>>> Total time: 0.331 s
>>> Finished at: 2019-07-18T12:04:02+02:00
>>> Final Memory: 7M/37M
>>> ------------------------------------------------------------------------
>>> Failed to execute goal on project tpCustomerApplication-ear: Could not resolve dependencies for project fr.grin:tpCustomerApplication-ear:war:1.0-SNAPSHOT: The following artifacts could not be resolved: fr.grin:tpCustomerApplication-ejb:jar:1.0-SNAPSHOT, fr.grin:tpCustomerApplication-web:war:1.0-SNAPSHOT: Could not find artifact fr.grin:tpCustomerApplication-ejb: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
>>> 
>>> =====
>>> 
>>> I have modified nothing; all was generated by NetBeans.
>>> 
>>> I am not used to Maven. Did I missed something or is it a bug?
>>> 
>>> Richard Grin
>>> 
>>> ---------------------------------------------------------------------
>>> 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: Error message during creation of an Entreprise Application with Maven

Posted by Geertjan Wielenga <ge...@apache.org>.
Yes, that goes without saying. An issue is needed and then we can take a
look, probably we need to examine whether Enterprise Applications still
make sense in the Java/Jakarta EE space.

Gj

On Thu, Jul 18, 2019 at 1:33 PM Richard Grin <Ri...@univ-cotedazur.fr>
wrote:

> Yes Geertjan, perhaps, but, if it is a bug, it would be better to try to
> repair it, or to remove the functionality if it is no longer useful.
>
> Richard
>
>
>
> Envoyé depuis mon smartphone Samsung Galaxy.
>
>
> -------- Message d'origine --------
> De : Geertjan Wielenga <ge...@apache.org>
> Date : 18/07/2019 13:05 (GMT+01:00)
> À : Richard Grin <Ri...@univ-cotedazur.fr>
> Cc : NetBeans Mailing List <us...@netbeans.apache.org>
> Objet : Re: Error message during creation of an Entreprise Application
> with Maven
>
> Probably better to create standard Web Applications in Maven nowadays,
> rather than Enterprise Applications.
>
> Gj
>
> On Thu, Jul 18, 2019 at 12:20 PM Richard Grin <
> Richard.GRIN@univ-cotedazur.fr> wrote:
>
>> Hi,
>>
>> I have just tested NetBeans 11.1 beta 4.
>>
>> Payara 5.192 installed.
>>
>> In the properties of the project :
>>
>>    - Source/Binary Format: 1.8.
>>    - Build > Compile JDK 10 (Default).
>>
>> Creation of a Java EE 8 Entreprise Application. The attached window is
>> displayed and I click on "Finish".
>>
>> An error is displayed in the logs (tab "Ouput - Priming
>> tpCustomerApplication-ear":
>>
>> ====
>>
>> Building tpCustomerApplication-ear-1.0-SNAPSHOT 1.0-SNAPSHOT
>> ------------------------------------------------------------------------
>> The POM for fr.grin:tpCustomerApplication-ejb:jar:1.0-SNAPSHOT is
>> missing, no dependency information available
>> The POM for fr.grin:tpCustomerApplication-web:war:1.0-SNAPSHOT is
>> missing, no dependency information available
>> ------------------------------------------------------------------------
>> BUILD FAILURE
>> ------------------------------------------------------------------------
>> Total time: 0.331 s
>> Finished at: 2019-07-18T12:04:02+02:00
>> Final Memory: 7M/37M
>> ------------------------------------------------------------------------
>> Failed to execute goal on project tpCustomerApplication-ear: Could not
>> resolve dependencies for project
>> fr.grin:tpCustomerApplication-ear:war:1.0-SNAPSHOT: The following artifacts
>> could not be resolved: fr.grin:tpCustomerApplication-ejb:jar:1.0-SNAPSHOT,
>> fr.grin:tpCustomerApplication-web:war:1.0-SNAPSHOT: Could not find artifact
>> fr.grin:tpCustomerApplication-ejb: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
>>
>> =====
>>
>> I have modified nothing; all was generated by NetBeans.
>>
>> I am not used to Maven. Did I missed something or is it a bug?
>>
>> Richard Grin
>>
>>
>> ---------------------------------------------------------------------
>> 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: Error message during creation of an Entreprise Application with Maven

Posted by Richard Grin <Ri...@univ-cotedazur.fr>.
Yes Geertjan, perhaps, but, if it is a bug, it would be better to try to repair it, or to remove the functionality if it is no longer useful.

Richard



Envoyé depuis mon smartphone Samsung Galaxy.


-------- Message d'origine --------
De : Geertjan Wielenga <ge...@apache.org>
Date : 18/07/2019 13:05 (GMT+01:00)
À : Richard Grin <Ri...@univ-cotedazur.fr>
Cc : NetBeans Mailing List <us...@netbeans.apache.org>
Objet : Re: Error message during creation of an Entreprise Application with Maven

Probably better to create standard Web Applications in Maven nowadays, rather than Enterprise Applications.

Gj

On Thu, Jul 18, 2019 at 12:20 PM Richard Grin <Ri...@univ-cotedazur.fr>> wrote:

Hi,

I have just tested NetBeans 11.1 beta 4.

Payara 5.192 installed.

In the properties of the project :

  *   Source/Binary Format: 1.8.
  *   Build > Compile JDK 10 (Default).

Creation of a Java EE 8 Entreprise Application. The attached window is displayed and I click on "Finish".

An error is displayed in the logs (tab "Ouput - Priming tpCustomerApplication-ear":

====

Building tpCustomerApplication-ear-1.0-SNAPSHOT 1.0-SNAPSHOT
------------------------------------------------------------------------
The POM for fr.grin:tpCustomerApplication-ejb:jar:1.0-SNAPSHOT is missing, no dependency information available
The POM for fr.grin:tpCustomerApplication-web:war:1.0-SNAPSHOT is missing, no dependency information available
------------------------------------------------------------------------
BUILD FAILURE
------------------------------------------------------------------------
Total time: 0.331 s
Finished at: 2019-07-18T12:04:02+02:00
Final Memory: 7M/37M
------------------------------------------------------------------------
Failed to execute goal on project tpCustomerApplication-ear: Could not resolve dependencies for project fr.grin:tpCustomerApplication-ear:war:1.0-SNAPSHOT: The following artifacts could not be resolved: fr.grin:tpCustomerApplication-ejb:jar:1.0-SNAPSHOT, fr.grin:tpCustomerApplication-web:war:1.0-SNAPSHOT: Could not find artifact fr.grin:tpCustomerApplication-ejb: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

=====

I have modified nothing; all was generated by NetBeans.

I am not used to Maven. Did I missed something or is it a bug?

Richard Grin

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org<ma...@netbeans.apache.org>
For additional commands, e-mail: users-help@netbeans.apache.org<ma...@netbeans.apache.org>

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

Re: Error message during creation of an Entreprise Application with Maven

Posted by Geertjan Wielenga <ge...@apache.org>.
Probably better to create standard Web Applications in Maven nowadays,
rather than Enterprise Applications.

Gj

On Thu, Jul 18, 2019 at 12:20 PM Richard Grin <
Richard.GRIN@univ-cotedazur.fr> wrote:

> Hi,
>
> I have just tested NetBeans 11.1 beta 4.
>
> Payara 5.192 installed.
>
> In the properties of the project :
>
>    - Source/Binary Format: 1.8.
>    - Build > Compile JDK 10 (Default).
>
> Creation of a Java EE 8 Entreprise Application. The attached window is
> displayed and I click on "Finish".
>
> An error is displayed in the logs (tab "Ouput - Priming
> tpCustomerApplication-ear":
>
> ====
>
> Building tpCustomerApplication-ear-1.0-SNAPSHOT 1.0-SNAPSHOT
> ------------------------------------------------------------------------
> The POM for fr.grin:tpCustomerApplication-ejb:jar:1.0-SNAPSHOT is missing,
> no dependency information available
> The POM for fr.grin:tpCustomerApplication-web:war:1.0-SNAPSHOT is missing,
> no dependency information available
> ------------------------------------------------------------------------
> BUILD FAILURE
> ------------------------------------------------------------------------
> Total time: 0.331 s
> Finished at: 2019-07-18T12:04:02+02:00
> Final Memory: 7M/37M
> ------------------------------------------------------------------------
> Failed to execute goal on project tpCustomerApplication-ear: Could not
> resolve dependencies for project
> fr.grin:tpCustomerApplication-ear:war:1.0-SNAPSHOT: The following artifacts
> could not be resolved: fr.grin:tpCustomerApplication-ejb:jar:1.0-SNAPSHOT,
> fr.grin:tpCustomerApplication-web:war:1.0-SNAPSHOT: Could not find artifact
> fr.grin:tpCustomerApplication-ejb: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
>
> =====
>
> I have modified nothing; all was generated by NetBeans.
>
> I am not used to Maven. Did I missed something or is it a bug?
>
> Richard Grin
>
>
> ---------------------------------------------------------------------
> 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