Revert "TSK-369: Removed unneeded files amd configuration"

This reverts commit 26b1d66627.
This commit is contained in:
Mustapha Zorgati 2020-01-21 16:34:57 +01:00 committed by Holger Hagen
parent 063ac889b5
commit ca411ca896
6 changed files with 89 additions and 1 deletions

View File

@ -44,6 +44,7 @@ env:
install: skip install: skip
script: ci/test.sh $DB script: ci/test.sh $DB
before_cache: rm -rf $HOME/.m2/repository/pro/taskana before_cache: rm -rf $HOME/.m2/repository/pro/taskana
jobs: jobs:

View File

@ -35,7 +35,7 @@ function main() {
eval "$REL/prepare_db.sh '$1'" eval "$REL/prepare_db.sh '$1'"
# We can not use the fance '-f' maven option due to a bug in arquillian. See https://issues.jboss.org/browse/THORN-2049 # We can not use the fance '-f' maven option due to a bug in arquillian. See https://issues.jboss.org/browse/THORN-2049
#-Pcoverage to activate jacoco and test coverage reports #-Pcoverage to activate jacoco and test coverage reports
# send test coverage and build information to sonarcloud # #send test coverage and build information to sonarcloud
(cd $REL/.. \ (cd $REL/.. \
&& mvn -q install -B -T 4C -am -Pcoverage -Dmaven.javadoc.skip -Dcheckstyle.skip \ && mvn -q install -B -T 4C -am -Pcoverage -Dmaven.javadoc.skip -Dcheckstyle.skip \
&& mvn sonar:sonar -Pcoverage -Dsonar.projectKey="$SONAR_PROJECT_KEY" && mvn sonar:sonar -Pcoverage -Dsonar.projectKey="$SONAR_PROJECT_KEY"

View File

@ -26,5 +26,23 @@
<artifactId>taskana-cdi</artifactId> <artifactId>taskana-cdi</artifactId>
<version>${project.version}</version> <version>${project.version}</version>
</dependency> </dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
<version>${version.junit.jupiter}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
<version>${version.junit.jupiter}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.vintage</groupId>
<artifactId>junit-vintage-engine</artifactId>
<version>${version.junit.jupiter}</version>
<scope>test</scope>
</dependency>
</dependencies> </dependencies>
</project> </project>

View File

@ -0,0 +1,14 @@
package pro.taskana;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;
/** Placeholder test class until we have real tests. */
class ExampleBootstrap {
/** TODO add real tests. */
@Test
void sampleTest() {
Assertions.assertTrue(true);
}
}

View File

@ -72,6 +72,47 @@
<artifactId>taskana-rest-spring-example-common</artifactId> <artifactId>taskana-rest-spring-example-common</artifactId>
<version>${project.version}</version> <version>${project.version}</version>
</dependency> </dependency>
<!-- Tests -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-test</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.springframework.ldap</groupId>
<artifactId>spring-ldap-test</artifactId>
<scope>test</scope>
<exclusions>
<exclusion>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
<version>${version.junit.jupiter}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
<version>${version.junit.jupiter}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.vintage</groupId>
<artifactId>junit-vintage-engine</artifactId>
<version>${version.junit.jupiter}</version>
<scope>test</scope>
</dependency>
</dependencies> </dependencies>
<profiles> <profiles>
<profile> <profile>

View File

@ -0,0 +1,14 @@
package pro.taskana.rest;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;
/** Placeholder test class until we have real tests. */
class ExampleRestApplicationTest {
/** TODO add real tests */
@Test
void sampleTest() {
Assertions.assertTrue(true);
}
}