This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 229920 - Cannot build Maven EAR EE 7 project
Summary: Cannot build Maven EAR EE 7 project
Status: VERIFIED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Maven (show other bugs)
Version: 7.3.1
Hardware: PC Windows 7
: P1 normal (vote)
Assignee: Martin Janicek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-17 14:05 UTC by Jiri Skrivanek
Modified: 2013-05-20 14:17 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Archetype update (1.36 KB, patch)
2013-05-20 12:13 UTC, Martin Janicek
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Skrivanek 2013-05-17 14:05:10 UTC
It is not possible to build Maven EAR project (GlassFish 4, Java EE 7):

Failed to execute goal org.apache.maven.plugins:maven-ear-plugin:2.8:generate-application-xml (default-generate-application-xml) on project mavenproject7-ear: Invalid version [7] -> [Help 1]

Product Version: NetBeans IDE 7.3.1 RC (Build 201305162200)
Java: 1.7.0_21; Java HotSpot(TM) 64-Bit Server VM 23.21-b01
Runtime: Java(TM) SE Runtime Environment 1.7.0_21-b11
System: Windows 7 version 6.1 running on amd64; Cp1250; en_US (nb)
Comment 1 Martin Janicek 2013-05-20 08:42:33 UTC
Version needs to be changed to the latest released value which is 6.
Comment 2 Martin Janicek 2013-05-20 12:13:03 UTC
Created attachment 134641 [details]
Archetype update

The fix for this issue is simple (attached), but needs to be updated in nexus repository (where I don't have sufficient privileges) and since MilosK won't be available this week I need to wait if Jesse help me to do this.
Comment 3 Martin Janicek 2013-05-20 13:45:24 UTC
Thanks to the Jesse, latest 0.4-SNAPSHOT archetype were updated and build should work correctly now (there is no need to do any changes in NetBeans repository --> Closing as FIXED)