commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: Re: Re: [cli2] Cannot build
Date Thu, 20 Oct 2016 14:19:56 GMT
On 19 October 2016 at 14:26, Gerhard Brandl <Gerhard.Brandl@gmx.de> wrote:
> On 18. Oktober 2016 at sebb <sebbaz@gmail.com> wrote:
>> On 17 October 2016 at 20:36, Gerhard Brandl <Gerhard.Brandl@gmx.de> wrote:
>> > On 17. Oktober 2016 um 18:36 sebb <sebbaz@gmail.com> wrote
>> >>
>> >> On 17 October 2016 at 15:57, Gerhard Brandl <Gerhard.Brandl@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
>> >
>>
>> Edit pom.xml:
>>
>> -    <version>10-SNAPSHOT</version>
>> +    <version>10</version>
>>
>
> 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 <path> -r <path> [-o <path> -l <log-level>]
>> >
>> > 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-unsubscribe@commons.apache.org
>> For additional commands, e-mail: user-help@commons.apache.org
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
> For additional commands, e-mail: user-help@commons.apache.org
>

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


Mime
View raw message