How to configure Maven Pro-guard plugin to Obfuscate code for a Java 8 SE application in Netbeans

I am trying to configure pro-guard to skip obfuscation on the dependencies and only obfuscate my projects code residing in the org.symbology.**** packages. Below is my pom configuration: <?xml version=”1.0″ encoding=”UTF-8″?> <project xmlns=”http://maven.apache.org/POM/4.0.0″ xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xsi:schemaLocation=”http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd”> <modelVersion>4.0.0</modelVersion> <groupId>com.howtodoinjava.demo</groupId> <artifactId>MavenShadeExample</artifactId> <version>0.0.1-SNAPSHOT</version> <packaging>jar</packaging> <name>MavenShadeExample</name> <url>http://maven.apache.org</url> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <maven.compiler.source>1.8</maven.compiler.source> <maven.compiler.target>1.8</maven.compiler.target> </properties> <dependencies> <dependency> <groupId>log4j</groupId> <artifactId>log4j</artifactId> <version>1.2.17</version> </dependency> <dependency>…

Android dependency ‘android.arch.lifecycle:runtime’ has different version for the compile and runtime

When I started to use the cloud_firestore (^0.12.10) plugin, the following started to show up during the building: Android dependency ‘android.arch.lifecycle:runtime’ has different version for the compile (1.0.0) and runtime (1.1.1) classpath. You should manually set the same version via DependencyResolution I’ve tried to apply the code from this answer. But that did not work…