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 242377 - Malformed dependencies when adding frameworks from Project Properties window
Summary: Malformed dependencies when adding frameworks from Project Properties window
Status: RESOLVED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Maven (show other bugs)
Version: 8.0
Hardware: PC Mac OS X
: P3 normal (vote)
Assignee: Petr Hejl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-26 17:27 UTC by Kenneth Ganfield
Modified: 2015-09-12 03:06 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kenneth Ganfield 2014-02-26 17:27:17 UTC
In a Maven Web App, the dependencies that are added to the POM when using the Frameworks pane in the Project Properties window to add a framework (eg Spring) are incorrect/malformed.

Dependencies that are added directly from the Maven Repositories node in the Services window (right-click > Add as Dependency) add the dependency to the POM correctly.

Some examples of dependencies that are added to the POM:
       <dependency>
            <groupId>unknown.binary</groupId>
            <artifactId>spring-websocket-4.0.1.RELEASE</artifactId>
            <version>SNAPSHOT</version>
        </dependency>

        <dependency>
            <groupId>unknown.binary</groupId>
            <artifactId>hibernate-jpa-2.0-api-1.0.1.Final</artifactId>
            <version>SNAPSHOT</version>
        </dependency>
Comment 1 Petr Hejl 2015-09-09 15:26:05 UTC
This seems to be problem with hibernate and spring. Struts and JSF deps are ok.
Comment 2 Petr Hejl 2015-09-11 11:05:34 UTC
Fixed in web-main 69e8db6579b2 & 45d3a58b22e4.
Comment 3 Quality Engineering 2015-09-12 03:06:40 UTC
Integrated into 'main-silver', will be available in build *201509120002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/69e8db6579b2
User: Petr Hejl <phejl@netbeans.org>
Log: #242377 - Malformed dependencies when adding frameworks from Project Properties window