a repository that contains multiple JAR utility libraries
- storage: File I/O operations in local storage.
- time: Utilities for
java.timeAPI.
add dependency to pom.xml:
<dependencies>
<dependency>
<groupId>com.marykuo.demo</groupId>
<artifactId>storage</artifactId>
<version>1.0.0</version>
</dependency>
</dependencies>add distributionManagement to pom.xml
<distributionManagement>
<repository>
<id>github</id>
<name>GitHub marykuo Apache Maven Packages</name>
<url>https://maven.pkg.github.com/marykuo/java-utility-libraries</url>
</repository>
</distributionManagement>To deploy the JAR files, use Maven commands as described below.
mvn clean deploy
- To deploy all modules, run the command from the root directory of the project:
- Example:
C:\Users\marykuo\workspace\java-utility-libraries
- Example:
- To deploy a single module, run the command from the root directory of the module:
- Example:
C:\Users\marykuo\workspace\java-utility-libraries\storage
- Example:
To run all tests in the project, use the following command:
mvn clean test