rvais / xmvn

Forked from xmvn 7 years ago
Clone
README.md
___  ___ __  __
\  \/  /|  \/  |__ __ ___
 \    / | |\/| |\ V /| ' \
 /    \ |_|  |_| \_/ |_||_|  v. 2.6.0-SNAPSHOT
/__/\  \
     \_/   ~ intelligent packaging ~

http://mizdebsk.fedorapeople.org/xmvn/

XMvn is a set of extensions for Apache Maven that can be used to manage system artifact repository and use it to resolve Maven artifacts in offline mode. It also provides Maven plugins to help with creating RPM packages containing Maven artifacts.

XMvn is free software. You can redistribute and/or modify it under the terms of Apache License Version 2.0.

XMvn was written by Mikolaj Izdebski.

Build Status

Building

Some parts of XMvn require Gradle, which is not available in Maven Central repository. Therefore the first time you build XMvn you'll need to download and install required dependencies into Maven local repository by running the following command:

mvn -f libs install

After Gradle is available in your local repository you'll be able to build XMvn using standard Maven commands, or import it into IDEs like Eclipse.

In some scenarios, like automated builds or continous integration, it may be useful to download Gradle libraries and build XMvn in one step. This can be achieved by activating libs profile (mvn -P libs ...). This profile is activated automatically when CI environmental variable is set to true, for example on TravisCI.

Eclipse

XMvn author believes that storing Eclipse project files together with code is generally a bad idea. Instead, Eclipse project files and settings are provided in a separate git branch.

To add XMvn Eclipse project files to existing git working tree, run:

git --git-dir .eclipse init
git --git-dir .eclipse remote add -f origin git://git.fedorahosted.org/git/xmvn.git
git --git-dir .eclipse --work-tree . checkout eclipse
ln -sf ../../.gitignore_eclipse .eclipse/info/exclude

If you prefer to use Github repo, use the following git URL instead:

git://github.com/mizdebsk/xmvn.git

To spawn a shell with Eclipse repo set as default you can run:

GIT_DIR=.eclipse $SHELL

Contact

XMvn is a community project, new contributotrs are welcome. The most straightforward way to introduce new features is writting them yourself. The preferred way to requests features and report bugs is Red Hat Bugzilla: http://bugzilla.redhat.com/enter_bug.cgi?product=fedora&component=xmvn

The easiest way to get support is asking on IRC -- #fedora-java on freenode. You can also write to Fedora Java list java-devel@lists.fedoraproject.org or directly to XMVn maintainers xmvn-owner@fedoraproject.org.