Skip to content

Commit

Permalink
fix build, tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisEnglert committed May 24, 2020
1 parent 35a44a3 commit d16a723
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 15 deletions.
4 changes: 2 additions & 2 deletions nifi-registry-oidc/nifi-registry-oidc-assembly/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.apache.nifi.registry</groupId>
<artifactId>nifi-registry-oidc</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>0.5.0</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand All @@ -16,7 +16,7 @@
<dependency>
<groupId>org.apache.nifi.registry</groupId>
<artifactId>nifi-registry-oidc-extension</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>${project.version}</version>
</dependency>
</dependencies>

Expand Down
3 changes: 2 additions & 1 deletion nifi-registry-oidc/nifi-registry-oidc-extension/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.apache.nifi.registry</groupId>
<artifactId>nifi-registry-oidc</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>0.5.0</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand All @@ -28,6 +28,7 @@
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<version>2.28.2</version>
<scope>test</scope>
</dependency>
<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,16 @@
import org.junit.Before;
import org.junit.Rule;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.mockito.junit.MockitoJUnitRunner;

import static com.github.tomakehurst.wiremock.client.WireMock.*;
import static com.github.tomakehurst.wiremock.core.WireMockConfiguration.wireMockConfig;
import static org.mockito.ArgumentMatchers.eq;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.when;

@RunWith(MockitoJUnitRunner.class)
public class OidcPasswordIdentityProviderTest {

private OidcPasswordIdentityProvider provider;
Expand Down
4 changes: 2 additions & 2 deletions nifi-registry-oidc/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@
<parent>
<groupId>org.apache.nifi.registry</groupId>
<artifactId>nifi-registry-extensions</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>0.5.0</version>
</parent>
<modelVersion>4.0.0</modelVersion>

<artifactId>nifi-registry-oidc</artifactId>
<packaging>pom</packaging>

<properties>
<nifi-registry.version>1.0.0-SNAPSHOT</nifi-registry.version>
<nifi-registry.version>0.5.0</nifi-registry.version>
</properties>

<modules>
Expand Down
10 changes: 0 additions & 10 deletions nifi-tusio/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,4 @@
<module>nifi-tusio-nar</module>
</modules>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.20.1</version>
</plugin>
</plugins>
</build>

</project>
2 changes: 2 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
<artifactId>NiFi-Addons</artifactId>
<version>0.0.1-SNAPSHOT</version>

<packaging>pom</packaging>

<modules>
<module>nifi-keycloak</module>
<module>nifi-tusio</module>
Expand Down

0 comments on commit d16a723

Please sign in to comment.