Two POM profiles to build OPAL plug-in for either deploy or stand-alone tool
<name>javacg-opal</name>
+ <profiles>
+ <!-- For server-compatible plug-ins -->
+ <profile>
+ <id>plugin</id>
+ <activation>
+ <activeByDefault>true</activeByDefault>
+ </activation>
<dependencies>
<dependency>
<groupId>eu.fasten</groupId>
<type>pom</type>
</dependency>
</dependencies>
+ </profile>
+ <!-- For stand-alone tool -->
+ <profile>
+ <id>main</id>
+ <dependencies>
+ <dependency>
+ <groupId>eu.fasten</groupId>
+ <artifactId>core</artifactId>
+ <version>0.0.1-SNAPSHOT</version>
+ </dependency>
+ <dependency>
+ <groupId>de.opal-project</groupId>
+ <artifactId>bytecode-representation_2.12</artifactId>
+ <version>3.0.0-SNAPSHOT</version>
+ </dependency>
+ <dependency>
+ <groupId>de.opal-project</groupId>
+ <artifactId>three-address-code_2.12</artifactId>
+ <version>3.0.0-SNAPSHOT</version>
+ </dependency>
+ <dependency>
+ <groupId>de.opal-project</groupId>
+ <artifactId>abstract-interpretation-framework_2.12</artifactId>
+ <version>3.0.0-SNAPSHOT</version>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.shrinkwrap.resolver</groupId>
+ <artifactId>shrinkwrap-resolver-depchain</artifactId>
+ <version>3.1.4</version>
+ <type>pom</type>
+ </dependency>
+ <dependency>
+ <groupId>info.picocli</groupId>
+ <artifactId>picocli</artifactId>
+ <version>4.0.4</version>
+ </dependency>
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-simple</artifactId>
+ <version>1.7.30</version>
+ </dependency>
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-api</artifactId>
+ <version>1.7.30</version>
+ </dependency>
+ </dependencies>
+ </profile>
+ </profiles>
<repositories>
<repository>
<keepDependenciesWithProvidedScope>false</keepDependenciesWithProvidedScope>
<artifactSet>
<excludes>
- <exclude>org.slf4j:slf4j-simple:*</exclude>
- <exclude>org.slf4j:slf4j-api:*</exclude>
+<!-- <exclude>org.slf4j:slf4j-simple:*</exclude>-->
+<!-- <exclude>org.slf4j:slf4j-api:*</exclude>-->
</excludes>
</artifactSet>
<transformers>
