FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Package declaration for GetoptDemo does not match the file's location in the Jar · Issue #5 · arenn/java-getopt · GitHub

Package declaration for GetoptDemo does not match the file's location in the Jar #5

Description

I'm trying to create an OSGi bundle from my source code that uses this library. And it fails with this message

[ERROR] Bundle group:artifact:bundle:1.0.0.alpha01-SNAPSHOT : Class in different directory than declared. Path from class name is GetoptDemo.class but the path in the jar is gnu/getopt/GetoptDemo.class from 'Jar:java-getopt-1.0.9.jar'
[ERROR] Error(s) found in bundle configuration

It looks like this is caused by the GetoptDemo class not declaring a package that matches how the class is packaged in the JAR file

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions


      Back | FazBrowse Home | New Git URL