Eclipseプラグイン開発にMaven2
Eclipseプラグイン開発にMaven2が適応できないだろうか、って思ってみた。
他の開発でMaven2に慣れてしまい、プラグインが依存するjarを集めてくるのが億劫になってしまいました。そうするとまぁ、Eclipseプラグインプロジェクトのビルドパスにある「プラグイン依存関係」にまとめてあるjar達(org.eclipse.ui とか gef とか)もprovidedスコープでdependencyに追加しなきゃいけないですよね。そこで、こんなrepositoryを見つけました。
<repository> <id>central-eclipse</id> <name>eclipse maven repository</name> <url>http://repo1.maven.org/eclipse/</url> </repository>
ここにそれ系のjarがあるようです。で、dependency に色々追加したのです…ガ。
07/06/23 21:42:27 JST: No versions are present in the repository for the artifact with a range [3.2.0,4.0.0) org.eclipse.search:org.eclipse.search:jar:null from the specified remote repositories: central (http://repo1.maven.org/maven2), eclipse-repo (http://repo1.maven.org/eclipse/)
って言われます。http://repo1.maven.org/eclipse/org/eclipse/search/org.eclipse.search/ に、ちゃんと有るじゃないか…。と思うのですが。何故だろー。