jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Sonar
  • SONAR-9

The maven plugin downloads the JDBC driver from the sonar server

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: New Feature New Feature
  • Status: Closed Closed
  • Priority: Major 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>

Activity

  • All
  • Comments
  • Work Log
  • History
  • Activity
There are no comments yet on this issue.

People

  • Assignee:
    Simon Brandhof
    Reporter:
    Simon Brandhof
Vote (0)
Watch (0)

Dates

  • Created:
    17/Dec/07 6:48 AM
    Updated:
    19/Dec/07 2:58 AM
    Resolved:
    17/Dec/07 10:02 AM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.