Re: netbeans maven support breaks trying to build JGit source

2018-03-25 Thread Gary Bello
update  -

modifying 2 pom.xml in jGit so that can use maven 3.3.9 yields
successful build from command line for jGit.

maven 3.3.9 is bundled version in nb9.

building jGit with netbeans bundled maven results in same errors reported.

-Gary


On Sun, Mar 25, 2018 at 2:30 AM, John McDonnell 
wrote:

> Apologies, the rest of this email thread only loaded in my mail client
> after responding.
>
>
>
> On 25 March 2018 at 10:04, John McDonnell 
> wrote:
>
> > What error are you getting?
> >
> > Does it build from the command line at all, or is the issue only
> happening
> > in NetBeans?
> >
> >
> >
> >
> > On 25 March 2018 at 04:06, Gary Bello  wrote:
> >
> >> To clarify ...
> >> I am not trying to have a build of netbeans make use of latest JGIt.
> >>
> >> I am simply trying to get netbeans to open the JGit maven project and
> do a
> >> build.
> >>
> >> -Gary
> >>
> >> On Sat, Mar 24, 2018 at 7:51 PM, Christian Bourque <
> >> christian.bour...@gmail.com> wrote:
> >>
> >> > Hi Gary,
> >> >
> >> > I've just sent a PR for the latest version of JGit with NetBeans:
> >> > https://github.com/apache/incubator-netbeans/pull/465
> >> >
> >> > Some dependencies of NetBeans need to be updated to be able to build
> the
> >> > latest JGit version...
> >> >
> >> > Christian
> >> >
> >> >
> >> > On Sat, Mar 24, 2018 at 10:28 PM, Gary Bello 
> >> wrote:
> >> >
> >> > > JGit repository https://github.com/eclipse/jgit.git
> >> > >
> >> > > I have been trying to debug/fix the maven issue without success.
> >> > > So decided to alert the mail list.
> >> > >
> >> > > I have filed a bug report.
> >> > >
> >> > > Just checkout the JGit master and try to build with netbeans.
> >> > >
> >> > > The subprojects of JGit build separately with netbeans OK.
> >> > > The top level build is what fails.
> >> > >
> >> > > Thanks
> >> > > -Gary
> >> > >
> >> >
> >>
> >
> >
>


Re: netbeans maven support breaks trying to build JGit source

2018-03-25 Thread John McDonnell
Apologies, the rest of this email thread only loaded in my mail client
after responding.



On 25 March 2018 at 10:04, John McDonnell  wrote:

> What error are you getting?
>
> Does it build from the command line at all, or is the issue only happening
> in NetBeans?
>
>
>
>
> On 25 March 2018 at 04:06, Gary Bello  wrote:
>
>> To clarify ...
>> I am not trying to have a build of netbeans make use of latest JGIt.
>>
>> I am simply trying to get netbeans to open the JGit maven project and do a
>> build.
>>
>> -Gary
>>
>> On Sat, Mar 24, 2018 at 7:51 PM, Christian Bourque <
>> christian.bour...@gmail.com> wrote:
>>
>> > Hi Gary,
>> >
>> > I've just sent a PR for the latest version of JGit with NetBeans:
>> > https://github.com/apache/incubator-netbeans/pull/465
>> >
>> > Some dependencies of NetBeans need to be updated to be able to build the
>> > latest JGit version...
>> >
>> > Christian
>> >
>> >
>> > On Sat, Mar 24, 2018 at 10:28 PM, Gary Bello 
>> wrote:
>> >
>> > > JGit repository https://github.com/eclipse/jgit.git
>> > >
>> > > I have been trying to debug/fix the maven issue without success.
>> > > So decided to alert the mail list.
>> > >
>> > > I have filed a bug report.
>> > >
>> > > Just checkout the JGit master and try to build with netbeans.
>> > >
>> > > The subprojects of JGit build separately with netbeans OK.
>> > > The top level build is what fails.
>> > >
>> > > Thanks
>> > > -Gary
>> > >
>> >
>>
>
>


Re: netbeans maven support breaks trying to build JGit source

2018-03-25 Thread John McDonnell
What error are you getting?

Does it build from the command line at all, or is the issue only happening
in NetBeans?




On 25 March 2018 at 04:06, Gary Bello  wrote:

