Yes, this is clearly an IDE bug. I have reported it here [1]. Parent pom
change is just a workaround.

[1] https://youtrack.jetbrains.com/issue/IDEA-153410

On Thu, Mar 24, 2016 at 2:24 PM, Isuru Perera <isu...@wso2.com> wrote:

> Yes, I'm facing the same issue in IntelliJ IDEA 2016.1.
>
> I'm not sure that removing that line will cause any other issues.
>
> According to the Maven Bundle Plugin [1], we should be able to use
> {maven-resources}
>
> So, when I want to run unit tests, I just add following line to my pom's
> properties section.
>
> <include.resource></include.resource>
>
> However, we need a proper fix to this.
>
> Thanks!
>
> [1]
> http://felix.apache.org/documentation/subprojects/apache-felix-maven-bundle-plugin-bnd.html#include-resource
>
> On Thu, Mar 24, 2016 at 12:22 PM, Manuranga Perera <m...@wso2.com> wrote:
>
>> I can't run unit tests form Intellij 16 in repositories that depends on
>> C5 parent. It gives an error [1]. But it works if I modify the parent pom.
>> As far as I have tested this change have no other effect. I have sent it as
>> a PR [2]
>>
>> Does this issue happen to anyone else?
>>
>> [1] "Error:osgi: [<project-id>] Input file does not exist:
>> maven-resources"
>> [2] https://github.com/wso2/carbon-parent/pull/18
>> --
>> With regards,
>> *Manu*ranga Perera.
>>
>> phone : 071 7 70 20 50
>> mail : m...@wso2.com
>>
>> _______________________________________________
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Isuru Perera
> Associate Technical Lead | WSO2, Inc. | http://wso2.com/
> Lean . Enterprise . Middleware
>
> about.me/chrishantha
> Contact: +IsuruPereraWSO2 <https://www.google.com/+IsuruPereraWSO2/about>
>



-- 
With regards,
*Manu*ranga Perera.

phone : 071 7 70 20 50
mail : m...@wso2.com
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to