Skip to content

Commit 4fdb504

Browse files
committed
Disable Groovy scripts for doc generation on Java11
See gh-14028
1 parent d1ac774 commit 4fdb504

File tree

1 file changed

+49
-36
lines changed
  • spring-boot-project/spring-boot-docs

1 file changed

+49
-36
lines changed

spring-boot-project/spring-boot-docs/pom.xml

Lines changed: 49 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1122,42 +1122,6 @@
11221122
</transformationSets>
11231123
</configuration>
11241124
</plugin>
1125-
<plugin>
1126-
<groupId>org.codehaus.gmavenplus</groupId>
1127-
<artifactId>gmavenplus-plugin</artifactId>
1128-
<executions>
1129-
<execution>
1130-
<goals>
1131-
<goal>execute</goal>
1132-
</goals>
1133-
<phase>generate-resources</phase>
1134-
</execution>
1135-
</executions>
1136-
<configuration>
1137-
<scripts>
1138-
<script>file:///${project.basedir}/src/main/groovy/generateAutoConfigurationClassTables.groovy</script>
1139-
<script>file:///${project.basedir}/src/main/groovy/generateStarterTables.groovy</script>
1140-
<script>file:///${project.basedir}/src/main/groovy/generateTestSlicesTable.groovy</script>
1141-
</scripts>
1142-
</configuration>
1143-
<dependencies>
1144-
<dependency>
1145-
<groupId>org.codehaus.groovy</groupId>
1146-
<artifactId>groovy</artifactId>
1147-
<version>${groovy.version}</version>
1148-
</dependency>
1149-
<dependency>
1150-
<groupId>org.codehaus.groovy</groupId>
1151-
<artifactId>groovy-ant</artifactId>
1152-
<version>${groovy.version}</version>
1153-
</dependency>
1154-
<dependency>
1155-
<groupId>org.springframework</groupId>
1156-
<artifactId>spring-core</artifactId>
1157-
<version>${spring.version}</version>
1158-
</dependency>
1159-
</dependencies>
1160-
</plugin>
11611125
<plugin>
11621126
<groupId>org.asciidoctor</groupId>
11631127
<artifactId>asciidoctor-maven-plugin</artifactId>
@@ -1419,5 +1383,54 @@
14191383
</plugins>
14201384
</build>
14211385
</profile>
1386+
<profile>
1387+
<id>full-groovy</id>
1388+
<activation>
1389+
<jdk>[1.8,10]</jdk>
1390+
<property>
1391+
<name>full</name>
1392+
</property>
1393+
</activation>
1394+
<build>
1395+
<plugins>
1396+
<plugin>
1397+
<groupId>org.codehaus.gmavenplus</groupId>
1398+
<artifactId>gmavenplus-plugin</artifactId>
1399+
<executions>
1400+
<execution>
1401+
<goals>
1402+
<goal>execute</goal>
1403+
</goals>
1404+
<phase>generate-resources</phase>
1405+
</execution>
1406+
</executions>
1407+
<configuration>
1408+
<scripts>
1409+
<script>file:///${project.basedir}/src/main/groovy/generateAutoConfigurationClassTables.groovy</script>
1410+
<script>file:///${project.basedir}/src/main/groovy/generateStarterTables.groovy</script>
1411+
<script>file:///${project.basedir}/src/main/groovy/generateTestSlicesTable.groovy</script>
1412+
</scripts>
1413+
</configuration>
1414+
<dependencies>
1415+
<dependency>
1416+
<groupId>org.codehaus.groovy</groupId>
1417+
<artifactId>groovy</artifactId>
1418+
<version>${groovy.version}</version>
1419+
</dependency>
1420+
<dependency>
1421+
<groupId>org.codehaus.groovy</groupId>
1422+
<artifactId>groovy-ant</artifactId>
1423+
<version>${groovy.version}</version>
1424+
</dependency>
1425+
<dependency>
1426+
<groupId>org.springframework</groupId>
1427+
<artifactId>spring-core</artifactId>
1428+
<version>${spring.version}</version>
1429+
</dependency>
1430+
</dependencies>
1431+
</plugin>
1432+
</plugins>
1433+
</build>
1434+
</profile>
14221435
</profiles>
14231436
</project>

0 commit comments

Comments
 (0)