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

Source Packages can't be used if owned by other Maven project

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 10.0
    • None
    • None

    Description

      When opening two different Maven projects that share the same source folder, the Source Packages node of one of the two projects in the Projects window can not be opened and displays the following caption:

      Source Packages is owned by project <X>, cannot be used here, see issue #138310 for details.
      

      Substitute the name of the other project for <X>.

       

      I can easily reproduce the problem by having the following declaration in the POMs of my Maven sub-modules:

      <build>
        <sourceDirectory>../src/main/java</sourceDirectory>
      </build>

       

      In the netbeans.org issue tracker, the mentioned issue and related issues seem to be fixed.

      Attachments

        Activity

          People

            Unassigned Unassigned
            Nibsi Stephan van Hulst
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: