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. groovy plugin도 안되더라구요… mojo에서 jruby나 groovy 같은 스크립트 언어를 호출하는 방식도 괜찮군요..+_+ 좋은 정보 보고 갑니다~~~ :-)

  2. I rarely drop remarks, however i did some searching and wound up here Maven 의존관계 수렁에 빠지다 » Toby's Epril. And I do have a couple of questions for you if you do not mind. Is it just me or does it look like a few of the remarks appear like they are left by brain dead visitors? :-P And, if you are posting on other online social sites, I would like to keep up with anything new you have to post. Would you list of the complete urls of all your public sites like your Facebook page, twitter feed, or linkedin profile?

  3. That’s a quick-witted answer to a difficult qeutsion

  4. I write a comment each time I especially enjoy a article on a site or if I have something to add to the discussion. It’s triggered by the passion communicated in the post I read. And on this article Maven 의존관계 수렁에 빠지다 » Toby&. I was moved enough to drop a thought :-) I actually do have a couple of questions for you if you usually do not mind. Is it simply me or does it give the impression like some of the remarks look as if they are left by brain dead visitors? :-P And, if you are writing at additional sites, I’d like to follow you. Could you make a list the complete urls of your shared sites like your twitter feed, Facebook page or linkedin profile?

  5. I tend not to leave many responses, however after reading a few of the remarks on Maven 의존관계 수렁에 빠지다 » Toby&. I do have some questions for you if it’s allright. Is it just me or do some of these remarks look like they are left by brain dead individuals? :-P And, if you are posting on other places, I would like to follow everything new you have to post. Would you make a list of the complete urls of all your shared sites like your linkedin profile, Facebook page or twitter feed?

  6. I believe everything posted was actually very reasonable. But, think on this, what if you added a little content? I ain’t suggesting your information is not good., but what if you added a title that grabbed people’s attention? I mean Maven 의존관계 수렁에 빠지다 » Toby& is kinda boring. You might peek at Yahoo’s front page and see how they create news headlines to get people interested. You might add a related video or a picture or two to get people excited about everything’ve got to say. Just my opinion, it might make your posts a little bit more interesting.

  7. こんにちは、またブログ覗かせていただきました。また、遊びに来ま~す。よろしくお願いします

  8. オークリー サングラス…

    Maven 의존관계 수렁에 빠지다 » Toby’s Epril…

  9. I really wish I hadn’t seen this as I really want one now!

  10. you have a great blog here! would you like to make some invite posts on my blog?

  11. Hop Over To This Website

  12. Hop Over To Here
    [url=http://www.jnodjs.net/member/contentilistq.php?/meglio-moncler-o-peuterey-moncler-clearance-sale.html]meglio moncler o peuterey-moncler-clearance sale[/url]
    meglio moncler o peuterey-moncler-clearance sale

  13. new gucci mane mixtape 2010 Maven 의존관계 수렁에 빠지다 » Toby’s Epril

  14. Navigate To This Web-site
    [url=http://bootssaleukonline.com]ugg boots sale uk[/url]
    ugg boots sale uk

  15. Click To Find Out More
    [url=http://australiaukbootsale.com]ugg australia sale[/url]
    ugg australia sale

  16. shop mbt shoes online us Maven 의존관계 수렁에 빠지다 » Toby’s Epril

  17. mbt special offer outlet Maven 의존관계 수렁에 빠지다 » Toby’s Epril

  18. mbt uk Maven 의존관계 수렁에 빠지다 » Toby’s Epril

  19. mbt tennis shoes Maven 의존관계 수렁에 빠지다 » Toby’s Epril

  20. You must learn from your past mistakes, but not lean on your past successes.

  21. Great place to order cheap jersey maxi dresses uk by Paypal.
    latvian hockey jersey

  22. Thanks for the marvelous posting! I definitely enjoyed reading it, you could be
    a great author. I will remember to bookmark your
    blog and may come back in the future. I want to encourage one to continue your great writing, have a nice
    evening!

  23. Hi, all is going perfectly here and ofcourse every one is sharing
    facts, that’s truly fine, keep up writing.

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