Softhouse / jargo

Argument and options parser for java
Other
17 stars 0 forks source link

How to build? #26

Closed tomasbjerre closed 11 years ago

tomasbjerre commented 11 years ago

How should Jargo be built? I did this:

git clone ... cd jargo mvn eclipse:eclipse

[ERROR] Failed to execute goal on project jargo: Could not resolve dependencies for project se.softhouse:jargo:jar:0.1.1-SNAPSHOT: Failure to find se.softhouse:common-test:jar:0.1.1-SNAPSHOT in https://oss.sonatype.org/content/repositories/snapshots was cached in the local repository, resolution will not be reattempted until the update interval of sonatype-nexus-snapshots has elapsed or updates are forced -> [Help 1]

jontejj commented 11 years ago

For users I recommend just specifying:

<dependency>
    <groupId>se.softhouse</groupId>
    <artifactId>jargo</artifactId>
    <version>0.1</version>
</dependency>

in the maven pom.

For developers: mvn install eclipse:eclipse

Otherwise I recommend doing an import from github in eclipse directly through the m2e plugin.

File -> Import -> Maven -> Check out Maven projects from SCM Install m2e->git connector through the marketplace SCM URL -> Choose git and enter "https://github.com/Softhouse/jargo.git" -> Finish.

It'll grab the code and set it all up for you. If you're planning to contribute please check the wiki