On 17. Oktober 2016 um 18:36 sebb <seb...@gmail.com> wrote 
>
> 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/

Thanks!
I checked this out, but also receive this error

C:\Users\Gerhard\Documents\Projects\asf_commons_sandbox_cli2_trunk>mvn clean 
package
[INFO] Scanning for projects...
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[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_sandbox_cli2_trunk\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]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please 
read the following articles:
[ERROR] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
[ERROR] [Help 2] 
http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException


> However it is quite old.
> 
> So why not use CLI instead?

I like the Options-Model as described here 
https://commons.apache.org/sandbox/commons-cli2/manual/options.html
I think with this I can have some command line statements like this

-v | -h | -c <path> -r <path> [-o <path> -l <log-level>]

Does this also work with CLI (1.3.1 or 1.4)

Bye
 Gerhard

> > 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
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@commons.apache.org
For additional commands, e-mail: user-h...@commons.apache.org

Reply via email to