File tree Expand file tree Collapse file tree 8 files changed +67
-15
lines changed
com.googlecode.cppcheclipse.core.tests/META-INF
com.googlecode.cppcheclipse.feature
com.googlecode.cppcheclipse.parent
com.googlecode.cppcheclipse.target
com.googlecode.cppcheclipse.ui.tests/META-INF Expand file tree Collapse file tree 8 files changed +67
-15
lines changed Original file line number Diff line number Diff line change 88 runs-on : ubuntu-latest
99
1010 steps :
11- - uses : actions/checkout@v2
12- - name : Set up JDK 1.8
13- uses : actions/setup-java@v1
11+ - uses : actions/checkout@v3
12+ - name : Set up JDK 17
13+ uses : actions/setup-java@v4
1414 with :
15- java-version : 1.8
16- - name : Build with Maven
15+ java-version : 17
16+ distribution : ' temurin'
17+ java-package : jdk
18+ - name : Set up Maven 3.9.6
19+ uses : stCarolas/setup-maven@v5
20+ with :
21+ maven-version : 3.9.6
22+ - name : Build with Maven (Java 17)
1723 run : mvn -B package --file com.googlecode.cppcheclipse.parent/pom.xml
Original file line number Diff line number Diff line change @@ -11,8 +11,9 @@ It will not increment the version number nor deploy/publish/release the artifact
1111
1212** NOTES:**
1313
14+ * This plugin was originally developed in [ cppcheclipse project] ( https://github.com/kwin/cppcheclipse ) .
15+ * Maven (3.9+) build will work under Java 17.
1416* Under Windows the ` mvn clean verify ` will fail because the unit test paths in unix format. As workaround skip the tests ` mvn clean package ` should build successfully, but it will not create.
15- * Maven build will fail if Java 9 is used, while it will work under Java 8.
1617
1718
1819Further information on how to use and install cppcheclipse can be found in the [ wiki] ( https://github.com/kwin/cppcheclipse/wiki ) .
Original file line number Diff line number Diff line change @@ -6,4 +6,4 @@ Bundle-Version: 1.1.2.qualifier
66Bundle-Vendor : Konrad Windszus
77Fragment-Host : com.googlecode.cppcheclipse.core;bundle-version="0.9.8"
88Bundle-RequiredExecutionEnvironment : JavaSE-1.6
9- Require-Bundle : org.junit4 ;bundle-version="4.5.0 "
9+ Require-Bundle : org.junit ;bundle-version="4.13.2 "
Original file line number Diff line number Diff line change @@ -218,10 +218,7 @@ litigation.
218218 </url >
219219
220220 <requires >
221- <import plugin =" org.eclipse.ui" version =" 3.4.0" match =" greaterOrEqual" />
222- <import plugin =" org.eclipse.core.runtime" version =" 3.4.0" match =" greaterOrEqual" />
223221 <import plugin =" com.googlecode.cppcheclipse.core" version =" 1.0.0" match =" greaterOrEqual" />
224- <import plugin =" org.eclipse.core.resources" version =" 3.4.0" match =" greaterOrEqual" />
225222 <import plugin =" org.eclipse.cdt.core" version =" 5.0.0" match =" greaterOrEqual" />
226223 <import plugin =" org.eclipse.ui.editors" version =" 3.4.0" match =" greaterOrEqual" />
227224 <import plugin =" org.eclipse.jface.text" version =" 3.4.0" match =" greaterOrEqual" />
Original file line number Diff line number Diff line change 1414 </prerequisites >
1515
1616 <properties >
17- <tycho-version >0.24.0 </tycho-version >
17+ <tycho-version >4.0.6 </tycho-version >
1818 <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
1919 <maven-antrun-plugin .version>1.7</maven-antrun-plugin .version>
2020 </properties >
2121
22+ <profiles >
23+ <profile >
24+ <id >java8</id >
25+ <activation >
26+ <jdk >1.8</jdk >
27+ </activation >
28+ <properties >
29+ <classifier >eclipse3.6cdtp2</classifier >
30+ </properties >
31+ </profile >
32+ <profile >
33+ <id >java17</id >
34+ <activation >
35+ <jdk >17</jdk >
36+ </activation >
37+ <properties >
38+ <classifier >eclipse4.31cdtp2</classifier >
39+ </properties >
40+ </profile >
41+ </profiles >
42+
2243 <build >
2344 <plugins >
2445 <plugin >
3960 <artifactId >com.googlecode.cppcheclipse.target</artifactId >
4061 <groupId >com.googlecode.cppcheclipse</groupId >
4162 <version >${project.version} </version >
42- <classifier >eclipse3.6cdtp2 </classifier >
63+ <classifier >${classifier} </classifier >
4364 </artifact >
4465 </target >
4566 <ignoreTychoRepositories >true</ignoreTychoRepositories >
Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" encoding =" UTF-8" standalone =" no" ?>
2+ <?pde version =" 3.8" ?><target name =" Eclipse 4.31 CDT" sequenceNumber =" 6" >
3+ <locations >
4+ <location includeAllPlatforms =" false" includeConfigurePhase =" false" includeMode =" planner" includeSource =" true" type =" InstallableUnit" >
5+ <unit id =" org.eclipse.platform.ide" version =" 4.31.0.I20240229-0520" />
6+ <unit id =" org.eclipse.sdk.feature.group" version =" 4.31.0.v20240229-1022" />
7+ <unit id =" org.eclipse.sdk.ide" version =" 4.31.0.I20240229-0520" />
8+ <repository location =" http://download.eclipse.org/eclipse/updates/4.31" />
9+ </location >
10+ <location includeAllPlatforms =" false" includeConfigurePhase =" false" includeMode =" planner" includeSource =" true" type =" InstallableUnit" >
11+ <unit id =" org.eclipse.cdt.feature.group" version =" 11.5.0.202403041627" />
12+ <unit id =" org.eclipse.cdt.sdk.feature.group" version =" 11.5.0.202403041627" />
13+ <repository location =" http://download.eclipse.org/tools/cdt/releases/11.5" />
14+ </location >
15+ <location includeAllPlatforms =" false" includeConfigurePhase =" false" includeMode =" planner" includeSource =" true" type =" InstallableUnit" >
16+ <unit id =" org.apache.commons.codec" version =" 1.4.0.v201209201156" />
17+ <unit id =" org.apache.commons.io" version =" 2.0.1.v201105210651" />
18+ <unit id =" com.google.guava" version =" 12.0.0.v201212092141" />
19+ <unit id =" org.apache.commons.exec" version =" 1.1.0.v201301240602" />
20+ <repository location =" http://download.eclipse.org/tools/orbit/downloads/drops/R20140114142710/repository/" />
21+ </location >
22+ </locations >
23+ </target >
Original file line number Diff line number Diff line change 1111
1212 <artifactId >com.googlecode.cppcheclipse.target</artifactId >
1313 <packaging >pom</packaging >
14-
14+
1515 <build >
1616 <plugins >
1717 <plugin >
3737 <type >target</type >
3838 <classifier >eclipse4.3cdtp2</classifier >
3939 </artifact >
40+ <artifact >
41+ <file >eclipse4.31cdtp2.target</file >
42+ <type >target</type >
43+ <classifier >eclipse4.31cdtp2</classifier >
44+ </artifact >
4045 </artifacts >
4146 </configuration >
4247 </execution >
4550 </plugins >
4651 </build >
4752
48-
4953</project >
Original file line number Diff line number Diff line change @@ -6,4 +6,4 @@ Bundle-Version: 1.1.2.qualifier
66Bundle-Vendor : Konrad Windszus
77Fragment-Host : com.googlecode.cppcheclipse.ui;bundle-version="0.9.8"
88Bundle-RequiredExecutionEnvironment : JavaSE-1.7
9- Require-Bundle : org.junit4 ;bundle-version="4.8.1 "
9+ Require-Bundle : org.junit ;bundle-version="4.13.2 "
You can’t perform that action at this time.
0 commit comments