Re: Re: Re: [cli2] Cannot build
On 19 October 2016 at 14:26, Gerhard Brandlwrote: > On 18. Oktober 2016 at sebb wrote: >> On 17 October 2016 at 20:36, Gerhard Brandl wrote: >> > On 17. Oktober 2016 um 18:36 sebb wrote >> >> >> >> On 17 October 2016 at 15:57, Gerhard Brandl 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 >> > >> >> Edit pom.xml: >> >> -10-SNAPSHOT >> +10 >> > > Great! Successfully compiled :-) > As I also asked for help in stackoverflow, shall I answer my stackoverflow > request yes please > or would you like to do it? > > >> >> 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 -r [-o -l ] >> > >> > Does this also work with CLI (1.3.1 or 1.4) >> >> Sorry, I don't know. > > OK, I will open an separate thread for this usage question. thanks > BTW: cli2 works for my little example like described above. > > Bye > 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
Aw: Re: Re: [cli2] Cannot build
On 18. Oktober 2016 at sebbwrote: > On 17 October 2016 at 20:36, Gerhard Brandl wrote: > > On 17. Oktober 2016 um 18:36 sebb wrote > >> > >> On 17 October 2016 at 15:57, Gerhard Brandl 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 > > > > Edit pom.xml: > > -10-SNAPSHOT > +10 > Great! Successfully compiled :-) As I also asked for help in stackoverflow, shall I answer my stackoverflow request, or would you like to do it? > >> 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 -r [-o -l ] > > > > Does this also work with CLI (1.3.1 or 1.4) > > Sorry, I don't know. OK, I will open an separate thread for this usage question. BTW: cli2 works for my little example like described above. Bye 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
Re: Re: [cli2] Cannot build
On 17 October 2016 at 20:36, Gerhard Brandlwrote: > On 17. Oktober 2016 um 18:36 sebb wrote >> >> On 17 October 2016 at 15:57, Gerhard Brandl 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 > Edit pom.xml: -10-SNAPSHOT +10 >> 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 -r [-o -l ] > > Does this also work with CLI (1.3.1 or 1.4) Sorry, I don't know. > 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:
Aw: Re: [cli2] Cannot build
On 17. Oktober 2016 um 18:36 sebbwrote > > On 17 October 2016 at 15:57, Gerhard Brandl 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 -r [-o -l ] 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 > >
Re: [cli2] Cannot build
On 17 October 2016 at 15:57, Gerhard Brandlwrote: > 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
[cli2] Cannot build
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 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