Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use Maven 3.5.4 #1649

Merged
merged 1 commit into from
Jan 4, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 6 additions & 8 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ install:
}

(new-object System.Net.WebClient).DownloadFile(
'http://www.us.apache.org/dist/maven/maven-3/3.2.5/binaries/apache-maven-3.2.5-bin.zip',
'http://www.us.apache.org/dist/maven/maven-3/3.5.4/binaries/apache-maven-3.5.4-bin.zip',
'C:\maven-bin.zip'
)
[System.IO.Compression.ZipFile]::ExtractToDirectory("C:\maven-bin.zip", "C:\maven")
Expand Down Expand Up @@ -62,9 +62,9 @@ install:
$env:VCVARS_PLATFORM="amd64"
$env:LANG_PLATFORM="-x64"
}
- 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%
- cmd: SET M2_HOME=C:\maven\apache-maven-3.2.5
- cmd: SET MAVEN_HOME=C:\maven\apache-maven-3.2.5
- 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%
- cmd: SET M2_HOME=C:\maven\apache-maven-3.5.4
- cmd: SET MAVEN_HOME=C:\maven\apache-maven-3.5.4
- cmd: SET SONARHOME=C:\sonarqube\sonarqube-6.7.6
- cmd: SET TestDataFolder=C:\projects\sonar-cxx\integration-tests\testdata
- cmd: SET
Expand All @@ -82,15 +82,13 @@ build_script:
- C:\Python27\Scripts\pip.exe install requests
- C:\Python27\Scripts\pip.exe install behave
- C:\Python27\Scripts\pip.exe install colorama
- mvn versions:set -DnewVersion=1.2.2.%APPVEYOR_BUILD_NUMBER%
- mvn org.jacoco:jacoco-maven-plugin:prepare-agent clean install -B -e -V -Pcoverage-per-test
- IF "%APPVEYOR_PULL_REQUEST_NUMBER%"=="" (mvn sonar:sonar -B -e -V -Dsonar.organization=sonaropencommunity -Dsonar.host.url=https://sonarcloud.io -Dsonar.login=%sonarcloudtoken%)
- 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%)
- C:\Python27\Scripts\behave.exe --no-capture --tags=SqApi67
- del /S /Q *-SNAPSHOT-sources.jar
- del /S /Q *-sources.jar
- del /S /Q original-*.jar
- ren sonar-cxx-plugin\target\*-SNAPSHOT.jar sonar-cxx-plugin-?.?.?.%APPVEYOR_BUILD_NUMBER%.jar
- ren sonar-c-plugin\target\*-SNAPSHOT.jar sonar-c-plugin-?.?.?.%APPVEYOR_BUILD_NUMBER%.jar
- ren sslr-cxx-toolkit\target\*-SNAPSHOT.jar sslr-cxx-toolkit-?.?.?.%APPVEYOR_BUILD_NUMBER%.jar

#---------------------------------#
# artifacts configuration #
Expand Down
12 changes: 6 additions & 6 deletions integration-tests/features/environment.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,12 @@
SONAR_URL = "http://localhost:9000"
INDENT = " "
BASEDIR = os.path.dirname(os.path.realpath(__file__))
JAR_CXX_PATTERN1 = os.path.join(BASEDIR, "../../sonar-cxx-plugin/target/*SNAPSHOT.jar")
JAR_CXX_PATTERN2 = os.path.join(BASEDIR, "../../sonar-cxx-plugin/target/*RC?.jar")
JAR_CXX_PATTERN3 = os.path.join(BASEDIR, "../../sonar-cxx-plugin/target/*-?.?.?.jar")
JAR_C_PATTERN1 = os.path.join(BASEDIR, "../../sonar-c-plugin/target/*SNAPSHOT.jar")
JAR_C_PATTERN2 = os.path.join(BASEDIR, "../../sonar-c-plugin/target/*RC?.jar")
JAR_C_PATTERN3 = os.path.join(BASEDIR, "../../sonar-c-plugin/target/*-?.?.?.jar")
JAR_CXX_PATTERN1 = os.path.join(BASEDIR, "../../sonar-cxx-plugin/target/*[0-9].jar")
JAR_CXX_PATTERN2 = os.path.join(BASEDIR, "../../sonar-cxx-plugin/target/*SNAPSHOT.jar")
JAR_CXX_PATTERN3 = os.path.join(BASEDIR, "../../sonar-cxx-plugin/target/*RC[0-9].jar")
JAR_C_PATTERN1 = os.path.join(BASEDIR, "../../sonar-c-plugin/target/*[0-9].jar")
JAR_C_PATTERN2 = os.path.join(BASEDIR, "../../sonar-c-plugin/target/*SNAPSHOT.jar")
JAR_C_PATTERN3 = os.path.join(BASEDIR, "../../sonar-c-plugin/target/*RC[0-9].jar")
RELPATH_PLUGINS = "extensions/plugins"
didstartsonar = False

Expand Down
6 changes: 3 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.22.0</version>
<version>2.22.1</version>
</plugin>
<plugin>
<groupId>com.mycila</groupId>
Expand All @@ -384,7 +384,7 @@
<plugin>
<groupId>org.sonarsource.scanner.maven</groupId>
<artifactId>sonar-maven-plugin</artifactId>
<version>3.4.0.905</version>
<version>3.5.0.1254</version>
</plugin>
</plugins>
</pluginManagement>
Expand All @@ -397,7 +397,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.7.0</version>
<version>3.8.0</version>
<configuration>
<showDeprecation>true</showDeprecation>
</configuration>
Expand Down