Skip to content

Commit

Permalink
Update keycloak-client repository to not syncing policy-enforcer as i…
Browse files Browse the repository at this point in the history
…t was completely moved from the main repository

closes #29

Signed-off-by: mposolda <mposolda@gmail.com>
  • Loading branch information
mposolda committed Sep 5, 2024
1 parent 3ef279a commit f241f4f
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 77 deletions.
1 change: 0 additions & 1 deletion .github/scripts/sync-keycloak-sources.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,3 @@ fi;

syncFiles admin-client
syncFiles authz-client
syncFiles policy-enforcer
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ The files in the modules:

* [admin-client](admin-client)
* [authz-client](authz-client)
* [policy-enforcer](policy-enforcer)

are not "owned" by this repository and hence the Java files should ideally not be directly updated. Those files are "owned" by the [main Keycloak server repository](https://github.com/keycloak/keycloak)
and hence are supposed to be updated there (whenever needed) and synced into this repository by the bash script [sync-keycloak-sources.sh](.github/scripts/sync-keycloak-sources.sh)
Expand Down
75 changes: 0 additions & 75 deletions policy-enforcer/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -49,79 +49,4 @@
</dependency>
</dependencies>

<profiles>
<profile>
<id>sync</id>
<build>
<resources>
<resource>
<directory>${project.build.directory}/unpacked-resources</directory>
</resource>
</resources>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<id>unpack-keycloak-sources</id>
<phase>generate-sources</phase>
<goals>
<goal>unpack</goal>
</goals>
<configuration>
<artifactItems>
<artifactItem>
<groupId>org.keycloak</groupId>
<artifactId>keycloak-policy-enforcer-tests</artifactId>
<version>${keycloak.version}</version>
<type>jar</type>
<classifier>sources</classifier>
<overWrite>true</overWrite>
<outputDirectory>${project.build.directory}/unpacked</outputDirectory>
<includes>
org/**/*
</includes>
</artifactItem>
<artifactItem>
<groupId>org.keycloak</groupId>
<artifactId>keycloak-policy-enforcer-tests</artifactId>
<version>${keycloak.version}</version>
<type>jar</type>
<classifier>sources</classifier>
<overWrite>true</overWrite>
<outputDirectory>${project.build.directory}/unpacked-resources</outputDirectory>
<includes>
META-INF/services/**/*
</includes>
</artifactItem>
</artifactItems>
<overWriteReleases>false</overWriteReleases>
<overWriteSnapshots>true</overWriteSnapshots>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<executions>
<execution>
<phase>generate-sources</phase>
<goals>
<goal>add-source</goal>
</goals>
<configuration>
<sources>
<source>${project.build.directory}/unpacked</source>
</sources>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>

</project>

0 comments on commit f241f4f

Please sign in to comment.