Maven2 plugin. Fix problem with empty injected classpath variables

By neokrates, written on June 23, 2009

howto

Rate it
  • 1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
    Loading ... Loading ...
Ad
Poll
  • What build management tool does your project or firm use?

    • Buildr (47%, 15 Votes)
    • Maven 2 (6%, 2 Votes)
    • Ant (6%, 2 Votes)
    • Maven (3%, 1 Votes)
    • Maven 3 (3%, 1 Votes)
    • Ivy (0%, 0 Votes)
    • GAnt (0%, 0 Votes)
    • Gradle (0%, 0 Votes)
    • Rake (0%, 0 Votes)
    • Raven (0%, 0 Votes)
    • Any Make Type Tool (0%, 0 Votes)

    Total Voters: 32

    Vote

    Loading ... Loading ...
Feeds:
  • bodytext bodytext bodytext
Most popular search terms:

It is most likely that dependencies are not resolved. Use:

1
2
3
4
5
6
/**
* @requiresDependencyResolution
*/
class MyClass {
...
}

 
That will ensure that dependencies are actually present during the run time. mavenRuntimeClasspathVector should work now.

 
Does that help to solve your problem?
VN:F [1.8.5_1061]
Rating: 0 (from 0 votes)
0 votes 'YES'  0 votes 'NO'

LEARN MORE (amazon bookstore)

TAGS

RELATED
Pages
Posts
    nope :(

SOCIAL
Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • bodytext
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • BlinkList
  • Blogosphere News
  • E-mail this story to a friend!
  • Furl
  • LinkArena
  • Live
  • MisterWong
  • Print this article!
  • StumbleUpon
  • Technorati
  • Webnews.de
  • YahooMyWeb

INCOMING SEARCH TERMS


Leave a Reply