Skip to content

STDevLib/java-mvn-jpautils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

java-mvn-jpautils

Utility classes for JPA projects. The library is built with Java 20 and can be published as a package in GitHub so it can be consumed from other Maven projects.

Publishing to GitHub Packages

The pom.xml already contains a distributionManagement section pointing to GitHub Packages. To publish you need a personal access token with the write:packages scope and configure it in your Maven settings.xml:

<servers>
  <server>
    <id>github</id>
    <username>YOUR_GITHUB_USERNAME</username>
    <password>YOUR_GITHUB_TOKEN</password>
  </server>
</servers>

Deploy the package with:

mvn deploy

Using the package

Other projects can consume the package by defining the GitHub Packages repository and adding the dependency:

<repositories>
  <repository>
    <id>github</id>
    <url>https://maven.pkg.github.com/STDevLib/java-mvn-jpautils</url>
  </repository>
</repositories>

<dependency>
  <groupId>com.froyo</groupId>
  <artifactId>java-mvn-jpautils</artifactId>
  <version>1.0-SNAPSHOT</version>
</dependency>

About

Funciones básicas y de utilidad en JPA

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages