Hi Sam,

Could this be related to the workaround I found for
FLEXMOJOS-483<https://flexmojos.atlassian.net/browse/FLEXMOJOS-483>(cf.
the last comment of this issue) using a pluginRepository entry in the
parent pom? This workaround allows me to turn on the useFinalName property
without throwing any NPE  but I still don't understand the actual cause of
this problem...

Remi

On Wed, Dec 12, 2012 at 4:17 PM, Sam Barker <[email protected]> wrote:

> Maven will not generate the effective pom if the flexmojos plugin is not
> loaded by the pom in question or one of its parents. I've tripped up on
> this a few times of late.
>
>
> On Tuesday, 27 November 2012 11:15:20 UTC, Christofer Dutz wrote:
>
>> Yeah! This is my favourite issue ... think I was the one who created it
>> (or at least I posted one solution option).
>> It's a pretty tricky little bug. The problem is that the copy-resources
>> target asks Maven to get the final name of an artifact. Unfortunately Maven
>> produced some Error while retrieving the effective pom of the project and
>> retunred "null" which in turn caused the NPE in the copy-resources module.
>>
>> Strangely I don't have problems in all of my projects. Actually only one
>> project is causing trouble. In this I resolved the issue by setting
>> <useFinalName>flase</**useFinalName>.
>>
>> If this turns out to be a major issue for you. Please confirm your
>> problems and I'll have a deeper look at the problem and hopefullly fix it
>> soon.
>>
>> Chris
>>
>>
>> 2012/11/27 Jose Barragan <[email protected]**>
>>
>>> This response on 
>>> FLEXMOJOS-483<https://flexmojos.atlassian.net/browse/FLEXMOJOS-483> thread, 
>>> can
>>> contribute light on the subject that occupies to us:
>>> https://flexmojos.atlassian.**net/browse/FLEXMOJOS-483?**
>>> focusedCommentId=12900&page=**com.atlassian.jira.plugin.**
>>> system.issuetabpanels:comment-**tabpanel#comment-12900<https://flexmojos.atlassian.net/browse/FLEXMOJOS-483?focusedCommentId=12900&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-12900>
>>>
>>>
>>>    --
>>> *Jose Barragan*
>>> *Software Architect Chief *
>>> Codeoscopic Madrid
>>> C/. Infanta Mercedes, 92.
>>> Planta 5.  505.
>>> 28020 Madrid.
>>> Tel.: +34 912 94 80 80
>>>
>>> On Nov 27, 2012, at 12:05 AM, Christofer Dutz <[email protected]>
>>> wrote:
>>>
>>> It is deffinitely still in as I an strongly relying on it ;-)
>>> Am 26.11.2012 23:43 schrieb "Carlos Rovira" <[email protected]**
>>> >:
>>>
>>>> Hi Chris,
>>>>
>>>> >I was looking forward into talking to him about it and writing this
>>>> up for all others.
>>>>
>>>> it will be great! We can't really change until we get a robust workflow
>>>> in IntelliJ, since we have the responsability to make it work with all our
>>>> developments. So we are stuck until something like "copy-flex-resource"
>>>> will enter in IntelliJ. If there's is some other way, we will be glad to
>>>> learn it since we don't find any solution to make our enviroment
>>>> "maven-driven".
>>>>
>>>> Regarding the deprecation, I'm pretty sure that "copy-flex-resources"
>>>> was deprecated since 3.9
>>>> If I'm wrong could you please elaborate? Are you saying that
>>>> functionality is still in all versions of flex-mojos from 3.x to 6.x?
>>>>
>>>> Thanks Chris!
>>>>
>>>> --
>>>> Carlos Rovira
>>>> Director de TecnologĂ­a
>>>> M: +34 607 22 60 05
>>>> F:  +34 912 35 57 77
>>>> http://www.codeoscopic.com
>>>> http://www.directwriter.es
>>>> http://www.avant2.es
>>>>
>>>> --
>>>> You received this message because you are subscribed to the Google
>>>> Groups "Flex Mojos" group.
>>>> To post to this group, send email to [email protected]
>>>>
>>>> To unsubscribe from this group, send email to
>>>> flex-mojos+...@**googlegroups.com
>>>>
>>>> For more options, visit this group at
>>>> http://groups.google.com/**group/flex-mojos<http://groups.google.com/group/flex-mojos>
>>>>
>>>> http://flexmojos.sonatype.org/
>>>>
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Flex Mojos" group.
>>> To post to this group, send email to [email protected]
>>>
>>> To unsubscribe from this group, send email to
>>> flex-mojos+...@**googlegroups.com
>>>
>>> For more options, visit this group at
>>> http://groups.google.com/**group/flex-mojos<http://groups.google.com/group/flex-mojos>
>>>
>>> http://flexmojos.sonatype.org/
>>>
>>>
>>>  --
>>> You received this message because you are subscribed to the Google
>>> Groups "Flex Mojos" group.
>>> To post to this group, send email to [email protected]
>>>
>>> To unsubscribe from this group, send email to
>>> flex-mojos+...@**googlegroups.com
>>>
>>> For more options, visit this group at
>>> http://groups.google.com/**group/flex-mojos<http://groups.google.com/group/flex-mojos>
>>>
>>> http://flexmojos.sonatype.org/
>>>
>>
>>
> ------------------------------
>
> *IMPORTANT NOTICE*: MahiFX Limited (*MahiFX*), (company no. 2446590) is
> registered in New Zealand. MahiFX is authorised and regulated by the
> Australian Securities and Investment Commission ARBN 152 535 085, AFSL
> 414198. This email, its attachments and any rights attaching hereto are
> confidential and intended exclusively for the person to whom the email is
> addressed. If you are not the intended recipient, do not read, copy,
> disclose or use the contents in any way. Please notify the sender by return
> email and destroy the email and attachments immediately. MahiFX does not
> accept any liability for any changes made to this email or attachments
> after sending by MahiFX. You must scan this email and attachments for
> viruses. The opinions expressed are not necessarily those of MahiFX. MahiFX
> accepts no liability for any loss, damage or consequence, whether caused by
> our own negligence or not, resulting directly or indirectly from the use of
> this email and attachments.
>
> For more information about MahiFX Limited see mahifx.com.
>
> --
> You received this message because you are subscribed to the Google
> Groups "Flex Mojos" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/flex-mojos
>
> http://flexmojos.sonatype.org/
>

-- 
You received this message because you are subscribed to the Google
Groups "Flex Mojos" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/flex-mojos

http://flexmojos.sonatype.org/

Reply via email to