> To clarify ...
> I am not trying to have a build of netbeans make use of latest JGIt.
>
> I am simply trying to get netbeans to open the JGit maven project and do a
> build.
>
> -Gary
>
> On Sat, Mar 24, 2018 at 7:51 PM, Christian Bourque <
> christian.bour...@gmail.com> wrote:
>
> > Hi Gary,
> >
> > I've just sent a PR for the latest version of JGit with NetBeans:
> > https://github.com/apache/incubator-netbeans/pull/465
> >
> > Some dependencies of NetBeans need to be updated to be able to build the
> > latest JGit version...
> >
> > Christian
> >
> >
> > On Sat, Mar 24, 2018 at 10:28 PM, Gary Bello 
> wrote:
> >
> > > JGit repository https://github.com/eclipse/jgit.git
> > >
> > > I have been trying to debug/fix the maven issue without success.
> > > So decided to alert the mail list.
> > >
> > > I have filed a bug report.
> > >
> > > Just checkout the JGit master and try to build with netbeans.
> > >
> > > The subprojects of JGit build separately with netbeans OK.
> > > The top level build is what fails.
> > >
> > > Thanks
> > > -Gary
> > >
> >
>


Re: netbeans maven support breaks trying to build JGit source

2018-03-24 Thread Gary Bello
The errors are NPE and the code that fails is building/maintaining a tree
to model the maven output for folding purposes
in the output window.

Also a command line invocation of maven works just fine without any
problems - its the invocation of maven from within netbeans,
where the problem occurs.

I hope that since jGit requires newer maven than 3.3.9 we don't ignore this
issue.

FYI I build Glassfish and Jersey with maven 3.5.2 from Netbeans 8.2 without
problems/issues.
I build many maven projects with Maven 3.5.2 from nb82 without issue - this
jGit is the 1st that has demonstrated this bug that I know of.

I hope we can update nb9 to use a newest maven or much newer than the
current bundled version 3.3.9 .

Perhaps I should see if I can build jGit with older maven 3.3.9 ? - would
require some POM changes.

-Gary






On Sat, Mar 24, 2018 at 10:39 PM, cowwoc  wrote:

> FYI, I don't think any committers are testing with Maven versions newer
> than 3.3.9. If they were, they would have run into this issue:
> https://issues.apache.org/jira/browse/NETBEANS-245
>
> Maybe other parts of Netbeans have compatibility problems with newer
> versions.
>
> Gili
>
>
> On 2018-03-25 1:36 AM, Gary Bello wrote:
>
>> Yes - https://issues.apache.org/jira/browse/NETBEANS-457
>> is the bug I filed.
>>
>> It was discovered building jGIt and have spent 2+ days trying to
>> debug/understand,
>> but I have been unable to figure it out.
>>
>> The issue happens with nb82 or nb9beta or latest incubator netbeans git
>> pull/build.
>>
>> A requirement of jGit maven config is a newer version of maven.
>> I needed to dnload a newer version of maven - jGit requires 3.5.2 (if i
>> remember).
>> and configure maven in netbeans to use the dnloaded version - not the
>> builtin,
>>
>> nb82 has maven has 3.0.5 bundled, and current nb9 git pull version has
>> maven 3.3.9 bundled.
>>
>> I am testing with maven 3.5.2 configured within nb9 current git
>> pull/build.
>>
>> -Gary
>>
>>
>> On Sat, Mar 24, 2018 at 9:14 PM, cowwoc  wrote:
>>
>> I assume you are referring to https://issues.apache.org/jira
>>> /browse/NETBEANS-457
>>>
>>> The stacktrace does not seem to be specific to JGit so this is a general
>>> bug.
>>>
>>> Gili
>>>
>>>
>>> On 2018-03-24 11:06 PM, Gary Bello wrote:
>>>
>>> To clarify ...
 I am not trying to have a build of netbeans make use of latest JGIt.

 I am simply trying to get netbeans to open the JGit maven project and
 do a
 build.

 -Gary

 On Sat, Mar 24, 2018 at 7:51 PM, Christian Bourque <
 christian.bour...@gmail.com> wrote:

 Hi Gary,

> I've just sent a PR for the latest version of JGit with NetBeans:
> https://github.com/apache/incubator-netbeans/pull/465
>
> Some dependencies of NetBeans need to be updated to be able to build
> the
> latest JGit version...
>
> Christian
>
>
> On Sat, Mar 24, 2018 at 10:28 PM, Gary Bello 
> wrote:
>
> JGit repository https://github.com/eclipse/jgit.git
>
>> I have been trying to debug/fix the maven issue without success.
>> So decided to alert the mail list.
>>
>> I have filed a bug report.
>>
>> Just checkout the JGit master and try to build with netbeans.
>>
>> The subprojects of JGit build separately with netbeans OK.
>> The top level build is what fails.
>>
>> Thanks
>> -Gary
>>
>>
>> -
>>> To unsubscribe, e-mail: dev-unsubscr...@netbeans.incubator.apache.org
>>> For additional commands, e-mail: dev-h...@netbeans.incubator.apache.org
>>>
>>> For further information about the NetBeans mailing lists, visit:
>>> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>>>
>>>
>>>
>>>
>>>
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@netbeans.incubator.apache.org
> For additional commands, e-mail: dev-h...@netbeans.incubator.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>
>
>


Re: netbeans maven support breaks trying to build JGit source

2018-03-24 Thread cowwoc
FYI, I don't think any committers are testing with Maven versions newer 
than 3.3.9. If they were, they would have run into this issue: 
https://issues.apache.org/jira/browse/NETBEANS-245


Maybe other parts of Netbeans have compatibility problems with newer 
versions.


Gili

On 2018-03-25 1:36 AM, Gary Bello wrote:

Yes - https://issues.apache.org/jira/browse/NETBEANS-457
is the bug I filed.

It was discovered building jGIt and have spent 2+ days trying to
debug/understand,
but I have been unable to figure it out.

The issue happens with nb82 or nb9beta or latest incubator netbeans git
pull/build.

A requirement of jGit maven config is a newer version of maven.
I needed to dnload a newer version of maven - jGit requires 3.5.2 (if i
remember).
and configure maven in netbeans to use the dnloaded version - not the
builtin,

nb82 has maven has 3.0.5 bundled, and current nb9 git pull version has
maven 3.3.9 bundled.

I am testing with maven 3.5.2 configured within nb9 current git pull/build.

-Gary


On Sat, Mar 24, 2018 at 9:14 PM, cowwoc  wrote:


I assume you are referring to https://issues.apache.org/jira
/browse/NETBEANS-457

The stacktrace does not seem to be specific to JGit so this is a general
bug.

Gili


On 2018-03-24 11:06 PM, Gary Bello wrote:


To clarify ...
I am not trying to have a build of netbeans make use of latest JGIt.

I am simply trying to get netbeans to open the JGit maven project and do a
build.

-Gary

On Sat, Mar 24, 2018 at 7:51 PM, Christian Bourque <
christian.bour...@gmail.com> wrote:

Hi Gary,

I've just sent a PR for the latest version of JGit with NetBeans:
https://github.com/apache/incubator-netbeans/pull/465

Some dependencies of NetBeans need to be updated to be able to build the
latest JGit version...

Christian


On Sat, Mar 24, 2018 at 10:28 PM, Gary Bello 
wrote:

JGit repository https://github.com/eclipse/jgit.git

I have been trying to debug/fix the maven issue without success.
So decided to alert the mail list.

I have filed a bug report.

Just checkout the JGit master and try to build with netbeans.

The subprojects of JGit build separately with netbeans OK.
The top level build is what fails.

Thanks
-Gary



-
To unsubscribe, e-mail: dev-unsubscr...@netbeans.incubator.apache.org
For additional commands, e-mail: dev-h...@netbeans.incubator.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists







-
To unsubscribe, e-mail: dev-unsubscr...@netbeans.incubator.apache.org
For additional commands, e-mail: dev-h...@netbeans.incubator.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists





Re: netbeans maven support breaks trying to build JGit source

2018-03-24 Thread Gary Bello
Yes - https://issues.apache.org/jira/browse/NETBEANS-457
is the bug I filed.

It was discovered building jGIt and have spent 2+ days trying to
debug/understand,
but I have been unable to figure it out.

The issue happens with nb82 or nb9beta or latest incubator netbeans git
pull/build.

A requirement of jGit maven config is a newer version of maven.
I needed to dnload a newer version of maven - jGit requires 3.5.2 (if i
remember).
and configure maven in netbeans to use the dnloaded version - not the
builtin,

nb82 has maven has 3.0.5 bundled, and current nb9 git pull version has
maven 3.3.9 bundled.

I am testing with maven 3.5.2 configured within nb9 current git pull/build.

-Gary


On Sat, Mar 24, 2018 at 9:14 PM, cowwoc  wrote:

> I assume you are referring to https://issues.apache.org/jira
> /browse/NETBEANS-457
>
> The stacktrace does not seem to be specific to JGit so this is a general
> bug.
>
> Gili
>
>
> On 2018-03-24 11:06 PM, Gary Bello wrote:
>
>> To clarify ...
>> I am not trying to have a build of netbeans make use of latest JGIt.
>>
>> I am simply trying to get netbeans to open the JGit maven project and do a
>> build.
>>
>> -Gary
>>
>> On Sat, Mar 24, 2018 at 7:51 PM, Christian Bourque <
>> christian.bour...@gmail.com> wrote:
>>
>> Hi Gary,
>>>
>>> I've just sent a PR for the latest version of JGit with NetBeans:
>>> https://github.com/apache/incubator-netbeans/pull/465
>>>
>>> Some dependencies of NetBeans need to be updated to be able to build the
>>> latest JGit version...
>>>
>>> Christian
>>>
>>>
>>> On Sat, Mar 24, 2018 at 10:28 PM, Gary Bello 
>>> wrote:
>>>
>>> JGit repository https://github.com/eclipse/jgit.git

 I have been trying to debug/fix the maven issue without success.
 So decided to alert the mail list.

 I have filed a bug report.

 Just checkout the JGit master and try to build with netbeans.

 The subprojects of JGit build separately with netbeans OK.
 The top level build is what fails.

 Thanks
 -Gary


