Skip to content
This repository has been archived by the owner on May 26, 2020. It is now read-only.

Commit

Permalink
Merge 89a3aad into 8469f4f
Browse files Browse the repository at this point in the history
  • Loading branch information
Mahesh Subramanian committed Feb 12, 2019
2 parents 8469f4f + 89a3aad commit ec60b61
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ language: java
jdk:
- oraclejdk8
git:
cache: 3
depth: 3
cache:
directories:
- "$HOME/.m2"
Expand All @@ -18,7 +18,7 @@ addons:
before_install:
- git clone https://github.com/CJSCommonPlatform/travis-settings.git target/travis-settings
- ln -sfT ${PWD}/target/travis-settings/settings.xml ${HOME}/.m2/settings.xml
install: "${PWD}/target/travis-settings/java/install.sh -e -q -DexcludeGroupIds=uk.gov.justice.service,uk.gov.justice.services"
install: "${PWD}/target/travis-settings/java/install.sh -e -q -DexcludeGroupIds=uk.gov.justice.maven"
script: "${PWD}/target/travis-settings/java/script-install.sh coveralls:report sonar:sonar"
after_success: "${PWD}/target/travis-settings/java/after_success.sh"
env:
Expand Down
1 change: 1 addition & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@

<properties>
<common-bom.version>1.30.0</common-bom.version>
<cpp.repo.name>maven-test-utils</cpp.repo.name>
</properties>

<dependencyManagement>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
package uk.gov.justice.maven.test.utils;

import static org.junit.Assert.assertTrue;

import java.io.File;

import org.apache.maven.plugin.Mojo;
import org.junit.Test;

public class BetterAbstractMojoTestCaseTest {

private BetterAbstractMojoTestCase mojoTestCase = new BetterAbstractMojoTestCase() {
@Override
protected Mojo lookupConfiguredMojo(final File pom, final String goal) throws Exception {
return super.lookupConfiguredMojo(pom, goal);
}
};

/**
* Adding this test for coveralls report generation
*/

@Test
public void emptyAssertion() {
assertTrue(true);
}
}

0 comments on commit ec60b61

Please sign in to comment.