Ruby On Maven에서 얘기했던 ruby코드로 Maven plugin을 만드는 것은 일단 포기.

현재 버전의 JRuby Maven Plugin는 JRuby 0.9.2에 의존하고 있다. 0.9.9까지 나온 마당에 0.9.2 라니. 그것도 plexus-jruby-factory를 통하고 있는데 사실 최신 plexus-jruby-factory는 0.9.9까지 지원을 한다. 그래서 여러단계의 의존관계를 쫒아가며 오래된 버전을 exclude하고 새 버전으로 다시 dependency하는 등의 별짓을 다 해봤지만 실패다. JRuby가 그 사이 API가 바뀌었는지 플러그인들의 소스를 받아 강제로 빌드를 다시해 수차례 도전했음에도 어떤 조합으로도 내가 만든 Ruby코드를 JRuby Maven Plugin을 가지고 plugin화 할 수 없었다. 어휴.

차라리 Java로 플러그인을 만들고 거기서 최신 JRuby로 직접 ruby코드를 실행하도록 만드는 것이 낫겠다. 물론 일순간이지만 Ruby를 통해서 아주 간결하게 플러그인이 만들어지는 것은 정말 감동적이었다. Ruby의 meta programming이 위력을 다시금 느꼈다.

Maven의 비인기/저활동 플러그인을 잘못 쓰다보면 이런 궁지에 몰리기가 쉽다. 물론 직접 수정해 가면서 쓰고 개발한 플러그인을 다시 공개도 할 수 있겠지만 배보다 배꼽이 더 크다.

Maven2.0과 각종 플러그인들을 동원해 AppFuse2.0을 만들고 있는 Raible의 고충에 조금은 공감이 간다.

Related posts:

  1. Ruby on Maven
  2. Maven archetype 설정파일 자동생성기 – ArchetypeXmlWriter
  3. Maven 다중 리포지토리와 버전 범위를 사용할 때의 주의점
  4. Maven 3.0과 버전 포맷 문제
  5. Nexus Maven Repository 1.0 출시
  6. Maven: The Definitive Guide 사라지다
  7. Maven의 새로운 가이드북 – Maven: The Definitive Guide
  8. Maven 재도전기 (1)
  9. Spring 3.0 (34) R-941 스프링의 Maven 지원정책은?
  10. Maven settings.xml의 비밀번호 암호화
  11. Maven POM에 attribute 사용하기 (1)
  12. Maven POM에 attribute 사용하기 (2)
  13. JRuby개발자 SUN에 고용되다
  14. 유쾌한 이슈처리 재촉 메일
  15. Ruby를 공부하면서…

Facebook comments:

to “Maven 의존관계 수렁에 빠지다”

  1. Muchos Gracias for your article.Really looking forward to read more. Keep writing.

  2. usually posts some pretty fascinating stuff like this. If youre new to this site

  3. Way cool! Some very valid points! I appreciate you writing this write-up plus the rest of the site is really good.

  4. The data mentioned in the post are some of the most effective obtainable

  5. we prefer to honor lots of other world wide web internet sites on the net, even if they arent linked to us, by linking to them. Beneath are some webpages really worth checking out

  6. The information and facts mentioned in the report are several of the best obtainable

  7. ramsen simmonds incesticide bushell sprinkler brasserie Donelle Dalila gazzara

  8. usually posts some very interesting stuff like this. If you are new to this site

  9. Very nice article, totally what I was looking for.

  10. Very nice write-up. I certainly appreciate this site. Keep it up!

  11. Here are a number of the sites we recommend for our visitors

  12. Thanks so much for the article.Much thanks again. Will read on

  13. [...] Since I didn抰 really understand how this works, I did some searching and found an outstanding WordPress Trackback Tutorial that explains much of what I was finding confusing. [...]

  14. Every once inside a when we select blogs that we read. Listed below are the most current web sites that we select

  15. the time to study or visit the content material or web sites we have linked to beneath the

  16. check beneath, are some completely unrelated internet sites to ours, however, they’re most trustworthy sources that we use

  17. I’а†ve learn a few excellent stuff here. Certainly value bookmarking for revisiting. I surprise how so much attempt you set to make this sort of excellent informative website.

  18. Sites of interest we’ve a link to

  19. although internet websites we backlink to below are considerably not connected to ours, we really feel they may be really really worth a go through, so have a look

  20. Thanks again for the article post.Really looking forward to read more. Want more.

  21. What as up to every single one, it as really a nice for me to visit this web page, it consists of helpful Information.

  22. We’re a group of volunteers and opening a new scheme in our community. Your web site provided us with valuable information to work on. You’ve done a formidable job and our entire community will be thankful to you.

  23. This very blog is without a doubt interesting and also factual. I have picked helluva useful stuff out of this source. I ad love to return again soon. Thanks!

  24. Every after in a while we pick blogs that we read. Listed below are the most recent web sites that we opt for

  25. check beneath, are some entirely unrelated sites to ours, nonetheless, they’re most trustworthy sources that we use

  26. Thanks for sharing, this is a fantastic post.Thanks Again. Cool.

  27. we came across a cool website that you might delight in. Take a look when you want

  28. It was really informative. Your site is extremely helpful.

  29. [...] In the WordPress support forum, there are from time to time questions abut trackbacks. I haven抰 used it myself, but I found a good tutorial on the OptiNiche blog. [...]

  30. one of our guests not long ago recommended the following website

  31. Thanks , I ave recently been looking for info about this subject for ages and yours is the best I have discovered till now. But, what about the bottom line? Are you sure about the source?

  32. the time to read or go to the content material or websites we’ve linked to below the

  33. Some really excellent information, Gladiola I observed this.

  34. Thank you for another great post. Where else could anyone get that type of information in such a perfect way of writing? I’ve a presentation next week, and I am on the look for such information.

  35. media is a impressive source of information.

  36. Thank you ever so for you blog post.Really looking forward to read more. Keep writing.

  37. [...] relationships with other bloggers. Check out this extremely well-written trackback tutorial Permalink [...]

  38. always a big fan of linking to bloggers that I like but dont get quite a bit of link really like from

  39. Thanks for the auspicious writeup. It in truth was a enjoyment account it. Look complex to far brought agreeable from you! However, how can we communicate?

  40. one of our visitors a short while ago proposed the following website

  41. I thought it was going to be some boring old publish, but it really compensated for my time. I will publish a link to this page on my weblog. I am sure my visitors will find that really useful

Leave a Reply

(required)

(required)

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

© 2017 Toby's Epril Suffusion theme by Sayontan Sinha