Skip to content

Commit 53b2ca0

Browse files
authored
publish only the schema-generator module (#268)
Set the profiles for release and javadoc to only run on the schema-generator module as the example app doesn't need to be published
1 parent 3b1e046 commit 53b2ca0

File tree

1 file changed

+16
-5
lines changed

1 file changed

+16
-5
lines changed

pom.xml

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,11 @@
6969
<url>https://github.com/ExpediaDotCom/graphql-kotlin</url>
7070
</scm>
7171

72+
<modules>
73+
<module>graphql-kotlin-schema-generator</module>
74+
<module>graphql-kotlin-spring-example</module>
75+
</modules>
76+
7277
<properties>
7378
<!-- Project Versions -->
7479
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
@@ -337,6 +342,11 @@
337342
</property>
338343
</activation>
339344

345+
<!-- Exclude the example app from releases -->
346+
<modules>
347+
<module>graphql-kotlin-schema-generator</module>
348+
</modules>
349+
340350
<build>
341351
<plugins>
342352
<!-- Release to Maven central -->
@@ -411,6 +421,12 @@
411421
<activation>
412422
<jdk>1.8</jdk>
413423
</activation>
424+
425+
<!-- Exclude the example app from javadoc packages -->
426+
<modules>
427+
<module>graphql-kotlin-schema-generator</module>
428+
</modules>
429+
414430
<build>
415431
<plugins>
416432
<plugin>
@@ -430,9 +446,4 @@
430446
</build>
431447
</profile>
432448
</profiles>
433-
434-
<modules>
435-
<module>graphql-kotlin-schema-generator</module>
436-
<module>graphql-kotlin-spring-example</module>
437-
</modules>
438449
</project>

0 commit comments

Comments
 (0)