You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Stephan van Hulst (JIRA)" <ji...@apache.org> on 2019/02/19 16:06:00 UTC

[jira] [Created] (NETBEANS-2143) Source Packages can't be used if owned by other Maven project

Stephan van Hulst created NETBEANS-2143:
-------------------------------------------

             Summary: Source Packages can't be used if owned by other Maven project
                 Key: NETBEANS-2143
                 URL: https://issues.apache.org/jira/browse/NETBEANS-2143
             Project: NetBeans
          Issue Type: Bug
          Components: projects - Generic Projects UI
    Affects Versions: 10.0
         Environment: Product Version: Apache NetBeans IDE 10.0 (Build incubator-netbeans-release-380-on-20181217)
Updates: Updates available to version NetBeans 8.2 Patch 2
Java: 11.0.2; OpenJDK 64-Bit Server VM 11.0.2+9
Runtime: OpenJDK Runtime Environment 11.0.2+9
System: Windows 8.1 version 6.3 running on amd64; Cp1252; en_US (nb)
Build Tool: Maven 3.6.0
            Reporter: Stephan van Hulst


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:
{noformat}
Source Packages is owned by project <X>, cannot be used here, see issue #138310 for details.
{noformat}
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:
{code:xml}
<build>
  <sourceDirectory>../src/main/java</sourceDirectory>
</build>{code}
 

In the netbeans.org issue tracker, the [mentioned issue|https://netbeans.org/bugzilla/show_bug.cgi?id=138310] and [related issues|https://netbeans.org/bugzilla/show_bug.cgi?id=256175] seem to be fixed.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

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