Skip to content

Commit

Permalink
build: support of java8 and java17 building
Browse files Browse the repository at this point in the history
work on #9
  • Loading branch information
bsorrentino committed Jul 13, 2024
1 parent 33becfc commit dc8ff48
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,15 @@
</snapshotRepository>
</distributionManagement>

<!--
<modules>
<module>core-jdk8</module>
<module>agent-executor</module>
<module>image-to-diagram</module>
<module>adaptive-rag</module>
<module>jetty</module>
</modules>
-->

<dependencyManagement>
<dependencies>
Expand Down Expand Up @@ -124,4 +126,34 @@

</build>


<profiles>
<profile>
<id>jdk-8</id>
<activation>
<jdk>1.8</jdk>
</activation>
<modules>
<module>core-jdk8</module>
<module>agent-executor</module>
<module>image-to-diagram</module>
<module>adaptive-rag</module>
</modules>
<build>

</build>
</profile>
<profile>
<id>jdk-17</id>
<activation>
<jdk>[17,)</jdk>
</activation>
<modules>
<module>jetty</module>
</modules>
<build>
<!-- Define configuration for JDK >= 11 -->
</build>
</profile>
</profiles>
</project>

0 comments on commit dc8ff48

Please sign in to comment.