Git Product home page Git Product logo

fitnesse-maven-classpath's People

Contributors

akilantech avatar amolenaar avatar lvonk avatar svanderbijl avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

fitnesse-maven-classpath's Issues

Test Fails - test scope dependencies are missing

trying to build/install the project fails with an unsuccessful test: extractedClasspathIncludesTestScopeDependencies
It contains only the following two path entries instead of the expected 4:

D:\projects\fitnesse-maven-classpath\target\test-classes\MavenClasspathWidget\target\test-classes
D:\projects\fitnesse-maven-classpath\target\test-classes\MavenClasspathWidget\target\classes

Plugins not compatible with fitnesse 20110104

Your plugin is very useful but it seems that fitnesse-maven-classpath is not compatible with the last version of fitnesse 20110104.
Do you plan to release a new version which will work with this fitnesse ?

Thanks in advance

Lionel

Support for localRepository configuration is not implemented (and no warning is given and bad stuff happens)

It's ok that support is missing, but should have better errorhandling. You get a nasty null pointer exception from:
List classpathElements = executionResult.getProject().getTestClasspathElements();

I did modify the code to get a better error reporting:

private List getClasspathElements(Configuration configuration, MavenExecutionRequest request)
throws MavenEmbedderException, DependencyResolutionRequiredException {

MavenEmbedder embedder = new MavenEmbedder(configuration);

MavenExecutionResult executionResult = embedder.readProjectWithDependencies(request);

List<Throwable> exs = executionResult.getExceptions();
for (Throwable t : exs ){
    t.printStackTrace();
}

List<String> classpathElements = executionResult.getProject().getTestClasspathElements();
return classpathElements;

}

I didn't have time to make the code give an exception if user has configured a localrepository in settings.xml. Sorry :-)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.