Skip to content

Commit a0b0f45

Browse files
authored
Merge pull request #1649 from guwirth/maven-3.5
use Maven 3.5.4
2 parents 263f1b5 + d088e21 commit a0b0f45

File tree

3 files changed

+15
-17
lines changed

3 files changed

+15
-17
lines changed

appveyor.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ install:
2929
}
3030
3131
(new-object System.Net.WebClient).DownloadFile(
32-
'http://www.us.apache.org/dist/maven/maven-3/3.2.5/binaries/apache-maven-3.2.5-bin.zip',
32+
'http://www.us.apache.org/dist/maven/maven-3/3.5.4/binaries/apache-maven-3.5.4-bin.zip',
3333
'C:\maven-bin.zip'
3434
)
3535
[System.IO.Compression.ZipFile]::ExtractToDirectory("C:\maven-bin.zip", "C:\maven")
@@ -62,9 +62,9 @@ install:
6262
$env:VCVARS_PLATFORM="amd64"
6363
$env:LANG_PLATFORM="-x64"
6464
}
65-
- cmd: SET PATH=C:\maven\apache-maven-3.2.5\bin;%JAVA_HOME%\bin;C:\sonar-scanner\sonar-scanner-3.2.0.1227\bin;%PATH%
66-
- cmd: SET M2_HOME=C:\maven\apache-maven-3.2.5
67-
- cmd: SET MAVEN_HOME=C:\maven\apache-maven-3.2.5
65+
- cmd: SET PATH=C:\maven\apache-maven-3.5.4\bin;%JAVA_HOME%\bin;C:\sonar-scanner\sonar-scanner-3.2.0.1227\bin;%PATH%
66+
- cmd: SET M2_HOME=C:\maven\apache-maven-3.5.4
67+
- cmd: SET MAVEN_HOME=C:\maven\apache-maven-3.5.4
6868
- cmd: SET SONARHOME=C:\sonarqube\sonarqube-6.7.6
6969
- cmd: SET TestDataFolder=C:\projects\sonar-cxx\integration-tests\testdata
7070
- cmd: SET
@@ -82,15 +82,13 @@ build_script:
8282
- C:\Python27\Scripts\pip.exe install requests
8383
- C:\Python27\Scripts\pip.exe install behave
8484
- C:\Python27\Scripts\pip.exe install colorama
85+
- mvn versions:set -DnewVersion=1.2.2.%APPVEYOR_BUILD_NUMBER%
8586
- mvn org.jacoco:jacoco-maven-plugin:prepare-agent clean install -B -e -V -Pcoverage-per-test
8687
- IF "%APPVEYOR_PULL_REQUEST_NUMBER%"=="" (mvn sonar:sonar -B -e -V -Dsonar.organization=sonaropencommunity -Dsonar.host.url=https://sonarcloud.io -Dsonar.login=%sonarcloudtoken%)
8788
- REM IF NOT "%APPVEYOR_PULL_REQUEST_NUMBER%"=="" (mvn sonar:sonar -B -e -X -V -Dsonar.verbose=true -Dsonar.pullrequest.base=master -Dsonar.pullrequest.branch=%APPVEYOR_PULL_REQUEST_HEAD_REPO_BRANCH% -Dsonar.pullrequest.key=%APPVEYOR_PULL_REQUEST_NUMBER% -Dsonar.pullrequest.provider=GitHub -Dsonar.pullrequest.github.repository=%APPVEYOR_PROJECT_SLUG%)
8889
- C:\Python27\Scripts\behave.exe --no-capture --tags=SqApi67
89-
- del /S /Q *-SNAPSHOT-sources.jar
90+
- del /S /Q *-sources.jar
9091
- del /S /Q original-*.jar
91-
- ren sonar-cxx-plugin\target\*-SNAPSHOT.jar sonar-cxx-plugin-?.?.?.%APPVEYOR_BUILD_NUMBER%.jar
92-
- ren sonar-c-plugin\target\*-SNAPSHOT.jar sonar-c-plugin-?.?.?.%APPVEYOR_BUILD_NUMBER%.jar
93-
- ren sslr-cxx-toolkit\target\*-SNAPSHOT.jar sslr-cxx-toolkit-?.?.?.%APPVEYOR_BUILD_NUMBER%.jar
9492

9593
#---------------------------------#
9694
# artifacts configuration #

integration-tests/features/environment.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,12 @@
3838
SONAR_URL = "http://localhost:9000"
3939
INDENT = " "
4040
BASEDIR = os.path.dirname(os.path.realpath(__file__))
41-
JAR_CXX_PATTERN1 = os.path.join(BASEDIR, "../../sonar-cxx-plugin/target/*SNAPSHOT.jar")
42-
JAR_CXX_PATTERN2 = os.path.join(BASEDIR, "../../sonar-cxx-plugin/target/*RC?.jar")
43-
JAR_CXX_PATTERN3 = os.path.join(BASEDIR, "../../sonar-cxx-plugin/target/*-?.?.?.jar")
44-
JAR_C_PATTERN1 = os.path.join(BASEDIR, "../../sonar-c-plugin/target/*SNAPSHOT.jar")
45-
JAR_C_PATTERN2 = os.path.join(BASEDIR, "../../sonar-c-plugin/target/*RC?.jar")
46-
JAR_C_PATTERN3 = os.path.join(BASEDIR, "../../sonar-c-plugin/target/*-?.?.?.jar")
41+
JAR_CXX_PATTERN1 = os.path.join(BASEDIR, "../../sonar-cxx-plugin/target/*[0-9].jar")
42+
JAR_CXX_PATTERN2 = os.path.join(BASEDIR, "../../sonar-cxx-plugin/target/*SNAPSHOT.jar")
43+
JAR_CXX_PATTERN3 = os.path.join(BASEDIR, "../../sonar-cxx-plugin/target/*RC[0-9].jar")
44+
JAR_C_PATTERN1 = os.path.join(BASEDIR, "../../sonar-c-plugin/target/*[0-9].jar")
45+
JAR_C_PATTERN2 = os.path.join(BASEDIR, "../../sonar-c-plugin/target/*SNAPSHOT.jar")
46+
JAR_C_PATTERN3 = os.path.join(BASEDIR, "../../sonar-c-plugin/target/*RC[0-9].jar")
4747
RELPATH_PLUGINS = "extensions/plugins"
4848
didstartsonar = False
4949

pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@
374374
<plugin>
375375
<groupId>org.apache.maven.plugins</groupId>
376376
<artifactId>maven-surefire-plugin</artifactId>
377-
<version>2.22.0</version>
377+
<version>2.22.1</version>
378378
</plugin>
379379
<plugin>
380380
<groupId>com.mycila</groupId>
@@ -384,7 +384,7 @@
384384
<plugin>
385385
<groupId>org.sonarsource.scanner.maven</groupId>
386386
<artifactId>sonar-maven-plugin</artifactId>
387-
<version>3.4.0.905</version>
387+
<version>3.5.0.1254</version>
388388
</plugin>
389389
</plugins>
390390
</pluginManagement>
@@ -397,7 +397,7 @@
397397
<plugin>
398398
<groupId>org.apache.maven.plugins</groupId>
399399
<artifactId>maven-compiler-plugin</artifactId>
400-
<version>3.7.0</version>
400+
<version>3.8.0</version>
401401
<configuration>
402402
<showDeprecation>true</showDeprecation>
403403
</configuration>

0 commit comments

Comments
 (0)