Skip to content

thexman/id

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Info

This is common utilities for dealing with Strings, IOStreams, Files, Collections, Dates, Reflections.

Creating eclipse project

Create eclipse project

mvn -DdownloadSources=true eclipse:eclipse

Build eclipse project

mvn clean install

Release

  1. Change maven settings.xml and add account for OSSRH
  <servers>
    <server>
      <id>ossrh</id>
      <username>your-jira-id</username>
      <password>your-jira-pwd</password>
    </server>
  </servers>
</settings>

More information can be obtain from OSSRH guide and Maven configuration

  1. mvn clean install

  2. mvn release:prepare

  3. checkout the newly created tag

  4. mvn -Prelease clean javadoc:jar source:jar gpg:sign -Dgpg.passphrase=mysecret-password-for-gpg install org.sonatype.plugins:nexus-staging-maven-plugin:deploy

OR just execute

release.sh mysecret-password-for-gpg

Step 2 can be done manually: a) remove -SNAPSHOT from the version in pom.xml file b) commit the changes and create new tag with the version c) add -SNAPSHOT to pom.xml file and increase the version (e.g. 1.0.0 to 1.0.1-SNAPSHOT)

  1. Go to https://oss.sonatype.org/#stagingRepositories find the staging repository from the previous step and click release

About

Base classes for database entities

Resources

License

Stars

Watchers

Forks

Packages

No packages published