On 17 October 2016 at 15:57, Gerhard Brandl <gerhard.bra...@gmx.de> wrote: > Dear CLI2 community, > > please see also my question on stackoverflow > (http://stackoverflow.com/q/40072241/6825374), but I copy it here for your > convenience. > > I would like to use the current version of > org.apache.commons:commons-cli2:2.0-SNAPSHOT. As I cannot find a compiled jar > for downloading, I would like to build it on my own. Thus I checked out > http://svn.apache.org/repos/asf/commons/trunks-sandbox
Why did you checkout that particular tree? The CLI2 code is at: http://svn.apache.org/repos/asf/commons/sandbox/cli2/trunk/ However it is quite old. So why not use CLI instead? > Then I installed maven: > C:\Users\Gerhard\Documents\Projects\asf_commons_trunks-sandbox\cli2>mvn -v > Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; > 2015-11-10T17:41:47+01:00) > Maven home: c:\Program Files (x86)\apache-maven-3.3.9\bin\.. > Java version: 1.8.0_65, vendor: Oracle Corporation > Java home: C:\Program Files\Java\jdk1.8.0_65\jre > Default locale: de_DE, platform encoding: Cp1252 > OS name: "windows 10", version: "10.0", arch: "amd64", family: "dos" > > OK, looks good :-) > > Concerning to "asf_commons_trunks-sandbox\cli2\README.txt" I executed > > C:\Users\Gerhard\Documents\Projects\asf_commons_trunks-sandbox\cli2>mvn clean > package > > [INFO] Scanning for projects... > [ERROR] [ERROR] Some problems were encountered while processing the POMs: > [WARNING] 'parent.relativePath' of POM > org.apache.commons:commons-cli2:2.0-SNAPSHOT > (C:\Users\Gerhard\Documents\Projects\asf_commons_trunks-sandbox\cli2\pom.xml) > points at org.apache.commons:commons-sandbox-aggregator instead of > org.apache.commons:commons-sandbox-parent, please verify your project > structure @ line 19, column 11 > [FATAL] Non-resolvable parent POM for > org.apache.commons:commons-cli2:2.0-SNAPSHOT: Could not find artifact > org.apache.commons:commons-sandbox-parent:pom:10-SNAPSHOT and > 'parent.relativePath' points at wrong local POM @ line 19, column 11 > @ > [ERROR] The build could not read 1 project -> [Help 1] > [ERROR] > [ERROR] The project org.apache.commons:commons-cli2:2.0-SNAPSHOT > (C:\Users\Gerhard\Documents\Projects\asf_commons_trunks-sandbox\cli2\pom.xml) > has 1 error > [ERROR] Non-resolvable parent POM for > org.apache.commons:commons-cli2:2.0-SNAPSHOT: Could not find artifact > org.apache.commons:commons-sandbox-parent:pom:10-SNAPSHOT and > 'parent.relativePath' points at wrong local POM @ line 19, column 11 -> [Help > 2] > [ERROR] ... > > I am quite sure I´ve done a simple error. Can you please help me? > > Regards! > Gerhard > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@commons.apache.org > For additional commands, e-mail: user-h...@commons.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@commons.apache.org For additional commands, e-mail: user-h...@commons.apache.org