ソースを参照

SONAR-2257 Cleanup sonar-plugin-api dependencies

Remove dependency on commons-dbcp, picocontainer and some hibernate dependencies.
We can't remove hibernate-annotations for the moment, because it's used, however
should be removed in future.
tags/2.7
Evgeny Mandrikov 13年前
コミット
85bd7105ce
2個のファイルの変更14行の追加28行の削除
  1. 4
    0
      sonar-core/pom.xml
  2. 10
    28
      sonar-plugin-api/pom.xml

+ 4
- 0
sonar-core/pom.xml ファイルの表示

@@ -61,6 +61,10 @@
<groupId>org.hibernate</groupId>
<artifactId>hibernate-ehcache</artifactId>
</dependency>
<dependency>
<groupId>commons-dbcp</groupId>
<artifactId>commons-dbcp</artifactId>
</dependency>

<dependency>
<groupId>junit</groupId>

+ 10
- 28
sonar-plugin-api/pom.xml ファイルの表示

@@ -59,42 +59,24 @@
<artifactId>sonar-squid</artifactId>
</dependency>

<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-core</artifactId>
</dependency>
<!-- TODO we can't remove hibernate-annotations, because currently it's used
moreover it contains transitive dependency on dom4j, which is used in some plugins
-->
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-annotations</artifactId>
<exclusions>
<exclusion>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-core</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-commons-annotations</artifactId>
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-entitymanager</artifactId>
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-ehcache</artifactId>
</dependency>
<dependency>
<groupId>geronimo-spec</groupId>
<artifactId>geronimo-spec-jta</artifactId>
</dependency>

<dependency>
<groupId>com.google.collections</groupId>
<artifactId>google-collections</artifactId>
</dependency>
<dependency>
<groupId>org.picocontainer</groupId>
<artifactId>picocontainer</artifactId>
</dependency>
<dependency>
<groupId>commons-dbcp</groupId>
<artifactId>commons-dbcp</artifactId>
</dependency>

<!-- TODO remove dependencies on Maven
but for now they should be defined with scope provided

読み込み中…
キャンセル
保存