Skip to content

Commit 9674029

Browse files
committed
Fix examples gradle build
[git-p4: depot-paths = "//dev/coherence-ce/release/coherence-ce-v14.1.2.0/": change = 115877]
1 parent 26bd64a commit 9674029

File tree

2 files changed

+121
-2
lines changed

2 files changed

+121
-2
lines changed

prj/examples/guides/810-custom-access-controller/gradle.properties

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66
#
77

88
# Change this property to the Coherence version you want to use
9-
coherenceVersion=14.1.1-2206-13-SNAPSHOT
9+
coherenceVersion=14.1.2-0-3-SNAPSHOT
1010
# The Coherence groupId is com.oracle.coherence.ce for the Community Edition
1111
# or com.oracle.coherence for the Commercial Edition
12-
coherenceGroupId=com.oracle.coherence
12+
coherenceGroupId=com.oracle.coherence.ce
1313

1414
hamcrestVersion=1.3
1515
junitVersion=5.8.2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,119 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!--
3+
~ Copyright (c) 2000, 2025, Oracle and/or its affiliates.
4+
~
5+
~ Licensed under the Universal Permissive License v 1.0 as shown at
6+
~ https://oss.oracle.com/licenses/upl.
7+
-->
8+
9+
<project xmlns="http://maven.apache.org/POM/4.0.0"
10+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
11+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
12+
<modelVersion>4.0.0</modelVersion>
13+
14+
<groupId>com.oracle.coherence.guides</groupId>
15+
<artifactId>custom-access-controller</artifactId>
16+
<version>${revision}</version>
17+
<name>Coherence Guides - Custom Access Controller</name>
18+
19+
<properties>
20+
<revision>14.1.2-0-3-SNAPSHOT</revision>
21+
22+
<coherence.group.id>com.oracle.coherence.ce</coherence.group.id>
23+
<coherence.version>${project.version}</coherence.version>
24+
25+
<java.version>11</java.version>
26+
27+
<maven.compiler.source>${java.version}</maven.compiler.source>
28+
<maven.compiler.target>${java.version}</maven.compiler.target>
29+
30+
<maven.depdency.plugin.version>3.1.2</maven.depdency.plugin.version>
31+
<maven.failsafe.plugin.version>3.0.0-M7</maven.failsafe.plugin.version>
32+
<maven.surefire.plugin.version>3.0.0-M7</maven.surefire.plugin.version>
33+
34+
<hamcrest.version>1.3</hamcrest.version>
35+
<junit.jupiter.version>5.8.2</junit.jupiter.version>
36+
37+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
38+
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
39+
</properties>
40+
41+
<dependencyManagement>
42+
<dependencies>
43+
<dependency>
44+
<groupId>${coherence.group.id}</groupId>
45+
<artifactId>coherence-bom</artifactId>
46+
<version>${coherence.version}</version>
47+
<type>pom</type>
48+
<scope>import</scope>
49+
</dependency>
50+
</dependencies>
51+
</dependencyManagement>
52+
53+
<dependencies>
54+
<dependency>
55+
<groupId>${coherence.group.id}</groupId>
56+
<artifactId>coherence</artifactId>
57+
</dependency>
58+
59+
<dependency>
60+
<groupId>${coherence.group.id}</groupId>
61+
<artifactId>coherence-bedrock-testing-support</artifactId>
62+
<scope>test</scope>
63+
</dependency>
64+
<dependency>
65+
<groupId>org.hamcrest</groupId>
66+
<artifactId>hamcrest-all</artifactId>
67+
<version>${hamcrest.version}</version>
68+
<scope>test</scope>
69+
</dependency>
70+
<dependency>
71+
<groupId>org.junit.jupiter</groupId>
72+
<artifactId>junit-jupiter-api</artifactId>
73+
<version>${junit.jupiter.version}</version>
74+
<scope>test</scope>
75+
</dependency>
76+
</dependencies>
77+
78+
<build>
79+
<plugins>
80+
<plugin>
81+
<groupId>org.apache.maven.plugins</groupId>
82+
<artifactId>maven-failsafe-plugin</artifactId>
83+
<version>${maven.failsafe.plugin.version}</version>
84+
</plugin>
85+
86+
<plugin>
87+
<groupId>org.apache.maven.plugins</groupId>
88+
<artifactId>maven-surefire-plugin</artifactId>
89+
<version>${maven.surefire.plugin.version}</version>
90+
</plugin>
91+
92+
93+
<plugin>
94+
<groupId>org.apache.maven.plugins</groupId>
95+
<artifactId>maven-dependency-plugin</artifactId>
96+
<version>${maven.depdency.plugin.version}</version>
97+
<executions>
98+
<execution>
99+
<id>copy-libs</id>
100+
<phase>prepare-package</phase>
101+
<goals>
102+
<goal>copy-dependencies</goal>
103+
</goals>
104+
<configuration>
105+
<outputDirectory>${project.build.directory}/libs</outputDirectory>
106+
<overWriteReleases>false</overWriteReleases>
107+
<overWriteSnapshots>false</overWriteSnapshots>
108+
<overWriteIfNewer>true</overWriteIfNewer>
109+
<overWriteIfNewer>true</overWriteIfNewer>
110+
<includeScope>runtime</includeScope>
111+
<excludeScope>test</excludeScope>
112+
<stripVersion>true</stripVersion>
113+
</configuration>
114+
</execution>
115+
</executions>
116+
</plugin>
117+
</plugins>
118+
</build>
119+
</project>

0 commit comments

Comments
 (0)