You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Karl Heinz Marbaise <kh...@gmx.de> on 2016/10/08 18:38:59 UTC
Re: [jira] [Commented] (MSHARED-594) NullPointerException is thrown
when trying to install a project without POM file
Hi Guillaume,
On 08/10/16 20:30, Guillaume Bou� (JIRA) wrote:
>> When creating in-memory Maven projects with the {{ProjectBuilder}},
> it could not have a POM file: the intent is that
> it only has attached artifacts and only those should get installed.
Maybe I misunderstand a thing here...
But if the project has only attached artifacts and those artifacts will
be installed without a POM how should I ever use them ?
Kind regards
Karl Heinz Marbaise
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
Re: [jira] [Commented] (MSHARED-594) NullPointerException is thrown
when trying to install a project without POM file
Posted by Karl Heinz Marbaise <kh...@gmx.de>.
Hi Buillaume,
On 08/10/16 22:08, Guillaume Bou� wrote:
> Hi,
>
> It is allowed by install:install-file when you set generatePom=false. It
> would install for example a JAR without any POM. It is true that you
> won't be able to depend on the artifact as-is... perhaps we should force
> generatePom=true then?
Haven't thought about that case...
generatePom = true ? may be this is worth to think about it more in detail..
Thanks for explanation..
Kind regards
Karl Heinz
>
> This was a corner-case that I hit for
> https://issues.apache.org/jira/browse/MINSTALL-128, and I wanted to keep
> the current behaviour.
>
> Guillaume
>
> Le 08/10/2016 � 20:38, Karl Heinz Marbaise a �crit :
>> Hi Guillaume,
>>
>> On 08/10/16 20:30, Guillaume Bou� (JIRA) wrote:
>>>> When creating in-memory Maven projects with the {{ProjectBuilder}},
>> > it could not have a POM file: the intent is that
>> > it only has attached artifacts and only those should get installed.
>>
>> Maybe I misunderstand a thing here...
>>
>> But if the project has only attached artifacts and those artifacts
>> will be installed without a POM how should I ever use them ?
>>
>>
>> Kind regards
>> Karl Heinz Marbaise
>>
>> ---------------------------------------------------------------------
>> 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: [jira] [Commented] (MSHARED-594) NullPointerException is thrown
when trying to install a project without POM file
Posted by Guillaume Boué <gb...@apache.org>.
Hi,
It is allowed by install:install-file when you set generatePom=false. It
would install for example a JAR without any POM. It is true that you
won't be able to depend on the artifact as-is... perhaps we should force
generatePom=true then?
This was a corner-case that I hit for
https://issues.apache.org/jira/browse/MINSTALL-128, and I wanted to keep
the current behaviour.
Guillaume
Le 08/10/2016 � 20:38, Karl Heinz Marbaise a �crit :
> Hi Guillaume,
>
> On 08/10/16 20:30, Guillaume Bou� (JIRA) wrote:
>>> When creating in-memory Maven projects with the {{ProjectBuilder}},
> > it could not have a POM file: the intent is that
> > it only has attached artifacts and only those should get installed.
>
> Maybe I misunderstand a thing here...
>
> But if the project has only attached artifacts and those artifacts
> will be installed without a POM how should I ever use them ?
>
>
> Kind regards
> Karl Heinz Marbaise
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>
---
L'absence de virus dans ce courrier �lectronique a �t� v�rifi�e par le logiciel antivirus Avast.
https://www.avast.com/antivirus
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org