Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

0.17 #48

Merged
merged 3 commits into from
Mar 5, 2016
Merged

0.17 #48

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ target/
/settings.xml
pom.xml.tag
pom.xml.releaseBackup
versioneye.properties
pom.xml.versionsBackup
pom.xml.next
release.properties
Expand Down
51 changes: 33 additions & 18 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,16 @@ snapshot.allowed.artifacts | List of dependency patterns to exclude when checkin

##Profiles

- [announcement](#announcement)
- [jacoco](#jacoco)
- [announcement](#announcement)
- [clover](#clover)
- [gh-pages](#gh-pages)
- [gpg](#gpg)
- [inspect](#inspect)
- [jacoco](#jacoco)
- [site](#site)
- [sonar](#sonar)
- [sonatype](#sonatype)
- [versioneye](#versioneye)


###announcement
Expand All @@ -65,17 +66,6 @@ $ mvn clean install -Denv=prod
Generate an announcement from the announcement template


###jacoco

This profile can be activated manually:

It configures [jacoco-maven-plugin] (http://eclemma.org/jacoco/trunk/doc/maven.html) for check and report tests coverage.

Name | Description | Value | Default Value
------------ | ------------- | ------------- | -------------
unit.tests.coverage.output.directory | The path to unit tests coverage report | path | ${project.reporting.outputDirectory}/jacoco-ut
integration.tests.coverage.output.directory | The path to integration tests coverage report | path | ${project.reporting.outputDirectory}/jacoco-it

###clover

The profile is activated automatically when you have a **clover.license** file in a root directory.
Expand Down Expand Up @@ -143,6 +133,17 @@ It is expected by default that your **LICENSE.txt** is located in a root directo
All plugins are bound to the *verify* Maven phase.
All executions are named *maxur-check*.

###jacoco

This profile can be activated manually:

It configures [jacoco-maven-plugin] (http://eclemma.org/jacoco/trunk/doc/maven.html) for check and report tests coverage.

Name | Description | Value | Default Value
------------ | ------------- | ------------- | -------------
unit.tests.coverage.output.directory | The path to unit tests coverage report | path | ${project.reporting.outputDirectory}/jacoco-ut
integration.tests.coverage.output.directory | The path to integration tests coverage report | path | ${project.reporting.outputDirectory}/jacoco-it

###site

The profile builds site for production environment.
Expand Down Expand Up @@ -174,18 +175,32 @@ It configures [sonar-maven-plugin] (http://docs.sonarqube.org/display/SONAR/Anal

The profile deploys all artifacts to oss.sonatype.org repository .
It also skips default deployment plugin.


### versioneye

The maven plugin for VersionEye helps you to create/update a project at VersionEye, which is a Notification System for Software Libraries. It will help you to keep your projects up-to-date and automatically notify you about outdated dependencies and license violations. You can check it out here: www.versioneye.com.

The profile is activated when you have **src/qa/resources/versioneye.properties** file in the project.

*versioneye.properties*

```properties
api_key = YOUR_SECRET_API_KEY
project_id = YOUR_VERSONEYE_PROJECT_ID
```

see [versioneye_maven_plugin](https://github.com/versioneye/versioneye_maven_plugin) for more details

##Implicit Profiles

- [dep-spock](#dep-spock)
- [dep-junit](#dep-junit)
- [dep-log4j](#dep-log4j)
- [dep-logback](#dep-logback)

- [dep-logback](#dep-logback)

###dep-spock

Enable unit testing. The profile is activated when you have **src/test/groovy directory** in the project.
Enable unit testing. The profile is activated when you have **src/test/groovy** directory in the project.
These artifacts are automatically added to the list of dependencies (in test scope):

* [org.spockframework:spock-core] (https://github.com/spockframework/spock): unit testing framework
Expand All @@ -196,7 +211,7 @@ These artifacts are automatically added to the list of dependencies (in test sco

###dep-junit

Enable unit testing. The profile is activated when you have **src/test/java directory** in the project.
Enable unit testing. The profile is activated when you have **src/test/java** directory in the project.
These artifacts are automatically added to the list of dependencies (in test scope, of course):

* [junit:junit] (http://junit.org/): unit testing framework
Expand Down
26 changes: 20 additions & 6 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@
<maven-pmd-plugin.version>3.6</maven-pmd-plugin.version>
<maven-enforcer-plugin.version>1.4.1</maven-enforcer-plugin.version>

<versioneye-maven-plugin.version>3.9.1</versioneye-maven-plugin.version>
<maven-clover2-plugin.version>4.0.6</maven-clover2-plugin.version>
<jacoco-maven-plugin.version>0.7.6.201602180812</jacoco-maven-plugin.version>
<qulice-maven-plugin.version>0.16.3</qulice-maven-plugin.version>
Expand All @@ -115,7 +116,7 @@
<site-maven-plugin.version>0.12</site-maven-plugin.version>
<duplicate-finder-maven-plugin.version>1.2.1</duplicate-finder-maven-plugin.version>
<pitest-maven.version>1.1.9</pitest-maven.version>
<cglib.version>3.2.0</cglib.version>
<cglib.version>3.2.1</cglib.version>
<hamcrest.version>1.3</hamcrest.version>
</properties>

Expand Down Expand Up @@ -210,6 +211,24 @@
</reporting>
</profile>

<profile>
<id>versioneye</id>
<activation>
<file>
<exists>${basedir}/src/qa/resources/versioneye.properties</exists>
</file>
</activation>
<build>
<plugins>
<plugin>
<groupId>com.versioneye</groupId>
<artifactId>versioneye-maven-plugin</artifactId>
<version>${versioneye-maven-plugin.version}</version>
</plugin>
</plugins>
</build>
</profile>

<profile>
<id>debug</id>
<build>
Expand Down Expand Up @@ -476,14 +495,10 @@
<configuration>
<target>
<echo>Copy README.md to site/index.md</echo>
<<<<<<< HEAD
<copy
file="${basedir}/README.md"
tofile="${basedir}/target/generated-site/markdown/index.md"
/>
=======
<copy file="${project.root}/README.md" tofile="${project.root}/target//generated-site/markdown/index.md"/>
>>>>>>> master
</target>
</configuration>
</execution>
Expand Down Expand Up @@ -1473,7 +1488,6 @@

<plugins>
<plugin>

<artifactId>maven-enforcer-plugin</artifactId>
<executions>
<execution>
Expand Down