Repository navigation
3.0.1
code-analysis 3.0.1
The artifact is published on Maven Central as com.labs64.commons:code-analysis:3.0.1.
What changed
- The
com.labs64.commons:code-analysisartifact now also contains the Labs64 code formatting files.
Full Changelog: 2.0.1...3.0.1
The jar contains two directories:
labs64-code-analysis/:checkstyle.xml,pmd.xml,spotbugs.xmllabs64-code-formatting/:labs64_eclipse_formatter.xml,labs64_eclipse_templates.xml,labs64.importorder
Option 1: unpack from the command line (no POM needed)
Unpacks every file in the jar into ./code-analysis:
mvn org.apache.maven.plugins:maven-dependency-plugin:3.11.0:unpack \
-Dartifact=com.labs64.commons:code-analysis:3.0.1 \
-DoutputDirectory=code-analysis
Option 2: unpack as part of the build (POM)
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<id>unpack-code-analysis</id>
<phase>verify</phase>
<goals>
<goal>unpack</goal>
</goals>
<configuration>
<artifactItems>
<artifactItem>
<groupId>com.labs64.commons</groupId>
<artifactId>code-analysis</artifactId>
<version>3.0.1</version>
<outputDirectory>${project.build.directory}/code-analysis</outputDirectory>
</artifactItem>
</artifactItems>
</configuration>
</execution>
</executions>
</plugin>
The files are then available at ${project.build.directory}/code-analysis/labs64-code-formatting/ and ${project.build.directory}/code-analysis/labs64-code-analysis/.