Skip to content

Commit

Permalink
#4 Update pom.xml
Browse files Browse the repository at this point in the history
  • Loading branch information
amosshi committed Apr 15, 2021
1 parent 22420a5 commit 5de5c15
Show file tree
Hide file tree
Showing 2 changed files with 75 additions and 1 deletion.
14 changes: 14 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,22 @@ export JAVA_HOME=/usr/lib/jvm/default-java
#export JAVA_HOME=/usr/lib64/jvm/java

mvn clean package install

mvn javadoc:aggregate
mvn javadoc:aggregate-jar

mvn source:aggregate
mvn source:jar

mvn checkstyle:checkstyle
mvn checkstyle:checkstyle-aggregate
mvn checkstyle:check
mvn pmd:pmd

mvn pdf:pdf

mvn jdeps:jdkinternals
mvn versions:display-dependency-updates

# mvn deploy:deploy
# mvn spotbugs:gui
62 changes: 61 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,38 @@
<version>1.0</version>
<packaging>pom</packaging>

<name>Free Internals</name>
<description>Free Tools to View Internals of Binary File </description>
<url>http://www.freeinternals.org</url>

<licenses>
<license>
<name>Apache License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
<distribution>repo</distribution>
<comments>A business-friendly OSS license</comments>
</license>
</licenses>

<organization>
<name>Free Internals</name>
<url>http://www.freeinternals.org</url>
</organization>

<developers>
<developer>
<id>as</id>
<name>Amos Shi</name>
<url>https://github.com/amosshi</url>
</developer>
</developers>

<scm>
<connection>scm:git:git://github.com/amosshi/freeinternals.git</connection>
<url>https://github.com/amosshi/freeinternals</url>
<tag>HEAD</tag>
</scm>

<properties>
<maven.compiler.release>11</maven.compiler.release>
<maven-jar-plugin.version>3.2.0</maven-jar-plugin.version>
Expand Down Expand Up @@ -99,7 +131,7 @@
</executions>
</plugin>

<!-- https://maven.apache.org/plugins/maven-javadoc-plugin/index.html -->
<!-- Javadoc and Source -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
Expand All @@ -118,6 +150,34 @@
</links>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.2.1</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>2.8.2</version>
<executions>
<execution>
<id>default-deploy</id>
<phase>deploy</phase>
<goals>
<goal>deploy</goal>
</goals>
</execution>
</executions>
</plugin>

</plugins>
</build>
Expand Down

0 comments on commit 5de5c15

Please sign in to comment.