>
> -
> To unsubscribe, e-mail: dev-unsubscr...@netbeans.incubator.apache.org
> For additional commands, e-mail: dev-h...@netbeans.incubator.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>
>
>


Re: netbeans maven support breaks trying to build JGit source

2018-03-24 Thread cowwoc
I assume you are referring to 
https://issues.apache.org/jira/browse/NETBEANS-457


The stacktrace does not seem to be specific to JGit so this is a general 
bug.


Gili

On 2018-03-24 11:06 PM, Gary Bello wrote:

To clarify ...
I am not trying to have a build of netbeans make use of latest JGIt.

I am simply trying to get netbeans to open the JGit maven project and do a
build.

-Gary

On Sat, Mar 24, 2018 at 7:51 PM, Christian Bourque <
christian.bour...@gmail.com> wrote:


Hi Gary,

I've just sent a PR for the latest version of JGit with NetBeans:
https://github.com/apache/incubator-netbeans/pull/465

Some dependencies of NetBeans need to be updated to be able to build the
latest JGit version...

Christian


On Sat, Mar 24, 2018 at 10:28 PM, Gary Bello  wrote:


JGit repository https://github.com/eclipse/jgit.git

I have been trying to debug/fix the maven issue without success.
So decided to alert the mail list.

I have filed a bug report.

Just checkout the JGit master and try to build with netbeans.

The subprojects of JGit build separately with netbeans OK.
The top level build is what fails.

Thanks
-Gary




-
To unsubscribe, e-mail: dev-unsubscr...@netbeans.incubator.apache.org
For additional commands, e-mail: dev-h...@netbeans.incubator.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists





Re: netbeans maven support breaks trying to build JGit source

2018-03-24 Thread Gary Bello
To clarify ...
I am not trying to have a build of netbeans make use of latest JGIt.

I am simply trying to get netbeans to open the JGit maven project and do a
build.

-Gary

On Sat, Mar 24, 2018 at 7:51 PM, Christian Bourque <
christian.bour...@gmail.com> wrote:

> Hi Gary,
>
> I've just sent a PR for the latest version of JGit with NetBeans:
> https://github.com/apache/incubator-netbeans/pull/465
>
> Some dependencies of NetBeans need to be updated to be able to build the
> latest JGit version...
>
> Christian
>
>
> On Sat, Mar 24, 2018 at 10:28 PM, Gary Bello  wrote:
>
> > JGit repository https://github.com/eclipse/jgit.git
> >
> > I have been trying to debug/fix the maven issue without success.
> > So decided to alert the mail list.
> >
> > I have filed a bug report.
> >
> > Just checkout the JGit master and try to build with netbeans.
> >
> > The subprojects of JGit build separately with netbeans OK.
> > The top level build is what fails.
> >
> > Thanks
> > -Gary
> >
>


Re: netbeans maven support breaks trying to build JGit source

2018-03-24 Thread Christian Bourque
Hi Gary,

I've just sent a PR for the latest version of JGit with NetBeans:
https://github.com/apache/incubator-netbeans/pull/465

Some dependencies of NetBeans need to be updated to be able to build the
latest JGit version...

Christian


On Sat, Mar 24, 2018 at 10:28 PM, Gary Bello  wrote:

> JGit repository https://github.com/eclipse/jgit.git
>
> I have been trying to debug/fix the maven issue without success.
> So decided to alert the mail list.
>
> I have filed a bug report.
>
> Just checkout the JGit master and try to build with netbeans.
>
> The subprojects of JGit build separately with netbeans OK.
> The top level build is what fails.
>
> Thanks
> -Gary
>


netbeans maven support breaks trying to build JGit source

2018-03-24 Thread Gary Bello
JGit repository https://github.com/eclipse/jgit.git

I have been trying to debug/fix the maven issue without success.
So decided to alert the mail list.

I have filed a bug report.

Just checkout the JGit master and try to build with netbeans.

The subprojects of JGit build separately with netbeans OK.
The top level build is what fails.

Thanks
-Gary