|
8 | 8 | <artifactId>SootWrapper</artifactId> |
9 | 9 | <version>5.1</version> |
10 | 10 |
|
11 | | - <properties> |
12 | | - <maven.compiler.source>11</maven.compiler.source> |
13 | | - <maven.compiler.target>11</maven.compiler.target> |
14 | | - <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
15 | | - </properties> |
16 | 11 |
|
17 | 12 | <dependencies> |
18 | 13 | <dependency> |
|
85 | 80 | </plugins> |
86 | 81 | </build> |
87 | 82 |
|
| 83 | + <profiles> |
| 84 | + <!-- Profile for Java 11 --> |
| 85 | + <profile> |
| 86 | + <id>java11</id> |
| 87 | + <activation> |
| 88 | + <activeByDefault>false</activeByDefault> |
| 89 | + </activation> |
| 90 | + <properties> |
| 91 | + <maven.compiler.source>11</maven.compiler.source> |
| 92 | + <maven.compiler.target>11</maven.compiler.target> |
| 93 | + <finalName>SootWrapper-java11</finalName> |
| 94 | + </properties> |
| 95 | + <build> |
| 96 | + <plugins> |
| 97 | + <plugin> |
| 98 | + <groupId>org.apache.maven.plugins</groupId> |
| 99 | + <artifactId>maven-compiler-plugin</artifactId> |
| 100 | + <version>3.11.0</version> |
| 101 | + </plugin> |
| 102 | + </plugins> |
| 103 | + </build> |
| 104 | + </profile> |
| 105 | + |
| 106 | + <!-- Profile for Java 17 --> |
| 107 | + <profile> |
| 108 | + <id>java17</id> |
| 109 | + <activation> |
| 110 | + <activeByDefault>false</activeByDefault> |
| 111 | + </activation> |
| 112 | + <properties> |
| 113 | + <maven.compiler.source>17</maven.compiler.source> |
| 114 | + <maven.compiler.target>17</maven.compiler.target> |
| 115 | + <finalName>SootWrapper-java17</finalName> |
| 116 | + </properties> |
| 117 | + <build> |
| 118 | + <plugins> |
| 119 | + <plugin> |
| 120 | + <groupId>org.apache.maven.plugins</groupId> |
| 121 | + <artifactId>maven-compiler-plugin</artifactId> |
| 122 | + <version>3.11.0</version> |
| 123 | + </plugin> |
| 124 | + </plugins> |
| 125 | + </build> |
| 126 | + </profile> |
| 127 | + |
| 128 | + <!-- Profile for Java 21 --> |
| 129 | + <profile> |
| 130 | + <id>java21</id> |
| 131 | + <activation> |
| 132 | + <activeByDefault>false</activeByDefault> |
| 133 | + </activation> |
| 134 | + <properties> |
| 135 | + <maven.compiler.source>21</maven.compiler.source> |
| 136 | + <maven.compiler.target>21</maven.compiler.target> |
| 137 | + <finalName>SootWrapper-java21</finalName> |
| 138 | + </properties> |
| 139 | + <build> |
| 140 | + <plugins> |
| 141 | + <plugin> |
| 142 | + <groupId>org.apache.maven.plugins</groupId> |
| 143 | + <artifactId>maven-compiler-plugin</artifactId> |
| 144 | + <version>3.11.0</version> |
| 145 | + </plugin> |
| 146 | + </plugins> |
| 147 | + </build> |
| 148 | + </profile> |
| 149 | + </profiles> |
| 150 | + |
| 151 | + |
88 | 152 | </project> |
0 commit comments