Git Product home page Git Product logo

mvndar's Introduction

mvndar

A Maven plugin to create Diffusion DAR files.

Documentation

Changes

[Next release]

  • Java 7 is now a minimum requirement for running the plugin.

1.3

  • [fix] Cope with reloctaed dependencies #2
  • [fix] Fix Windows regression introduced in 1.2 #3

1.2

  • Support and documentation for use of a data folder within the DAR has been removed. This functionality can be replicated by using the diffusionIncludes configuration property.

1.1

  • The plugin's GroupId has changed to com.pushtechnology.tools.

mvndar's People

Contributors

peterhughesdev avatar philipa avatar

Stargazers

 avatar  avatar  avatar

Watchers

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

mvndar's Issues

NullPointerException when including a reasonable looking dependency

This dependency breaks mvndar

<dependency>
  <groupId>org.apache.commons</groupId>
  <artifactId>commons-io</artifactId>
  <version>1.3.2</version>
</dependency>

this one does not

<dependency>
  <groupId>commons-io</groupId>
  <artifactId>commons-io</artifactId>
  <version>1.3.2</version>
</dependency>

mvn clean install gets an exception with this trace

Caused by: java.lang.NullPointerException
    at
com.pushtechnology.mvndar.AddDependenciesTask.perform(AddDependenciesTask.java:59)
    at com.pushtechnology.mvndar.DARMojo.execute(DARMojo.java:179)
    ... 21 more

Random!

Include transitive dependencies

Currently only direct dependencies are pulled in.

mvndar ought to pull in all the transitive dependencies as well, but this requires a lot of boilerplate.

http://stackoverflow.com/questions/1492000/how-to-get-access-to-mavens-dependency-hierarchy-within-a-plugin has several suggestions, the easiest of which is "use Aether".

Maven 3.1.0 has just made a big change in switching from Sonatype Aether to the new, incompatible Eclipse Aether. We'd be placing a Maven 3.1.0 requirement on mvndar if we go down this route. Consequently, I plan to defer this as a known issue until Maven 3.1.0+ is more widely deployed.

mvndar 1.2 inherits windows incompatibility from sample-pom:1.1

[ERROR] Plugin com.pushtechnology.tools:dar-maven-plugin:1.2 or one of its dependencies could not be resolved: Failed to read artifact descriptor for com.pushtechnology.tools:dar-maven-plugin:jar:1.2: 1 problem was encountered while building the effective model for com.pushtechnology.tools:dar-maven-plugin:1.2
[ERROR] [ERROR] 'dependencyManagement.dependencies.dependency.systemPath' for com.pushtechnology.diffusion:diffusion:jar must specify an absolute path but is /Please set the DIFFUSION_HOME environment variable/lib/diffusion.jar @

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.