maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Karl Heinz Marbaise <khmarba...@gmx.de>
Subject Re: [jira] [Commented] (MSHARED-594) NullPointerException is thrown when trying to install a project without POM file
Date Sun, 09 Oct 2016 08:59:00 GMT
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


Mime
View raw message