title | version | description | createdAt | author | tag | |||||
---|---|---|---|---|---|---|---|---|---|---|
Java Project Build script |
5.1 |
bring a very simple tool to compile java project to a jar file with JAR dependencies, execute unit test and check quality code. |
2023-10-23 |
|
java, build, unit-test, javadoc, doc, wrapjar, zip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.java.simple.app; | |
import java.io.IOException; | |
import java.util.*; | |
import java.util.concurrent.ConcurrentHashMap; | |
import java.util.function.Function; | |
/** | |
* Main class for project JavaSimpleAppTemplate | |
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* {@link Configuration} loads a properties file and | |
* let user gather converted value to | |
* <ul> | |
* <li>Integer,</li> | |
* <li>Double,</li> | |
* <li>Boolean,</li> | |
* <li>String.</li> | |
* <li>{@link Dimension} </li> | |
* <li>{@link Rectangle2D}</li> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Bounding Box for any object managed by the system. | |
* | |
* @author Frédéric Delorme | |
*/ | |
public class BoundingBox { | |
/** | |
* position for the boundingbox. | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.List; | |
import java.util.Objects; | |
/** | |
* {@link Vector2d} class is to define, manage and operate 2D Vector. | |
* <p> | |
* eg.usage : | |
* | |
* <pre> | |
* // create a vector |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
alias l='ls --color=yes' | |
alias ll='l -l' | |
alias mci='mvn clean install' | |
alias mcin='mci -DskipTests=true' | |
alias mpp='mvn release:prepare' | |
alias mpperf='mvn release:perform' | |
alias idea='idea64.exe %1 &' | |
alias ltree="ls -R | grep ":$" | sed -e 's/:$//' -e 's/[^-][^\/]*\//--/g' -e 's/^/ /' -e 's/-/|/'" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>core</groupId> | |
<artifactId>usecasetdd</artifactId> | |
<version>0.0.2-SNAPSHOT</version> | |
<name>UseCaseTDD</name> | |
<description>A demonstration project on how to create sustainable project.</description> | |
<inceptionYear>2022</inceptionYear> | |
<properties> |
NewerOlder