Skip to content

move2-it/job-library

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

job-library

The library includes a data model for job openings.

Use as a dependency

To use the library in your applications, you also need to define a section for the configuration of alternative repositories.

Example Maven pom.xml file

<project>
    <dependencies>
        <dependency>
            <groupId>it.move2</groupId>
            <artifactId>job-library</artifactId>
            <version>1.1-SNAPSHOT</version>
        </dependency>
    </dependencies>
    <repositories>
        <repository>
            <id>myMavenRepo.read</id>
            <url>https://mymavenrepo.com/repo/HacqEK82nwHrGEPNCxdt/</url>
        </repository>
    </repositories>
</project>

Release new version

Configure the environment

Before releasing a new version, you need to set a password for the remote repository. The password can be found under the name "myMavenRepo" in the "move2it" collection in the Bitwarden password manager.

Add the following section to the file ~/.m2/settings.xml

<settings>
    <servers>
        <server>
            <id>myMavenRepo.write</id>
            <username>myMavenRepo</username>
            <password>{...}</password>
        </server>
    </servers>
</settings>

Remember not to store the password in plain text in a file, but in an encrypted way. Check Maven Password Encryption for more information.

Release

Prepare the library for release, bump up the version in the pom.xml file and merge all changes to the main branch, then execute the command:

mvn clean install deploy

The new version of the library should now be available.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages