Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-966

Maven project unloadedable when project parent reference uses ranged versions

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Abandoned
    • 8.2, 9.0
    • 9.0
    • None
    • None

    Description

      In Netbeans 8.2, When a maven project references its parent POM through versions e.g:

       

      <parent>
       <groupId>the.group.id</groupId>
       <artifactId>the-parent-id</artifactId>
       <version>[1.0.1,2.0.0-SNAPSHOT)</version>
      </parent>

       

      1. The project is displayed as unloadadable in the projects view. 
      2. Code completion not working
      3. Imports not recognized
      4. The "Resolve Project Problems" shows the following:Some problems were encountered while processing the POMs:
        [ERROR] 'dependencies.dependency.version' for org.springframework.ws:spring-ws-core:jar is missing. @ line 40, column 17
        [ERROR] 'dependencies.dependency.version' for org.springframework.ws:spring-ws-support:jar is missing. @ line 44, column 17
        [ERROR] 'dependencies.dependency.version' for org.springframework.ws:spring-ws-test:jar is missing. @ line 57, column 17
        [ERROR] 'dependencies.dependency.version' for junit:junit:jar is missing. @ line 62, column 17

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            zaahirlaher Zaahir Laher
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: