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

Maven library excluded because of disabling apache-commons module

    XMLWordPrintableJSON

Details

    Description

      Our NB-platform based app does the following in the platform.properties file

       

      cluster.path=\ 
         ${nbplatform.active.dir}/extide:\    
         ${nbplatform.active.dir}/harness:\    
         ${nbplatform.active.dir}/ide:\ 
         ${nbplatform.active.dir}/java
      # ....
      disabled.modules=\
         org.apache.commons.lang,\
      # ....
      

       

      Whena I build a distribution, (ant build-zip), the file java/maven/lib/commons-lang-2.6.jar is excluded, because:

      • it is a OSGi bundle
      • it's Bundle-Symbolic-Name matches the excluded module's codename

      Despite the file is in a different directory, where NB modules shouldn't be placed, it's recognized as a module and excluded from the distribution.

      The bug causes maven embedder to fail during startup, since it can't link to **its libraries.

       

       

       

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              sdedic Svatopluk Dedic
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 40m
                  40m