mirror of
https://bitbucket.org/Mattrixwv/javaclasses.git
synced 2025-12-06 15:03:58 -05:00
Updated for sonarqube
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -1,6 +1,3 @@
|
|||||||
#Ignore all vscode files
|
|
||||||
.vscode/*
|
|
||||||
|
|
||||||
#Ignore build files
|
#Ignore build files
|
||||||
.classpath
|
.classpath
|
||||||
.project
|
.project
|
||||||
|
|||||||
43
.vscode/settings.json
vendored
Normal file
43
.vscode/settings.json
vendored
Normal file
@@ -0,0 +1,43 @@
|
|||||||
|
{
|
||||||
|
"files.exclude": {
|
||||||
|
"**/.classpath": true,
|
||||||
|
"**/.project": true,
|
||||||
|
"**/.settings": true,
|
||||||
|
"**/.factorypath": true
|
||||||
|
},
|
||||||
|
"java.configuration.updateBuildConfiguration": "automatic",
|
||||||
|
"Lua.runtime.special": {},
|
||||||
|
"Lua.runtime.version": "Lua 5.1",
|
||||||
|
"Lua.runtime.pathStrict": false,
|
||||||
|
"Lua.runtime.path": [
|
||||||
|
"?.lua",
|
||||||
|
"?/init.lua",
|
||||||
|
"?/__init__.lua"
|
||||||
|
],
|
||||||
|
"Lua.runtime.plugin": "c:\\Users\\m_ell\\.vscode\\extensions\\lunarwtr.lotro-api-1.0.13\\resources\\Lua\\Plugin\\plugin.lua",
|
||||||
|
"Lua.workspace.library": [
|
||||||
|
"c:\\Users\\m_ell\\.vscode\\extensions\\lunarwtr.lotro-api-1.0.13\\resources\\Lua\\EmmyLua\\Turbine"
|
||||||
|
],
|
||||||
|
"xml.fileAssociations": [
|
||||||
|
{
|
||||||
|
"pattern": "**/*.plugin",
|
||||||
|
"systemId": "c:\\Users\\m_ell\\.vscode\\extensions\\lunarwtr.lotro-api-1.0.13\\resources\\xsds\\lotroplugin.xsd"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"pattern": "**/*.plugincompendium",
|
||||||
|
"systemId": "c:\\Users\\m_ell\\.vscode\\extensions\\lunarwtr.lotro-api-1.0.13\\resources\\xsds\\plugincompendium.xsd"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"pattern": "**/*.musiccompendium",
|
||||||
|
"systemId": "c:\\Users\\m_ell\\.vscode\\extensions\\lunarwtr.lotro-api-1.0.13\\resources\\xsds\\musiccompendium.xsd"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"pattern": "**/*.skincompendium",
|
||||||
|
"systemId": "c:\\Users\\m_ell\\.vscode\\extensions\\lunarwtr.lotro-api-1.0.13\\resources\\xsds\\skincompendium.xsd"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"pattern": "**/SkinDefinition.xml",
|
||||||
|
"systemId": "c:\\Users\\m_ell\\.vscode\\extensions\\lunarwtr.lotro-api-1.0.13\\resources\\xsds\\lotro-skin.xsd"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
42
.vscode/tasks.json
vendored
Normal file
42
.vscode/tasks.json
vendored
Normal file
@@ -0,0 +1,42 @@
|
|||||||
|
{
|
||||||
|
// See https://go.microsoft.com/fwlink/?LinkId=733558
|
||||||
|
// for the documentation about the tasks.json format
|
||||||
|
"version": "2.0.0",
|
||||||
|
"tasks": [
|
||||||
|
{
|
||||||
|
"label": "verify",
|
||||||
|
"type": "shell",
|
||||||
|
"command": "mvn -B verify",
|
||||||
|
"group": "build"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "test",
|
||||||
|
"type": "shell",
|
||||||
|
"command": "mvn -B test",
|
||||||
|
"group": "test"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "sonarqube build",
|
||||||
|
"group": "build",
|
||||||
|
"type": "shell",
|
||||||
|
"command": "mvn",
|
||||||
|
"args":[
|
||||||
|
"clean",
|
||||||
|
"verify",
|
||||||
|
"sonar:sonar",
|
||||||
|
"-D'sonar.projectKey=mattrixwv_javaclasses_AYGcayKpopaC7KAbzMEM'",
|
||||||
|
"-D'sonar.host.url=http://192.168.1.4:9000'",
|
||||||
|
"-D'sonar.login=sqp_2af28d9d9fec79b24bc7db35323d9e2f193b7972'"
|
||||||
|
],
|
||||||
|
"presentation": {
|
||||||
|
"echo": true,
|
||||||
|
"reveal": "always",
|
||||||
|
"focus": false,
|
||||||
|
"panel": "shared",
|
||||||
|
"showReuseMessage": true,
|
||||||
|
"clear": false
|
||||||
|
},
|
||||||
|
"problemMatcher": []
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
33
pom.xml
33
pom.xml
@@ -9,13 +9,12 @@
|
|||||||
<version>1.0-SNAPSHOT</version>
|
<version>1.0-SNAPSHOT</version>
|
||||||
|
|
||||||
<name>myClasses</name>
|
<name>myClasses</name>
|
||||||
<!-- TODO: change it to the project's website -->
|
<url>www.mattrixwv.com</url>
|
||||||
<url>http://www.example.com</url>
|
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
<maven.compiler.source>14</maven.compiler.source>
|
<maven.compiler.source>18</maven.compiler.source>
|
||||||
<maven.compiler.target>14</maven.compiler.target>
|
<maven.compiler.target>18</maven.compiler.target>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
@@ -89,6 +88,32 @@
|
|||||||
<artifactId>maven-project-info-reports-plugin</artifactId>
|
<artifactId>maven-project-info-reports-plugin</artifactId>
|
||||||
<version>3.1.1</version>
|
<version>3.1.1</version>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
<!--Sonar-->
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.sonarsource.scanner.maven</groupId>
|
||||||
|
<artifactId>sonar-maven-plugin</artifactId>
|
||||||
|
<version>3.9.1.2184</version>
|
||||||
|
</plugin>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.jacoco</groupId>
|
||||||
|
<artifactId>jacoco-maven-plugin</artifactId>
|
||||||
|
<version>0.8.8</version>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<id>jacoco-initialize</id>
|
||||||
|
<goals>
|
||||||
|
<goal>prepare-agent</goal>
|
||||||
|
</goals>
|
||||||
|
</execution>
|
||||||
|
<execution>
|
||||||
|
<id>jacoco-site</id>
|
||||||
|
<phase>package</phase>
|
||||||
|
<goals>
|
||||||
|
<goal>report</goal>
|
||||||
|
</goals>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
</project>
|
</project>
|
||||||
|
|||||||
Reference in New Issue
Block a user