a Java Common library
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
.gitignore
LICENSE
README.md
pom.xml

README.md

jorigin-common

Jaba based common tools and API

Jorigin Common

Buid and deploy

Edit the maven settings file (by default located at ~/.m2/settings.xml) and add following entries:

<settings>
  <servers>
    <server>
      <id>ossrh</id>
      <username>${nexus.user}</username>
      <password>${nexus.password}</password>
    </server>
  </servers>
  
  <profiles>
    <profile>
      <id>ossrh</id>
      <activation>
        <activeByDefault>true</activeByDefault>
      </activation>
    </profile>
  </profiles>
</settings>

Make then the following actions.

1. Clean the project:

mvn clean

2. Prepare the release:

mvn -Dgpg.passphrase="yourpassphrase" -Dnexus.user="your_sonatype_username" -Dnexus.password="your_sonatype_password" release:prepare

3. Perform the release:

mvn -Dgpg.passphrase="yourpassphrase" -Dnexus.user="your_sonatype_username" -Dnexus.password="your_sonatype_password" release:perform

4. Update the Git project:

git push --tags
git push origin master

5. In case of problem during steps 1 to 4:

  • 5.1: Undo the release:
git reset --hard HEAD~1

(You may have to do it a second time, depending upon when the error occurred.)

  • 5.2: Delete the tag.
git tag -d tagName
git push origin :refs/tags/tagName

Changes:

1.0.8

  • Updated FileUtil
  • Updated ActivityMonitor
  • Added JThumbnail handling

1.0.7

  • Maven Central deploy integration
  • Java 9/10/11 compliance changes (removed calls to deprecated methods / classes)

1.0.5-SNAPSHTOT

  • Added public static void showImageFrame(String, Dimension, Point, BufferedImage, boolean) method to JImageFrame in order to quickly display images.

1.0.4:

  • Added List<Class<?>> listClasses(String) method within ClassUtil. This mlethod enable to list classes from a given package.
  • Added JImagePanel image visualization component that enable to display images and features
  • Added JImageFeature that enable to display feature within JImagePanel
  • Added JImageToolbar and JImageFrame helper classes

1.0.3:

  • Added ClassUtil that enable to manages classes