Add profile to include new admin console (#9283)

Closes #9279
This commit is contained in:
Stian Thorgersen 2021-12-22 08:27:33 +01:00 committed by GitHub
parent ca58aa7b3d
commit 3fe7a50b64
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 18 additions and 27 deletions

View file

@ -9,7 +9,7 @@ echo "--------------------------------------------------------------------------
echo "Building:"
echo ""
mvn -Pjboss-release,distribution-downloads,nexus-staging -DskipTests -DskipTestsuite -DretryFailedDeploymentCount=10 -DautoReleaseAfterClose=true clean deploy
mvn -Padmin-preview,jboss-release,distribution-downloads,nexus-staging -DskipTests -DskipTestsuite -DretryFailedDeploymentCount=10 -DautoReleaseAfterClose=true clean deploy
echo "------------------------------------------------------------------------------------------------------------"

View file

@ -18,21 +18,6 @@
<args.npm.install>ci --no-optional --ignore-scripts</args.npm.install>
</properties>
<repositories>
<repository>
<id>github</id>
<!-- Do not decode the PAT below, as it will force Github to revoke it. -->
<url>https://keycloak-packages:&#103;hp_7fUnUsoBeXc6xOUw7qsMU9RH3uhEvJ1QF7lo@maven.pkg.github.com/keycloak/keycloak-admin-ui</url>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
<updatePolicy>always</updatePolicy>
</snapshots>
</repository>
</repositories>
<build>
<plugins>
<plugin>
@ -147,12 +132,7 @@
<profiles>
<profile>
<id>community</id>
<activation>
<property>
<name>!product</name>
</property>
</activation>
<id>admin-preview</id>
<dependencies>
<dependency>
<groupId>org.keycloak</groupId>
@ -160,11 +140,6 @@
</dependency>
</dependencies>
<build>
<resources>
<resource>
<directory>src/main/resources-community</directory>
</resource>
</resources>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
@ -193,6 +168,22 @@
</plugins>
</build>
</profile>
<profile>
<id>community</id>
<activation>
<property>
<name>!product</name>
</property>
</activation>
<build>
<resources>
<resource>
<directory>src/main/resources-community</directory>
</resource>
</resources>
</build>
</profile>
<profile>
<id>product</id>
<activation>