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

proguardVersion is ignored #235

Open
Bartimmermans opened this issue Aug 16, 2022 · 1 comment
Open

proguardVersion is ignored #235

Bartimmermans opened this issue Aug 16, 2022 · 1 comment

Comments

@Bartimmermans
Copy link
Contributor

I've upgraded my project from using proguard-maven-plugin 2.5.1 to 2.6.0 and left all of my configuration unchanged. One of my configuration options is 6.2.2. While previously, this actually made the plugin use Proguard 6.2.2, in the new plugin version, Proguard 7.2.2 is used, disregarding the proguardVersion configuration.

[INFO] --- proguard-maven-plugin:2.6.0:proguard (default) @ module ---
[INFO] Downloading from artifactory: .../com/guardsquare/proguard-base/7.2.2/proguard-base-7.2.2.pom
[INFO] Downloaded from artifactory: .../com/guardsquare/proguard-base/7.2.2/proguard-base-7.2.2.pom (2.9 kB at 40 kB/s)
[INFO] Downloading from artifactory: .../com/guardsquare/proguard-core/9.0.1/proguard-core-9.0.1.pom
[INFO] Downloaded from artifactory: .../com/guardsquare/proguard-core/9.0.1/proguard-core-9.0.1.pom (2.9 kB at 88 kB/s)
[INFO] Downloading ...
[INFO] --- ADD injars:...
[INFO] --- ADD ...
[INFO] execute ProGuard [-injars, '...']
[INFO] proguard jar: [/home/svc-gsp-svc-jenkins/.m2/repository/net/sf/proguard/proguard-base/6.2.2/proguard-base-6.2.2.jar]
[proguard] ProGuard, version 7.2.2
[proguard] Warning: com.luciad.gui.javafx.TLcdFXIcon: can't find superclass or interface javafx.scene.Group
[proguard] Warning ...

@Bartimmermans
Copy link
Contributor Author

This is my plugin configuration

<plugin>
<groupId>com.github.wvengen</groupId>
<artifactId>proguard-maven-plugin</artifactId>
<version>2.6.0</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>proguard</goal>
</goals>
</execution>
</executions>
<configuration>
<proguardVersion>6.2.2</proguardVersion>
...
</configuration>
<dependencies>
<dependency>
<groupId>net.sf.proguard</groupId>
<artifactId>proguard-base</artifactId>
<version>6.2.2</version>
<scope>runtime</scope>
</dependency>
</dependencies>
</plugin>

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

1 participant