Skip to content

Latest commit

 

History

History
34 lines (24 loc) · 1.46 KB

BUILD.rest

File metadata and controls

34 lines (24 loc) · 1.46 KB

Sources

Code is organized according to the Maven convention in src/main/java and src/test/java. In addition Robot Framework test cases for all the keywords are located in src/test/resources/robot-tests

Building

SwingLibrary uses Apache Maven_ as a build tool.

  • mvn package packages SwingLibrary with dependencies.
  • mvn verify runs Robot Framework tests.
  • mvn package robotframework:libdoc compiles the code and generates library documentation

Releasing

  • update release notes
  • update version number to pom.xml
  • create git tag for new version (git commit -am "version", git tag version, git push, git push --tags)
  • You need to have a pgp key (use gpg tool to generate this and deploy your public key to a key server)
  • You need to have sonatype user account (and most likely rights to do releases for org.robotframework)
  • You need to have your sonatype username and password in .m2/settings.xml for server id sonatype-nexus-staging
  • mvn deploy deploys the library to maven central. See instructions on Robot Framework releasing for the prerequisites.
  • Go to https://oss.sonatype.org/index.html#welcome, log in with Sonatype credentials, find the staging repository and do close & release
  • XML-spec and library docs are generated automatically by integration-test phase.
  • upload jar, library docs, and spec xml to Github releases