Uploaded image for project: 'odlparent'
  1. odlparent
  2. ODLPARENT-165

Input file does not exist: /home/vorburger/dev/ODL/git/neutron/model/target-ide/classes/LICENSE. The default package '.' is not permitted by the Import-Package syntax.

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Medium
    • Resolution: Cannot Reproduce
    • None
    • 4.0.1
    • None
    • None

    Description

      While working on the odlparent 4.0.0 bump in NEUTRON-197 :

      $ mvn -Pide clean install
      
      (...)
      [INFO] --- maven-bundle-plugin:4.0.0:bundle (default-bundle) @ model ---
      [ERROR] Bundle org.opendaylight.neutron:model:bundle:0.12.0-SNAPSHOT : Input file does not exist: /home/vorburger/dev/ODL/git/neutron/model/target-ide/classes/LICENSE
      [ERROR] Bundle org.opendaylight.neutron:model:bundle:0.12.0-SNAPSHOT : The default package '.' is not permitted by the Import-Package syntax.
       This can be caused by compile errors in Eclipse because Eclipse creates
      valid class files regardless of compile errors.
      The following package(s) import from the default package [org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.constants.rev150712, org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.secgroups.rev150712, org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.types.rev160517, org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.fwaas.rev150712]
      [ERROR] Error(s) found in bundle configuration
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 24.440 s
      [INFO] Finished at: 2018-09-17T11:43:46+02:00
      [INFO] Final Memory: 61M/850M
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal org.apache.felix:maven-bundle-plugin:4.0.0:bundle (default-bundle) on project model: Error(s) found in bundle configuration -> [Help 1]
      

      It's specific to -Pide and does not happen without it.

      I'll see if I can figure out what's going on here - tomorrow, hopefully.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              vorburger Michael Vorburger
              vorburger Michael Vorburger
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: