Maven2 plugin. Fix problem with empty injected classpath variables

By neokrates, written on June 23, 2009

howto

  • Join date: 11-30-99
  • Posts: 224
View Counter:
  • 36 views
Rate it
Ad
Poll
  • What build management tool does your project or firm use?

    View Results

    Loading ... Loading ...
Feeds:
  • bodytext bodytext bodytext

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

/**
* @requiresDependencyResolution
*/
class MyClass {
...
}

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

Be Sociable, Share!
 
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

SOCIAL
Be Sociable, Share!

INCOMING SEARCH TERMS


Leave a Reply