Maven unable to resolve Proguard 4.9 dependencies from local Nexus setup -
i have problem on maven dependencies when tries resolve dependencies not configured in project level, configured on plugin level. looks maven central , won't check in our internal repo.
below pom configuration. problem proguard version 4.2 in central if have configured proguard 4.9 , supposed fethcing 1 in our internal nexus:
<plugin> <groupid>com.pyx4me</groupid> <artifactid>proguard-maven-plugin</artifactid> <version>2.0.4</version> <executions> <execution> <phase>package</phase> <goals><goal>proguard</goal></goals> </execution> </executions> <configuration> <proguardversion>4.9</proguardversion> <obfuscate>true</obfuscate> <proguardinclude>conf/proguard_gsma-sms-validator.conf</proguardinclude> <includedependency>false</includedependency> </configuration> <dependencies> <dependency> <groupid>net.sf.proguard</groupid> <artifactid>proguard</artifactid> <version>4.9</version> </dependency> </dependencies> </plugin>
im not sure if maven problem or pyx4me problem or proguard. im guessing it's problem maven.
this can resolved if maven install:install-file proguard version 4.9. want maven settle dependencies fetching 1 our internal nexus.
please advise. thanks.
the plugin com.pyx4me:proguard-maven-plugin:2.0.4 depends on net.sf.proguard:proguard:4.3, initiated , maintained developers of pyx4me.
however, recent versions of proguard available net.sf.proguard:proguard-base:4.2+ , related modules, initiated marcel patzlaff , maintained myself.
you can find list of of them @ maven.org. note latest version numbers. proguard should still compatible, can try replacing dependency excluding former , adding latter.
Comments
Post a Comment