-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from ochaloup/some-fixes
Fix the license tag and adding the information to perform the release
- Loading branch information
Showing
4 changed files
with
64 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
target/ | ||
|
||
release.properties | ||
|
||
.idea/ | ||
*.iml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
= Narayana Checkstyle Configuration | ||
|
||
This repository contains the checkstyle rules used by some narayana projects. | ||
|
||
== How to build | ||
|
||
Compile with Maven. | ||
|
||
[source,bash] | ||
---- | ||
mvn clean install | ||
---- | ||
|
||
== How to release | ||
|
||
Release is performed to https://repository.jboss.org/nexus/[JBoss Nexus]. | ||
|
||
Credentials for release needs to be setup in the `~/.m2/settings.xml` (or settings defined with `-s` parameter) | ||
where you link the repository id `jboss-releases-repository` with the username/password. | ||
|
||
```xml | ||
<server> | ||
<id>jboss-releases-repository</id> | ||
<username>[username]</username> | ||
<password>[password for jboss nexus connection]</password> | ||
</server> | ||
``` | ||
|
||
As the next step run the `mvn release` and proceed standard | ||
http://maven.apache.org/maven-release/maven-release-plugin/usage.html[steps for maven release plugin]. | ||
|
||
* `git checkout master; git fetch upstream master; git rebase upstream/master; git push upstream master` | ||
* `mvn javadoc:javadoc` - verification that there won't be any javadoc errors during `release:perform` | ||
|
||
* `mvn release:clean` | ||
* `mvn release:prepare` | ||
* `mvn release:perform` | ||
|
||
Dry run: `mvn release:prepare -DdryRun=true` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters