On Thu, Jan 21, 2010 at 5:21 PM, Luciano Resende <[email protected]> wrote:
> I just noticed that the 2.x samples that use shaded dependencies are
> failing with maven 2.0.9, but works fine with maven 2.2.1.
> I just wanted to mention this, as we might want to bum the minimun
> maven requirement for 2.x build, or investigate/fix the issue below
> with maven 2.0.9
>
> sample/HelloworldServlet.java:[30,1092] Only a type can be imported.
> org.oasisopen.sca.ComponentContext resolves to a package
> sample/HelloworldServlet.java:[31,1135] Only a type can be imported.
> org.oasisopen.sca.annotation.Reference resolves to a package
> sample/HelloworldServlet.java:[38,1296] Reference cannot be resolved to a type
> sample/HelloworldServlet.java:[45,1585] ComponentContext cannot be
> resolved to a type
> sample/HelloworldServlet.java:[45,1608] ComponentContext cannot be
> resolved to a type
>
>

Thanks for the Maven info, it was happening on Hudson too though only
intermittently and seems to be fine on Hudson recently so i didn't
investigate. Hudson is using the latest maven. I'll have a look, if
you can recreate it every time with Maven 2.0.9 can you look in the
shaded jar and see if it really does or doesn't include the sca api
classes?

  ...ant

Reply via email to