|
| 1 | +<project |
| 2 | + xmlns="http://maven.apache.org/POM/4.0.0" |
| 3 | + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 4 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 5 | + <modelVersion>4.0.0</modelVersion> |
| 6 | + |
| 7 | + <!-- Inherit defaults from Spring Boot Parent --> |
| 8 | + <parent> |
| 9 | + <groupId>org.springframework.boot</groupId> |
| 10 | + <artifactId>spring-boot-starter-parent</artifactId> |
| 11 | + <version>3.5.9</version> |
| 12 | + </parent> |
| 13 | + |
| 14 | + <!-- Application properties --> |
| 15 | + <groupId>com.ibm.cicsdev.springboot</groupId> |
| 16 | + <artifactId>cics-java-liberty-springboot-jcics</artifactId> |
| 17 | + <version>0.1.0</version> |
| 18 | + <name>cics-java-liberty-springboot-jcics</name> |
| 19 | + <description>CICS Spring Boot Application - JCICS Example</description> |
| 20 | + |
| 21 | + <properties> |
| 22 | + <java.version>17</java.version> |
| 23 | + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 24 | + <maven.compiler.target>${java.version}</maven.compiler.target> |
| 25 | + <maven.compiler.source>${java.version}</maven.compiler.source> |
| 26 | + <spring-boot.repackage.skip>true</spring-boot.repackage.skip> |
| 27 | + </properties> |
| 28 | + |
| 29 | + <!--Use correct BOM version for CICS TS (6.1 is the minimum supported release for this sample) --> |
| 30 | + <!-- If you are running on a higher CICS TS version, you may replace this with a newer BOM) --> |
| 31 | + <dependencyManagement> |
| 32 | + <dependencies> |
| 33 | + <dependency> |
| 34 | + <groupId>com.ibm.cics</groupId> |
| 35 | + <artifactId>com.ibm.cics.ts.bom</artifactId> |
| 36 | + <version>6.1-20250812133513-PH63856</version> |
| 37 | + <type>pom</type> |
| 38 | + <scope>import</scope> |
| 39 | + </dependency> |
| 40 | + </dependencies> |
| 41 | + </dependencyManagement> |
| 42 | + |
| 43 | + <dependencies> |
| 44 | + |
| 45 | + <dependency> |
| 46 | + <groupId>org.springframework.boot</groupId> |
| 47 | + <artifactId>spring-boot-starter-web</artifactId> |
| 48 | + </dependency> |
| 49 | + <!-- Compile against, but don't include JCICS in the final build (version and scope are from BOM) --> |
| 50 | + <dependency> |
| 51 | + <groupId>com.ibm.cics</groupId> |
| 52 | + <artifactId>com.ibm.cics.server</artifactId> |
| 53 | + </dependency> |
| 54 | + |
| 55 | + <!-- Compile against, but don't include Tomcat in the runtime build --> |
| 56 | + <dependency> |
| 57 | + <groupId>org.springframework.boot</groupId> |
| 58 | + <artifactId>spring-boot-starter-tomcat</artifactId> |
| 59 | + <scope>provided</scope> |
| 60 | + </dependency> |
| 61 | + </dependencies> |
| 62 | + |
| 63 | + <!-- Package as an executable war (default is jar) --> |
| 64 | + <packaging>war</packaging> |
| 65 | + <build> |
| 66 | + <plugins> |
| 67 | + <plugin> |
| 68 | + <groupId>org.springframework.boot</groupId> |
| 69 | + <artifactId>spring-boot-maven-plugin</artifactId> |
| 70 | + </plugin> |
| 71 | + </plugins> |
| 72 | + </build> |
| 73 | + |
| 74 | + <!-- |
| 75 | + Publishes artifacts to here if the deploy goal is used. |
| 76 | +
|
| 77 | + The values here can be passed on the maven command line |
| 78 | + using the -D flag syntax |
| 79 | + |
| 80 | + for example: |
| 81 | + -Dpublish_repo_snapshots_name=my-repo |
| 82 | + --> |
| 83 | + <distributionManagement> |
| 84 | + <snapshotRepository> |
| 85 | + <id>${publish_repo_snapshots_name}</id> |
| 86 | + <url>${publish_repo_snapshots_url}</url> |
| 87 | + </snapshotRepository> |
| 88 | + <repository> |
| 89 | + <id>${publish_repo_releases_name}</id> |
| 90 | + <url>${publish_repo_releases_url}</url> |
| 91 | + </repository> |
| 92 | + </distributionManagement> |
| 93 | + |
| 94 | +</project> |
0 commit comments