summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkaixiliu <liukaixi@chinamobile.com>2024-06-18 15:48:46 +0800
committerkaixiliu <liukaixi@chinamobile.com>2024-06-18 15:50:35 +0800
commita20e3aee6d851990472c36006512be5036021242 (patch)
treebb36b34b244aa487230d1b549627ff05615e47dd
parente80fb3bade9224fdf2c768a643f7d75a331bc683 (diff)
modify pom.xml file
Issue-ID: USECASEUI-838 Change-Id: Ib1d6765f1d8bfb22b9d0a298c6ab5dd5adc31f35 Signed-off-by: kaixiliu <liukaixi@chinamobile.com>
-rw-r--r--llm-adaptation/pom.xml10
-rw-r--r--pom.xml9
2 files changed, 15 insertions, 4 deletions
diff --git a/llm-adaptation/pom.xml b/llm-adaptation/pom.xml
index 74ff409..00afa7c 100644
--- a/llm-adaptation/pom.xml
+++ b/llm-adaptation/pom.xml
@@ -14,9 +14,15 @@
<version>1.0-SNAPSHOT</version>
<properties>
- <maven.compiler.source>17</maven.compiler.source>
- <maven.compiler.target>17</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+ <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
+ <java.version>17</java.version>
+ <sonar.language>java</sonar.language>
+ <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
+ <sonar.coverage.jacoco.xmlReportPaths>${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths>
+ <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero>
+ <sonar.projectVersion>${project.version}</sonar.projectVersion>
+ <sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis>
</properties>
<dependencyManagement>
diff --git a/pom.xml b/pom.xml
index 0a06ef9..f1ef7f2 100644
--- a/pom.xml
+++ b/pom.xml
@@ -35,9 +35,14 @@
</modules>
<properties>
- <maven.compiler.source>17</maven.compiler.source>
- <maven.compiler.target>17</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+ <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
+ <sonar.projectVersion>${project.version}</sonar.projectVersion>
+ <maven.build.timestamp.format>yyyyMMdd'T'HHmm</maven.build.timestamp.format>
+ <nexusproxy>https://nexus.onap.org</nexusproxy>
+ <snapshotNexusPath>content/repositories/snapshots/</snapshotNexusPath>
+ <releaseNexusPath>content/repositories/releases/</releaseNexusPath>
+ <siteNexusPath>content/sites/site/${project.groupId}/${project.artifactId}/${project.version}/</siteNexusPath>
</properties>
</project> \ No newline at end of file