Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[4.3.0] AAR with dummy classes disappeared #692

Closed
crossmo opened this issue Oct 28, 2015 · 5 comments
Closed

[4.3.0] AAR with dummy classes disappeared #692

crossmo opened this issue Oct 28, 2015 · 5 comments

Comments

@crossmo
Copy link

crossmo commented Oct 28, 2015

Hi, I am trying to run Proguard on a project used an AAR dependency that are not well packaged. I can see a dummy classes.jar is created in the building process and shown in the input jar files for Proguard,

The strange thing was that the classes.jar did not exist there so that Proguard however complained that file was missing.

        <dependency>
            <groupId>io.pristine</groupId>
            <artifactId>libjingle</artifactId>
            <version>10111</version>
            <type>aar</type>
        </dependency>

I checked the source code ProguardMojo.java seems work well, maybe the dummy classes.jar is cleaned somewhere before calling Proguard.

@crossmo
Copy link
Author

crossmo commented Oct 28, 2015

I resolved this by running

  1. mvn eclipse:eclipse make the AAR unpackaged first
  2. Refresh the project in Eclipse and get files compiled
  3. mvn install without clean get things packaged without the missing classes.jar error

@william-ferguson-au
Copy link
Contributor

What's the question or issue?

@crossmo
Copy link
Author

crossmo commented Oct 30, 2015

mvn clean install got failed with the error: 'xxx.classes.jar' is missing

@william-ferguson-au
Copy link
Contributor

So what do you want us to do?
libjingle.aar is not a correctly package AAR

@crossmo
Copy link
Author

crossmo commented Oct 30, 2015

OK, this does not concern your work.

@crossmo crossmo closed this as completed Oct 30, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants