Skip to content

Commit 31389ea

Browse files
committed
add slf4j deoendency
1 parent 963a983 commit 31389ea

4 files changed

Lines changed: 52 additions & 1 deletion

File tree

maven-install.sh

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
#!/bin/bash
2+
3+
# Set environment variables
4+
export MAVEN_USERNAME="ayXLya"
5+
export MAVEN_PASSWORD="NWKNmxDd4ZZhhI1brqeIZE4ayPsWPcjRV"
6+
export GPG_PASSPHRASE="Susi Sorglos"
7+
8+
9+
# Set the directory containing the Maven project
10+
PROJECT_DIR="$(dirname "$0")"
11+
12+
# Navigate to the project directory
13+
cd "$PROJECT_DIR" || {
14+
echo "Failed to navigate to project directory: $PROJECT_DIR"
15+
exit 1
16+
}
17+
18+
# Ensure the pom.xml file exists in the directory
19+
if [[ ! -f "pom.xml" ]]; then
20+
echo "No pom.xml found in the project directory: $PROJECT_DIR"
21+
exit 1
22+
fi
23+
24+
# Run Maven clean install with the predefined goal
25+
echo "Running Maven clean install in: $PROJECT_DIR"
26+
mvn clean install -Dgoal=install -DperformRelease=true -e
27+
28+
# Capture the exit code of the Maven command
29+
EXIT_CODE=$?
30+
31+
# Check if Maven ran successfully
32+
if [ $EXIT_CODE -eq 0 ]; then
33+
echo "Maven build completed successfully."
34+
else
35+
echo "Maven build failed with exit code $EXIT_CODE."
36+
fi
37+
38+
exit $EXIT_CODE

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<modelVersion>4.0.0</modelVersion>
55
<groupId>org.lucee</groupId>
66
<artifactId>ehcache-extension</artifactId>
7-
<version>2.10.9.2-BETA</version>
7+
<version>2.10.9.3-SNAPSHOT</version>
88
<packaging>pom</packaging>
99
<name>EHCache Extension</name>
1010

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
eclipse.preferences.version=1
2+
org.eclipse.jdt.core.compiler.codegen.targetPlatform=11
3+
org.eclipse.jdt.core.compiler.compliance=11
4+
org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled
5+
org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning
6+
org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=ignore
7+
org.eclipse.jdt.core.compiler.release=disabled
8+
org.eclipse.jdt.core.compiler.source=11

source/java/pom.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,11 @@
175175
<artifactId>ehcache</artifactId>
176176
<version>2.10.9.2</version>
177177
</dependency>
178+
<dependency>
179+
<groupId>org.slf4j</groupId>
180+
<artifactId>slf4j-api</artifactId>
181+
<version>1.7.25</version>
182+
</dependency>
178183

179184
<dependency>
180185
<groupId>org.lucee</groupId>

0 commit comments

Comments
 (0)