Details
-
Type:
New Feature
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 1.1
-
Component/s: None
-
Labels:None
Description
Sonar server embedds its own maven repository, automatically generated when the process starts.
- the driver 'mydriver.jar' is into /extensions/jdbc-driver/
- the web server starts. It deletes all the files from /temp/maven2
- use maven libraries to deploy mydriver.jar to the maven repository /temp/maven2/ with groupID=ch.hortis.sonar.runtime, artifactId=jdbc-driver, version=1.0-SNAPSHOT.
- Publish /temp/maven2 to the url /maven2
- add the dependency to the pom generated by sonar goals :
<build>
<plugins>
<plugin>
<groupId>ch.hortis.sonar</groupId>
<artifactId>sonar-maven-plugin</artifactId>
<dependencies>
<dependency>
<groupId>ch.hortis.sonar.runtime</groupId>
<artifactId>jdbc-driver</artifactId>
<version>1.0-SNAPSHOT</version>
</dependency>
</dependencies>
</plugin>
</plugins>
</build>