Revert "TSK-369: Removed unneeded files amd configuration"
This reverts commit 26b1d66627
.
This commit is contained in:
parent
063ac889b5
commit
ca411ca896
|
@ -44,6 +44,7 @@ env:
|
|||
|
||||
install: skip
|
||||
script: ci/test.sh $DB
|
||||
|
||||
before_cache: rm -rf $HOME/.m2/repository/pro/taskana
|
||||
|
||||
jobs:
|
||||
|
|
|
@ -35,7 +35,7 @@ function main() {
|
|||
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
|
||||
#-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/.. \
|
||||
&& mvn -q install -B -T 4C -am -Pcoverage -Dmaven.javadoc.skip -Dcheckstyle.skip \
|
||||
&& mvn sonar:sonar -Pcoverage -Dsonar.projectKey="$SONAR_PROJECT_KEY"
|
||||
|
|
|
@ -26,5 +26,23 @@
|
|||
<artifactId>taskana-cdi</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</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>
|
||||
</project>
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
}
|
|
@ -72,6 +72,47 @@
|
|||
<artifactId>taskana-rest-spring-example-common</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</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>
|
||||
<profiles>
|
||||
<profile>
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue