You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by domi <do...@fortysix.ch> on 2013/08/07 23:12:18 UTC

maven-scm-provider-jgit

Hi everyone,

a couple of weeks ago I have contributed a git scm provider based on jgit. This one was pulled into the master branch by Olivier Lamy:

Origin: git://git.apache.org/maven-scm.git
Mirror: https://github.com/apache/maven-scm
https://github.com/apache/maven-scm/tree/master/maven-scm-providers/maven-scm-providers-git/maven-scm-provider-jgit

All the tests work fine, except for one single test which fails on one single Mac of Olivier - on all other test systems it works fine.
As its hard to debug something which we can't really reproduce, I'm asking for some support on this list. I don't even know 
what exactly fails - so if you could just checkout the repo and run a build on it and tell us if it fails, that would already be of value.

I hope we can solve this issue soon and do a release with the new scm-provider - I'm really waiting for this.

regards Domi



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: maven-scm-provider-jgit

Posted by Mirko Friedenhagen <mf...@gmail.com>.
Just an observation (700km away from my notebook for the next 2 weeks :-)):

Olivier started Maven in the root of maven-scm, while Brett cd'ed to
maven-scm-provider-jgit

Regards Mirko
-- 
Sent from my mobile
On Aug 8, 2013 1:15 AM, "Olivier Lamy" <ol...@apache.org> wrote:

> lucky :-)
>
> Here
> mvn clean install -pl :maven-scm-provider-jgit -am
>
> Results :
>
> Failed tests:
>
> testChangeLogCommand(org.apache.maven.scm.provider.git.jgit.command.changelog.JGitChangeLogCommandTckTest):
> expected:<1> but was:<0>
>
> Tests run: 9, Failures: 1, Errors: 0, Skipped: 0
>
>
> For some reason when "walking" in the revs the filter receive a
> RevCommit with a commit time of 0. So doesn't work with the filtering
> by date.
>
>
>
> 2013/8/8 Brett Porter <br...@apache.org>:
> > Works here:
> >
> > maven-scm-provider-jgit (master=)$ mvn clean install -Ptck
> >
> > Results :
> >
> > Tests run: 9, Failures: 0, Errors: 0, Skipped: 0
> >
> > - Brett
> >
> > On 08/08/2013, at 7:12 AM, domi <do...@fortysix.ch> wrote:
> >
> >> Hi everyone,
> >>
> >> a couple of weeks ago I have contributed a git scm provider based on
> jgit. This one was pulled into the master branch by Olivier Lamy:
> >>
> >> Origin: git://git.apache.org/maven-scm.git
> >> Mirror: https://github.com/apache/maven-scm
> >>
> https://github.com/apache/maven-scm/tree/master/maven-scm-providers/maven-scm-providers-git/maven-scm-provider-jgit
> >>
> >> All the tests work fine, except for one single test which fails on one
> single Mac of Olivier - on all other test systems it works fine.
> >> As its hard to debug something which we can't really reproduce, I'm
> asking for some support on this list. I don't even know
> >> what exactly fails - so if you could just checkout the repo and run a
> build on it and tell us if it fails, that would already be of value.
> >>
> >> I hope we can solve this issue soon and do a release with the new
> scm-provider - I'm really waiting for this.
> >>
> >> regards Domi
> >>
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> >> For additional commands, e-mail: dev-help@maven.apache.org
> >>
> >
> > --
> > Brett Porter   @brettporter
> > http://brettporter.wordpress.com/
> > http://au.linkedin.com/in/brettporter
> >
> >
> >
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> > For additional commands, e-mail: dev-help@maven.apache.org
> >
>
>
>
> --
> Olivier Lamy
> Ecetera: http://ecetera.com.au
> http://twitter.com/olamy | http://linkedin.com/in/olamy
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>
>

Re: maven-scm-provider-jgit

Posted by domi <do...@fortysix.ch>.
Olivier and all,
sorry, I'm not really a member of the maven dev team - so I wanted to ask what the options could be to make some progress on this
or if you feel that the jgit scm-provider should rather be hosted somewhere else then @ASF?
So far it looks like the tests just fail on one single installation - Olivier's Mac :) and we don't have any idea what the issue really is...
regards Domi


On 23.08.2013, at 09:05, Arnaud Héritier <ah...@gmail.com> wrote:

> Could it be something due to your local git settings ? I suppose that
> JGIT is probably using them and maybe you have something changing git
> behavior and breaking the test ? (I didn't have a look at all at the
> test and the code)
> 
> ---------
> Arnaud
> 
> Le 23 août 2013 à 01:48, Olivier Lamy <ol...@apache.org> a écrit :
> 
>> grhhh
>> same with:
>> Apache Maven 3.0.5 (r01de14724cdef164cd33c7c8c2fe155faf9602da; 2013-02-20
>> 00:51:28+1100)
>> Maven home: /Users/olamy/softs/maven/apache-maven-3.0.5
>> Java version: 1.6.0_51, vendor: Apple Inc.
>> Java home: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
>> Default locale: en_US, platform encoding: MacRoman
>> OS name: "mac os x", version: "10.8.4", arch: "x86_64", family: "mac"
>> 
>> maybe a jgit bug?
>> 
>> It looks I will have to use a vm to release that :-)
>> 
>> On 20 August 2013 06:21, domi <do...@fortysix.ch> wrote:
>>> I tried again with the same maven and java version Olivier has used -
>> only Maven is a release version instead of the SNAPSHOT used by Olivier.
>>> @Olivier: can you have a try with a released Maven Version?
>>> 
>>> elongatus:maven-scm domi$
>> /Users/domi/Downloads/apache-maven-3.1.0/bin/mvn -version
>>> Apache Maven 3.1.0 (893ca28a1da9d5f51ac03827af98bb730128f9f2; 2013-06-28
>> 04:15:32+0200)
>>> Maven home: /Users/domi/Downloads/apache-maven-3.1.0
>>> Java version: 1.7.0_25, vendor: Oracle Corporation
>>> Java home:
>> /Library/Java/JavaVirtualMachines/jdk1.7.0_25.jdk/Contents/Home/jre
>>> Default locale: en_US, platform encoding: UTF-8
>>> OS name: "mac os x", version: "10.8.4", arch: "x86_64", family: "mac"
>>> 
>>> 
>>> 
>>> On 10.08.2013, at 04:00, Olivier Lamy <ol...@apache.org> wrote:
>>> 
>>>> Here:
>>>> 
>>>> mb-olamy:maven-scm olamy$ mvn -v
>>>> Apache Maven 3.1-SNAPSHOT (7bb5f1957a3bd9ee8357f8ddaee6f61e975ae954;
>>>> 2013-07-05 22:50:43+1000)
>>>> Maven home: /Users/olamy/softs/maven/trunk
>>>> Java version: 1.7.0_25, vendor: Oracle Corporation
>>>> Java home:
>> /Library/Java/JavaVirtualMachines/jdk1.7.0_25.jdk/Contents/Home/jre
>>>> Default locale: en_US, platform encoding: UTF-8
>>>> OS name: "mac os x", version: "10.8.4", arch: "x86_64", family: "mac"
>>>> 
>>>> 
>>>> 
>>>> 
>>>> On 9 August 2013 13:25, domi <do...@fortysix.ch> wrote:
>>>>> The versions I used are:
>>>>> 
>>>>> elongatus:resources domi$ java -version
>>>>> java version "1.6.0_45"
>>>>> Java(TM) SE Runtime Environment (build 1.6.0_45-b06-451-11M4406)
>>>>> Java HotSpot(TM) 64-Bit Server VM (build 20.45-b01-451, mixed mode)
>>>>> elongatus:resources domi$ mvn -version
>>>>> Apache Maven 3.0.4 (r1232337; 2012-01-17 09:44:56+0100)
>>>>> Maven home: /usr/share/maven
>>>>> Java version: 1.6.0_45, vendor: Apple Inc.
>>>>> Java home:
>> /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
>>>>> Default locale: en_US, platform encoding: MacRoman
>>>>> OS name: "mac os x", version: "10.8.4", arch: "x86_64", family: "mac"
>>>>> elongatus:resources domi$
>>>>> 
>>>>> 
>>>>> On 08.08.2013, at 11:26, Baptiste MATHUS <ml...@batmat.net> wrote:
>>>>> 
>>>>>> Maybe there's a difference between java/maven versions in use?
>>>>>> 
>>>>>> Where does it [not] work? Olivier? Domi, what was the version you
>>>>>> tested/dev'd it against?
>>>>>> 
>>>>>> 
>>>>>> 2013/8/8 Stephen Connolly <st...@gmail.com>
>>>>>> 
>>>>>>> On 8 August 2013 02:12, Olivier Lamy <ol...@apache.org> wrote:
>>>>>>> 
>>>>>>>> mvn clean install -pl :maven-scm-provider-jgit -am
>>>>>>> 
>>>>>>> 
>>>>>>> works on my mac
>>>>>>> 
>>>>>>> --
>>>>>>> Baptiste <Batmat> MATHUS - http://batmat.net
>>>>>>> Sauvez un arbre,
>>>>>>> Mangez un castor ! nbsp;!
>>>> 
>>>> 
>>>> 
>>>> --
>>>> Olivier Lamy
>>>> Ecetera: http://ecetera.com.au
>>>> http://twitter.com/olamy | http://linkedin.com/in/olamy
>>>> 
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>>>> For additional commands, e-mail: dev-help@maven.apache.org
>>> 
>>> 
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>>> For additional commands, e-mail: dev-help@maven.apache.org
>> 
>> --
>> Olivier Lamy
>> Ecetera: http://ecetera.com.au
>> http://twitter.com/olamy | http://linkedin.com/in/olamy
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: maven-scm-provider-jgit

Posted by Arnaud Héritier <ah...@gmail.com>.
Could it be something due to your local git settings ? I suppose that
JGIT is probably using them and maybe you have something changing git
behavior and breaking the test ? (I didn't have a look at all at the
test and the code)

---------
Arnaud

Le 23 août 2013 à 01:48, Olivier Lamy <ol...@apache.org> a écrit :

> grhhh
> same with:
> Apache Maven 3.0.5 (r01de14724cdef164cd33c7c8c2fe155faf9602da; 2013-02-20
> 00:51:28+1100)
> Maven home: /Users/olamy/softs/maven/apache-maven-3.0.5
> Java version: 1.6.0_51, vendor: Apple Inc.
> Java home: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
> Default locale: en_US, platform encoding: MacRoman
> OS name: "mac os x", version: "10.8.4", arch: "x86_64", family: "mac"
>
> maybe a jgit bug?
>
> It looks I will have to use a vm to release that :-)
>
> On 20 August 2013 06:21, domi <do...@fortysix.ch> wrote:
>> I tried again with the same maven and java version Olivier has used -
> only Maven is a release version instead of the SNAPSHOT used by Olivier.
>> @Olivier: can you have a try with a released Maven Version?
>>
>> elongatus:maven-scm domi$
> /Users/domi/Downloads/apache-maven-3.1.0/bin/mvn -version
>> Apache Maven 3.1.0 (893ca28a1da9d5f51ac03827af98bb730128f9f2; 2013-06-28
> 04:15:32+0200)
>> Maven home: /Users/domi/Downloads/apache-maven-3.1.0
>> Java version: 1.7.0_25, vendor: Oracle Corporation
>> Java home:
> /Library/Java/JavaVirtualMachines/jdk1.7.0_25.jdk/Contents/Home/jre
>> Default locale: en_US, platform encoding: UTF-8
>> OS name: "mac os x", version: "10.8.4", arch: "x86_64", family: "mac"
>>
>>
>>
>> On 10.08.2013, at 04:00, Olivier Lamy <ol...@apache.org> wrote:
>>
>>> Here:
>>>
>>> mb-olamy:maven-scm olamy$ mvn -v
>>> Apache Maven 3.1-SNAPSHOT (7bb5f1957a3bd9ee8357f8ddaee6f61e975ae954;
>>> 2013-07-05 22:50:43+1000)
>>> Maven home: /Users/olamy/softs/maven/trunk
>>> Java version: 1.7.0_25, vendor: Oracle Corporation
>>> Java home:
> /Library/Java/JavaVirtualMachines/jdk1.7.0_25.jdk/Contents/Home/jre
>>> Default locale: en_US, platform encoding: UTF-8
>>> OS name: "mac os x", version: "10.8.4", arch: "x86_64", family: "mac"
>>>
>>>
>>>
>>>
>>> On 9 August 2013 13:25, domi <do...@fortysix.ch> wrote:
>>>> The versions I used are:
>>>>
>>>> elongatus:resources domi$ java -version
>>>> java version "1.6.0_45"
>>>> Java(TM) SE Runtime Environment (build 1.6.0_45-b06-451-11M4406)
>>>> Java HotSpot(TM) 64-Bit Server VM (build 20.45-b01-451, mixed mode)
>>>> elongatus:resources domi$ mvn -version
>>>> Apache Maven 3.0.4 (r1232337; 2012-01-17 09:44:56+0100)
>>>> Maven home: /usr/share/maven
>>>> Java version: 1.6.0_45, vendor: Apple Inc.
>>>> Java home:
> /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
>>>> Default locale: en_US, platform encoding: MacRoman
>>>> OS name: "mac os x", version: "10.8.4", arch: "x86_64", family: "mac"
>>>> elongatus:resources domi$
>>>>
>>>>
>>>> On 08.08.2013, at 11:26, Baptiste MATHUS <ml...@batmat.net> wrote:
>>>>
>>>>> Maybe there's a difference between java/maven versions in use?
>>>>>
>>>>> Where does it [not] work? Olivier? Domi, what was the version you
>>>>> tested/dev'd it against?
>>>>>
>>>>>
>>>>> 2013/8/8 Stephen Connolly <st...@gmail.com>
>>>>>
>>>>>> On 8 August 2013 02:12, Olivier Lamy <ol...@apache.org> wrote:
>>>>>>
>>>>>>> mvn clean install -pl :maven-scm-provider-jgit -am
>>>>>>
>>>>>>
>>>>>> works on my mac
>>>>>>
>>>>>> --
>>>>>> Baptiste <Batmat> MATHUS - http://batmat.net
>>>>>> Sauvez un arbre,
>>>>>> Mangez un castor ! nbsp;!
>>>
>>>
>>>
>>> --
>>> Olivier Lamy
>>> Ecetera: http://ecetera.com.au
>>> http://twitter.com/olamy | http://linkedin.com/in/olamy
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>>> For additional commands, e-mail: dev-help@maven.apache.org
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>> For additional commands, e-mail: dev-help@maven.apache.org
>
> --
> Olivier Lamy
> Ecetera: http://ecetera.com.au
> http://twitter.com/olamy | http://linkedin.com/in/olamy

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: maven-scm-provider-jgit

Posted by Olivier Lamy <ol...@apache.org>.
grhhh
same with:
Apache Maven 3.0.5 (r01de14724cdef164cd33c7c8c2fe155faf9602da; 2013-02-20
00:51:28+1100)
Maven home: /Users/olamy/softs/maven/apache-maven-3.0.5
Java version: 1.6.0_51, vendor: Apple Inc.
Java home: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
Default locale: en_US, platform encoding: MacRoman
OS name: "mac os x", version: "10.8.4", arch: "x86_64", family: "mac"

maybe a jgit bug?

It looks I will have to use a vm to release that :-)

On 20 August 2013 06:21, domi <do...@fortysix.ch> wrote:
> I tried again with the same maven and java version Olivier has used -
only Maven is a release version instead of the SNAPSHOT used by Olivier.
> @Olivier: can you have a try with a released Maven Version?
>
> elongatus:maven-scm domi$
/Users/domi/Downloads/apache-maven-3.1.0/bin/mvn -version
> Apache Maven 3.1.0 (893ca28a1da9d5f51ac03827af98bb730128f9f2; 2013-06-28
04:15:32+0200)
> Maven home: /Users/domi/Downloads/apache-maven-3.1.0
> Java version: 1.7.0_25, vendor: Oracle Corporation
> Java home:
/Library/Java/JavaVirtualMachines/jdk1.7.0_25.jdk/Contents/Home/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "mac os x", version: "10.8.4", arch: "x86_64", family: "mac"
>
>
>
> On 10.08.2013, at 04:00, Olivier Lamy <ol...@apache.org> wrote:
>
>> Here:
>>
>> mb-olamy:maven-scm olamy$ mvn -v
>> Apache Maven 3.1-SNAPSHOT (7bb5f1957a3bd9ee8357f8ddaee6f61e975ae954;
>> 2013-07-05 22:50:43+1000)
>> Maven home: /Users/olamy/softs/maven/trunk
>> Java version: 1.7.0_25, vendor: Oracle Corporation
>> Java home:
/Library/Java/JavaVirtualMachines/jdk1.7.0_25.jdk/Contents/Home/jre
>> Default locale: en_US, platform encoding: UTF-8
>> OS name: "mac os x", version: "10.8.4", arch: "x86_64", family: "mac"
>>
>>
>>
>>
>> On 9 August 2013 13:25, domi <do...@fortysix.ch> wrote:
>>> The versions I used are:
>>>
>>> elongatus:resources domi$ java -version
>>> java version "1.6.0_45"
>>> Java(TM) SE Runtime Environment (build 1.6.0_45-b06-451-11M4406)
>>> Java HotSpot(TM) 64-Bit Server VM (build 20.45-b01-451, mixed mode)
>>> elongatus:resources domi$ mvn -version
>>> Apache Maven 3.0.4 (r1232337; 2012-01-17 09:44:56+0100)
>>> Maven home: /usr/share/maven
>>> Java version: 1.6.0_45, vendor: Apple Inc.
>>> Java home:
/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
>>> Default locale: en_US, platform encoding: MacRoman
>>> OS name: "mac os x", version: "10.8.4", arch: "x86_64", family: "mac"
>>> elongatus:resources domi$
>>>
>>>
>>> On 08.08.2013, at 11:26, Baptiste MATHUS <ml...@batmat.net> wrote:
>>>
>>>> Maybe there's a difference between java/maven versions in use?
>>>>
>>>> Where does it [not] work? Olivier? Domi, what was the version you
>>>> tested/dev'd it against?
>>>>
>>>>
>>>> 2013/8/8 Stephen Connolly <st...@gmail.com>
>>>>
>>>>> On 8 August 2013 02:12, Olivier Lamy <ol...@apache.org> wrote:
>>>>>
>>>>>> mvn clean install -pl :maven-scm-provider-jgit -am
>>>>>
>>>>>
>>>>> works on my mac
>>>>>
>>>>> --
>>>>> Baptiste <Batmat> MATHUS - http://batmat.net
>>>>> Sauvez un arbre,
>>>>> Mangez un castor ! nbsp;!
>>>
>>
>>
>>
>> --
>> Olivier Lamy
>> Ecetera: http://ecetera.com.au
>> http://twitter.com/olamy | http://linkedin.com/in/olamy
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>> For additional commands, e-mail: dev-help@maven.apache.org
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>

-- 
Olivier Lamy
Ecetera: http://ecetera.com.au
http://twitter.com/olamy | http://linkedin.com/in/olamy

Re: maven-scm-provider-jgit

Posted by domi <do...@fortysix.ch>.
I tried again with the same maven and java version Olivier has used - only Maven is a release version instead of the SNAPSHOT used by Olivier.
@Olivier: can you have a try with a released Maven Version?

elongatus:maven-scm domi$ /Users/domi/Downloads/apache-maven-3.1.0/bin/mvn -version
Apache Maven 3.1.0 (893ca28a1da9d5f51ac03827af98bb730128f9f2; 2013-06-28 04:15:32+0200)
Maven home: /Users/domi/Downloads/apache-maven-3.1.0
Java version: 1.7.0_25, vendor: Oracle Corporation
Java home: /Library/Java/JavaVirtualMachines/jdk1.7.0_25.jdk/Contents/Home/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "mac os x", version: "10.8.4", arch: "x86_64", family: "mac"



On 10.08.2013, at 04:00, Olivier Lamy <ol...@apache.org> wrote:

> Here:
> 
> mb-olamy:maven-scm olamy$ mvn -v
> Apache Maven 3.1-SNAPSHOT (7bb5f1957a3bd9ee8357f8ddaee6f61e975ae954;
> 2013-07-05 22:50:43+1000)
> Maven home: /Users/olamy/softs/maven/trunk
> Java version: 1.7.0_25, vendor: Oracle Corporation
> Java home: /Library/Java/JavaVirtualMachines/jdk1.7.0_25.jdk/Contents/Home/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "mac os x", version: "10.8.4", arch: "x86_64", family: "mac"
> 
> 
> 
> 
> On 9 August 2013 13:25, domi <do...@fortysix.ch> wrote:
>> The versions I used are:
>> 
>> elongatus:resources domi$ java -version
>> java version "1.6.0_45"
>> Java(TM) SE Runtime Environment (build 1.6.0_45-b06-451-11M4406)
>> Java HotSpot(TM) 64-Bit Server VM (build 20.45-b01-451, mixed mode)
>> elongatus:resources domi$ mvn -version
>> Apache Maven 3.0.4 (r1232337; 2012-01-17 09:44:56+0100)
>> Maven home: /usr/share/maven
>> Java version: 1.6.0_45, vendor: Apple Inc.
>> Java home: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
>> Default locale: en_US, platform encoding: MacRoman
>> OS name: "mac os x", version: "10.8.4", arch: "x86_64", family: "mac"
>> elongatus:resources domi$
>> 
>> 
>> On 08.08.2013, at 11:26, Baptiste MATHUS <ml...@batmat.net> wrote:
>> 
>>> Maybe there's a difference between java/maven versions in use?
>>> 
>>> Where does it [not] work? Olivier? Domi, what was the version you
>>> tested/dev'd it against?
>>> 
>>> 
>>> 2013/8/8 Stephen Connolly <st...@gmail.com>
>>> 
>>>> On 8 August 2013 02:12, Olivier Lamy <ol...@apache.org> wrote:
>>>> 
>>>>> mvn clean install -pl :maven-scm-provider-jgit -am
>>>> 
>>>> 
>>>> works on my mac
>>>> 
>>>> --
>>>> Baptiste <Batmat> MATHUS - http://batmat.net
>>>> Sauvez un arbre,
>>>> Mangez un castor ! nbsp;!
>> 
> 
> 
> 
> -- 
> Olivier Lamy
> Ecetera: http://ecetera.com.au
> http://twitter.com/olamy | http://linkedin.com/in/olamy
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: maven-scm-provider-jgit

Posted by Olivier Lamy <ol...@apache.org>.
Here:

mb-olamy:maven-scm olamy$ mvn -v
Apache Maven 3.1-SNAPSHOT (7bb5f1957a3bd9ee8357f8ddaee6f61e975ae954;
2013-07-05 22:50:43+1000)
Maven home: /Users/olamy/softs/maven/trunk
Java version: 1.7.0_25, vendor: Oracle Corporation
Java home: /Library/Java/JavaVirtualMachines/jdk1.7.0_25.jdk/Contents/Home/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "mac os x", version: "10.8.4", arch: "x86_64", family: "mac"




On 9 August 2013 13:25, domi <do...@fortysix.ch> wrote:
> The versions I used are:
>
> elongatus:resources domi$ java -version
> java version "1.6.0_45"
> Java(TM) SE Runtime Environment (build 1.6.0_45-b06-451-11M4406)
> Java HotSpot(TM) 64-Bit Server VM (build 20.45-b01-451, mixed mode)
> elongatus:resources domi$ mvn -version
> Apache Maven 3.0.4 (r1232337; 2012-01-17 09:44:56+0100)
> Maven home: /usr/share/maven
> Java version: 1.6.0_45, vendor: Apple Inc.
> Java home: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
> Default locale: en_US, platform encoding: MacRoman
> OS name: "mac os x", version: "10.8.4", arch: "x86_64", family: "mac"
> elongatus:resources domi$
>
>
> On 08.08.2013, at 11:26, Baptiste MATHUS <ml...@batmat.net> wrote:
>
>> Maybe there's a difference between java/maven versions in use?
>>
>> Where does it [not] work? Olivier? Domi, what was the version you
>> tested/dev'd it against?
>>
>>
>> 2013/8/8 Stephen Connolly <st...@gmail.com>
>>
>>> On 8 August 2013 02:12, Olivier Lamy <ol...@apache.org> wrote:
>>>
>>>> mvn clean install -pl :maven-scm-provider-jgit -am
>>>
>>>
>>> works on my mac
>>>
>>> --
>>> Baptiste <Batmat> MATHUS - http://batmat.net
>>> Sauvez un arbre,
>>> Mangez un castor ! nbsp;!
>



-- 
Olivier Lamy
Ecetera: http://ecetera.com.au
http://twitter.com/olamy | http://linkedin.com/in/olamy

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: maven-scm-provider-jgit

Posted by domi <do...@fortysix.ch>.
The versions I used are:

elongatus:resources domi$ java -version
java version "1.6.0_45"
Java(TM) SE Runtime Environment (build 1.6.0_45-b06-451-11M4406)
Java HotSpot(TM) 64-Bit Server VM (build 20.45-b01-451, mixed mode)
elongatus:resources domi$ mvn -version
Apache Maven 3.0.4 (r1232337; 2012-01-17 09:44:56+0100)
Maven home: /usr/share/maven
Java version: 1.6.0_45, vendor: Apple Inc.
Java home: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
Default locale: en_US, platform encoding: MacRoman
OS name: "mac os x", version: "10.8.4", arch: "x86_64", family: "mac"
elongatus:resources domi$ 


On 08.08.2013, at 11:26, Baptiste MATHUS <ml...@batmat.net> wrote:

> Maybe there's a difference between java/maven versions in use?
> 
> Where does it [not] work? Olivier? Domi, what was the version you
> tested/dev'd it against?
> 
> 
> 2013/8/8 Stephen Connolly <st...@gmail.com>
> 
>> On 8 August 2013 02:12, Olivier Lamy <ol...@apache.org> wrote:
>> 
>>> mvn clean install -pl :maven-scm-provider-jgit -am
>> 
>> 
>> works on my mac
>> 
>> --
>> Baptiste <Batmat> MATHUS - http://batmat.net
>> Sauvez un arbre,
>> Mangez un castor ! nbsp;!


Re: maven-scm-provider-jgit

Posted by Brett Porter <br...@apache.org>.
On 08/08/2013, at 8:03 PM, Mirko Friedenhagen <mf...@gmail.com> wrote:

> Just an observation (700km away from my notebook for the next 2 weeks :-)):
> 
> Olivier started Maven in the root of maven-scm, while Brett cd'ed to
> maven-scm-provider-jgit

Same result either way.

On 08/08/2013, at 7:26 PM, Baptiste MATHUS <ml...@batmat.net> wrote:

> Maybe there's a difference between java/maven versions in use?

Worked with 3.1.0 and 3.0.5 on both 1.7.0_15 and 1.6.0_51 for me.

- Brett

--
Brett Porter   @brettporter
http://brettporter.wordpress.com/
http://au.linkedin.com/in/brettporter






---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: maven-scm-provider-jgit

Posted by Baptiste MATHUS <ml...@batmat.net>.
Maybe there's a difference between java/maven versions in use?

Where does it [not] work? Olivier? Domi, what was the version you
tested/dev'd it against?


2013/8/8 Stephen Connolly <st...@gmail.com>

> On 8 August 2013 02:12, Olivier Lamy <ol...@apache.org> wrote:
>
> > mvn clean install -pl :maven-scm-provider-jgit -am
>
>
> works on my mac
>
> --
> Baptiste <Batmat> MATHUS - http://batmat.net
> Sauvez un arbre,
> Mangez un castor ! nbsp;!

Re: maven-scm-provider-jgit

Posted by Stephen Connolly <st...@gmail.com>.
On 8 August 2013 02:12, Olivier Lamy <ol...@apache.org> wrote:

> mvn clean install -pl :maven-scm-provider-jgit -am


works on my mac

Re: maven-scm-provider-jgit

Posted by Olivier Lamy <ol...@apache.org>.
2013/8/8 Olivier Lamy <ol...@apache.org>:
> lucky :-)
>
> Here
> mvn clean install -pl :maven-scm-provider-jgit -am
>
> Results :
>
> Failed tests:
> testChangeLogCommand(org.apache.maven.scm.provider.git.jgit.command.changelog.JGitChangeLogCommandTckTest):
> expected:<1> but was:<0>
>
> Tests run: 9, Failures: 1, Errors: 0, Skipped: 0
>
>
> For some reason when "walking" in the revs the filter receive a
> RevCommit with a commit time of 0. So doesn't work with the filtering
> by date.
>

code is here: https://git-wip-us.apache.org/repos/asf?p=maven-scm.git;a=blob;f=maven-scm-providers/maven-scm-providers-git/maven-scm-provider-jgit/src/main/java/org/apache/maven/scm/provider/git/jgit/command/JGitUtils.java;h=dabcf022a695e4e96ce68d8742103868fe59a926;hb=HEAD#l354

so this time it's IDWOMM ! (not very usual :-) )

>
>
> 2013/8/8 Brett Porter <br...@apache.org>:
>> Works here:
>>
>> maven-scm-provider-jgit (master=)$ mvn clean install -Ptck
>>
>> Results :
>>
>> Tests run: 9, Failures: 0, Errors: 0, Skipped: 0
>>
>> - Brett
>>
>> On 08/08/2013, at 7:12 AM, domi <do...@fortysix.ch> wrote:
>>
>>> Hi everyone,
>>>
>>> a couple of weeks ago I have contributed a git scm provider based on jgit. This one was pulled into the master branch by Olivier Lamy:
>>>
>>> Origin: git://git.apache.org/maven-scm.git
>>> Mirror: https://github.com/apache/maven-scm
>>> https://github.com/apache/maven-scm/tree/master/maven-scm-providers/maven-scm-providers-git/maven-scm-provider-jgit
>>>
>>> All the tests work fine, except for one single test which fails on one single Mac of Olivier - on all other test systems it works fine.
>>> As its hard to debug something which we can't really reproduce, I'm asking for some support on this list. I don't even know
>>> what exactly fails - so if you could just checkout the repo and run a build on it and tell us if it fails, that would already be of value.
>>>
>>> I hope we can solve this issue soon and do a release with the new scm-provider - I'm really waiting for this.
>>>
>>> regards Domi
>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>>> For additional commands, e-mail: dev-help@maven.apache.org
>>>
>>
>> --
>> Brett Porter   @brettporter
>> http://brettporter.wordpress.com/
>> http://au.linkedin.com/in/brettporter
>>
>>
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>> For additional commands, e-mail: dev-help@maven.apache.org
>>
>
>
>
> --
> Olivier Lamy
> Ecetera: http://ecetera.com.au
> http://twitter.com/olamy | http://linkedin.com/in/olamy



-- 
Olivier Lamy
Ecetera: http://ecetera.com.au
http://twitter.com/olamy | http://linkedin.com/in/olamy

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: maven-scm-provider-jgit

Posted by Olivier Lamy <ol...@apache.org>.
lucky :-)

Here
mvn clean install -pl :maven-scm-provider-jgit -am

Results :

Failed tests:
testChangeLogCommand(org.apache.maven.scm.provider.git.jgit.command.changelog.JGitChangeLogCommandTckTest):
expected:<1> but was:<0>

Tests run: 9, Failures: 1, Errors: 0, Skipped: 0


For some reason when "walking" in the revs the filter receive a
RevCommit with a commit time of 0. So doesn't work with the filtering
by date.



2013/8/8 Brett Porter <br...@apache.org>:
> Works here:
>
> maven-scm-provider-jgit (master=)$ mvn clean install -Ptck
>
> Results :
>
> Tests run: 9, Failures: 0, Errors: 0, Skipped: 0
>
> - Brett
>
> On 08/08/2013, at 7:12 AM, domi <do...@fortysix.ch> wrote:
>
>> Hi everyone,
>>
>> a couple of weeks ago I have contributed a git scm provider based on jgit. This one was pulled into the master branch by Olivier Lamy:
>>
>> Origin: git://git.apache.org/maven-scm.git
>> Mirror: https://github.com/apache/maven-scm
>> https://github.com/apache/maven-scm/tree/master/maven-scm-providers/maven-scm-providers-git/maven-scm-provider-jgit
>>
>> All the tests work fine, except for one single test which fails on one single Mac of Olivier - on all other test systems it works fine.
>> As its hard to debug something which we can't really reproduce, I'm asking for some support on this list. I don't even know
>> what exactly fails - so if you could just checkout the repo and run a build on it and tell us if it fails, that would already be of value.
>>
>> I hope we can solve this issue soon and do a release with the new scm-provider - I'm really waiting for this.
>>
>> regards Domi
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>> For additional commands, e-mail: dev-help@maven.apache.org
>>
>
> --
> Brett Porter   @brettporter
> http://brettporter.wordpress.com/
> http://au.linkedin.com/in/brettporter
>
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>



-- 
Olivier Lamy
Ecetera: http://ecetera.com.au
http://twitter.com/olamy | http://linkedin.com/in/olamy

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: maven-scm-provider-jgit

Posted by Brett Porter <br...@apache.org>.
Works here:

maven-scm-provider-jgit (master=)$ mvn clean install -Ptck

Results :

Tests run: 9, Failures: 0, Errors: 0, Skipped: 0

- Brett

On 08/08/2013, at 7:12 AM, domi <do...@fortysix.ch> wrote:

> Hi everyone,
> 
> a couple of weeks ago I have contributed a git scm provider based on jgit. This one was pulled into the master branch by Olivier Lamy:
> 
> Origin: git://git.apache.org/maven-scm.git
> Mirror: https://github.com/apache/maven-scm
> https://github.com/apache/maven-scm/tree/master/maven-scm-providers/maven-scm-providers-git/maven-scm-provider-jgit
> 
> All the tests work fine, except for one single test which fails on one single Mac of Olivier - on all other test systems it works fine.
> As its hard to debug something which we can't really reproduce, I'm asking for some support on this list. I don't even know 
> what exactly fails - so if you could just checkout the repo and run a build on it and tell us if it fails, that would already be of value.
> 
> I hope we can solve this issue soon and do a release with the new scm-provider - I'm really waiting for this.
> 
> regards Domi
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
> 

--
Brett Porter   @brettporter
http://brettporter.wordpress.com/
http://au.linkedin.com/in/brettporter






---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org