File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 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 >
You can’t perform that action at this time.
0 commit comments