Skip to content

spt-oss/spt-java-commons

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SPT Java Commons

circleci maven central javadoc

  • Custom libraries for Java projects

Usage

Use Java classes

  • Add a dependency in your POM.

     <dependency>
     	<groupId>com.github.spt-oss</groupId>
     	<artifactId>spt-java-commons</artifactId>
     	<version>X.X.X</version>
     </dependency>

Enable settings for Eclipse

  • Checkout the repository and import settings into your Eclipse.

     src/main/resources/
         spt/
             settings/
                 checkstyle/
                     checkstyle.xml # For Checkstyle
                 eclipse/
                     platform/      # For Eclipse platform
                     project/       # For Eclipse projects

Enable Checkstyle for Maven

  • Add a dependency in your POM.

     <plugin>
     	<groupId>org.apache.maven.plugins</groupId>
     	<artifactId>maven-checkstyle-plugin</artifactId>
     	<configuration>
     		<configLocation>spt/settings/checkstyle/checkstyle.xml</configLocation>
     	</configuration>
     	<dependencies>
     		<dependency>
     			<groupId>com.puppycrawl.tools</groupId>
     			<artifactId>checkstyle</artifactId>
     			<version>X.X.X</version>
     		</dependency>
     		<dependency>
     			<groupId>com.github.spt-oss</groupId>
     			<artifactId>spt-java-commons</artifactId>
     			<version>X.X.X</version>
     		</dependency>
     	</dependencies>
     </plugin>

License

  • This software is released under the Apache License 2.0.