|
6 | 6 | <parent> |
7 | 7 | <groupId>com.kohlschutter.jdk.compiler</groupId> |
8 | 8 | <artifactId>standalone</artifactId> |
9 | | - <version>1.1.2</version> |
| 9 | + <version>1.1.3</version> |
10 | 10 | <relativePath>../pom.xml</relativePath> |
11 | 11 | </parent> |
12 | 12 |
|
|
92 | 92 | </execution> |
93 | 93 | </executions> |
94 | 94 | </plugin> |
95 | | - |
96 | | - <plugin> |
97 | | - <artifactId>maven-shade-plugin</artifactId> |
98 | | - <executions> |
99 | | - <execution> |
100 | | - <id>jar-with-dependencies</id> |
101 | | - <phase>package</phase> |
102 | | - <goals> |
103 | | - <goal>shade</goal> |
104 | | - </goals> |
105 | | - <configuration> |
106 | | - <shadedArtifactAttached>true</shadedArtifactAttached> |
107 | | - <shadedClassifierName>jar-with-dependencies</shadedClassifierName> |
108 | | - <transformers> |
109 | | - <transformer |
110 | | - implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer"> |
111 | | - <mainClass> |
112 | | - standalone.com.sun.tools.javac.Main</mainClass> |
113 | | - </transformer> |
114 | | - <transformer |
115 | | - implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer" /> |
116 | | - </transformers> |
117 | | - <minimizeJar>false</minimizeJar> |
118 | | - <filters> |
119 | | - <filter> |
120 | | - <artifact>*:*</artifact> |
121 | | - <excludes> |
122 | | - <exclude>/logging.properties</exclude> |
123 | | - <exclude>META-INF/LICENSE</exclude> |
124 | | - <exclude>META-INF/*.md</exclude> |
125 | | - <exclude>META-INF/*.MF</exclude> |
126 | | - <exclude>META-INF/*.SF</exclude> |
127 | | - <exclude>META-INF/*.DSA</exclude> |
128 | | - <exclude>META-INF/*.RSA</exclude> |
129 | | - <exclude>META-INF/*.kotlin_module</exclude> |
130 | | - </excludes> |
131 | | - </filter> |
132 | | - </filters> |
133 | | - </configuration> |
134 | | - </execution> |
135 | | - </executions> |
136 | | - </plugin> |
137 | 95 | </plugins> |
138 | 96 | </build> |
139 | 97 |
|
|
174 | 132 | </plugins> |
175 | 133 | </build> |
176 | 134 | </profile> |
| 135 | + <profile> |
| 136 | + <id>jar-with-dependencies</id> |
| 137 | + <activation> |
| 138 | + <property> |
| 139 | + <name>jar-with-dependencies</name> |
| 140 | + </property> |
| 141 | + </activation> |
| 142 | + <build> |
| 143 | + <plugins> |
| 144 | + <plugin> |
| 145 | + <artifactId>maven-shade-plugin</artifactId> |
| 146 | + <executions> |
| 147 | + <execution> |
| 148 | + <id>jar-with-dependencies</id> |
| 149 | + <phase>package</phase> |
| 150 | + <goals> |
| 151 | + <goal>shade</goal> |
| 152 | + </goals> |
| 153 | + <configuration> |
| 154 | + <createDependencyReducedPom>false</createDependencyReducedPom> |
| 155 | + <shadedArtifactAttached>true</shadedArtifactAttached> |
| 156 | + <shadedClassifierName>jar-with-dependencies</shadedClassifierName> |
| 157 | + <transformers> |
| 158 | + <transformer |
| 159 | + implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer"> |
| 160 | + <mainClass> |
| 161 | + standalone.com.sun.tools.javac.Main</mainClass> |
| 162 | + </transformer> |
| 163 | + <transformer |
| 164 | + implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer" /> |
| 165 | + </transformers> |
| 166 | + <minimizeJar>false</minimizeJar> |
| 167 | + <filters> |
| 168 | + <filter> |
| 169 | + <artifact>*:*</artifact> |
| 170 | + <excludes> |
| 171 | + <exclude>/logging.properties</exclude> |
| 172 | + <exclude>META-INF/LICENSE</exclude> |
| 173 | + <exclude>META-INF/*.md</exclude> |
| 174 | + <exclude>META-INF/*.MF</exclude> |
| 175 | + <exclude>META-INF/*.SF</exclude> |
| 176 | + <exclude>META-INF/*.DSA</exclude> |
| 177 | + <exclude>META-INF/*.RSA</exclude> |
| 178 | + <exclude> |
| 179 | + META-INF/*.kotlin_module</exclude> |
| 180 | + </excludes> |
| 181 | + </filter> |
| 182 | + </filters> |
| 183 | + </configuration> |
| 184 | + </execution> |
| 185 | + </executions> |
| 186 | + </plugin> |
| 187 | + </plugins> |
| 188 | + </build> |
| 189 | + </profile> |
177 | 190 | </profiles> |
178 | 191 |
|
179 | 192 | <dependencies> |
|
0 commit comments