Skip to content

Comments

Maven support#1

Open
okapies wants to merge 2 commits intoshudo:masterfrom
okapies:maven_support
Open

Maven support#1
okapies wants to merge 2 commits intoshudo:masterfrom
okapies:maven_support

Conversation

@okapies
Copy link

@okapies okapies commented Aug 16, 2013

Adds Maven support for the project. It allows us to manage dependencies more easily and, in the future, can remove binary jars in lib/.

Commands

There are mvn commands corresponding to the ones that available by using ant:

  • mvn package (=>ant jar)
  • mvn package -P jnlp (=>ant jnlp, requires Maven 3.0.3 or later)
  • mvn javadoc:javadoc (=>ant javadoc)
  • mvn assembly:single (=>ant dist)
    • You can build distribution package automatically by configuring src.xml and bin.xml under the src/main/assembly.

Update(2013/08/18): Now the command equivalent to ant jnlp is also available. (Requires Maven 3.0.3 or later to ensure that it works correctly)

Note

The project's directory structure is not compatible with Maven's standard layout. The recommended layout is below:

  • src/ow => src/main/java/ow
  • src/resources => src/main/resources
  • src/jnlp => src/main/jnlp
  • test/ow => src/test/java/ow

Currently build-helper-maven-plugin coordinates them with maven.

@zergood
Copy link

zergood commented Feb 2, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants