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. just beneath, are various totally not associated sites to ours, on the other hand, they may be surely really worth going over

  2. that will be the end of this write-up. Here you will find some web sites that we assume youll enjoy, just click the links over

  3. I just want to mention I’m all new to blogs and certainly savored you’re web site. More than likely I’m want to bookmark your site . You surely have good writings. Appreciate it for sharing your web page.

  4. we like to honor several other online internet sites around the net, even though they arent linked to us, by linking to them. Beneath are some webpages really worth checking out

  5. Sites of interest we have a link to

  6. Muchos Gracias for your blog article.Much thanks again. Fantastic.

  7. There is certainly a great deal to know about this issue. I love all of the points you ave made.

  8. Really informative blog post.Really looking forward to read more. Great.

  9. There is also one more method to increase traffic in favor of your website that is link exchange, therefore you as well try it

  10. Loving the info on this site, you have done outstanding job on the articles.

  11. just beneath, are numerous totally not related websites to ours, however, they’re surely worth going over

  12. I think, what is it аАа’аАТ‚б‚Т€Т a false way. And from it it is necessary to turn off.

  13. Im no expert, but I believe you just crafted the best point. You obviously know what youre talking about, and I can truly get behind that. Thanks for being so upfront and so honest.

  14. internet. You actually know how to bring an issue to light and make it important.

  15. very few web-sites that happen to be comprehensive beneath, from our point of view are undoubtedly nicely really worth checking out

  16. usually posts some incredibly interesting stuff like this. If youre new to this site

  17. Very good article post.Much thanks again. Much obliged.

  18. Thank you for sharing this great post. Very interesting ideas! (as always, btw)

  19. There is definately a great deal to find out about this topic. I love all of the points you ave made.

  20. Really good information can live establish taking place trap blog.

  21. I just wanted to develop a message to thank you for these great concepts you are placing on this website. My extensive internet look up has at the end been honored with awesome knowledge to write about with my friends and classmates. I ‘d admit that most of us visitors are undeniably blessed to dwell in a superb website with so many outstanding people with good tactics. I feel rather lucky to have discovered your site and look forward to tons of more cool minutes reading here. Thanks once again for all the details.

  22. Thanks for sharing your thoughts. I really appreciate your efforts and I am waiting for your further write ups thank you once again.

  23. Wonderful blog! I found it while browsing on Yahoo News. Do you have any suggestions on how to get listed in Yahoo News? I ave been trying for a while but I never seem to get there! Thank you

  24. very handful of web-sites that happen to become comprehensive below, from our point of view are undoubtedly very well really worth checking out

  25. please check out the sites we stick to, such as this a single, as it represents our picks in the web

  26. check beneath, are some absolutely unrelated internet websites to ours, even so, they’re most trustworthy sources that we use

  27. Very nice post. I just stumbled upon your blog and wished to say that I have truly enjoyed browsing your blog posts. In any case I will be subscribing to your rss feed and I hope you write again soon!

  28. check below, are some absolutely unrelated web sites to ours, nevertheless, they’re most trustworthy sources that we use

  29. please take a look at the web pages we follow, like this one, as it represents our picks through the web

  30. that may be the finish of this report. Right here you will discover some sites that we think you will enjoy, just click the links over

  31. Here are several of the websites we suggest for our visitors

  32. Wonderful story, reckoned we could combine several unrelated data, nonetheless genuinely really worth taking a look, whoa did 1 discover about Mid East has got extra problerms at the same time

  33. to get my own, personal blog now my site; camping stove bbq

  34. check below, are some completely unrelated web sites to ours, on the other hand, they’re most trustworthy sources that we use

  35. Really appreciate you sharing this blog.Thanks Again. Fantastic.

  36. Thanks-a-mundo for the blog.Really thank you! Want more.

  37. to mine. Please blast me an email if interested.

  38. very couple of sites that come about to be detailed below, from our point of view are undoubtedly properly really worth checking out

  39. I enjoy you because of all your labor on this website. My aunt take interest in going through internet research and it is easy to understand why. My spouse and i notice all relating to the powerful medium you render very helpful techniques through the website and therefore welcome response from the others on the point plus our child is undoubtedly discovering a lot of things. Take pleasure in the remaining portion of the new year. You have been doing a fabulous job.

  40. You have observed very interesting points ! ps nice internet site. Tis a sharp medicine, but it will cure all that ails you. last words before his beheadding by Sir Walter Raleigh.

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