On Thu, Jul 26, 2012 at 4:26 AM, Gary Kopp <[email protected]> wrote:
> Hello devs,
>
> I just finished porting my XWiki development environment from Windows 7 to
> Ubuntu 12.04. I am now able to build all projects from the command line
> without errors. I'm working with the master branch from Git. I have Eclipse
> Juno installed with plugins that include m2eclipse (the version from the
> Eclipse update site) and AJDT. I am now trying to import the entire
> xwiki-commons Maven project into Eclipse. Just as happened under Windows
> (which I never asked about, since I was still trying to get command line
> builds to work), there are three Maven goals (plugins) in the xwiki-commons
> projects that fail to map to Eclipse plugins -- aspectJ-maven-plugin,
> maven-antrun-plugin, and maven-remote-resources-plugin. Can anyone give me
> some hints on how to resolve these mapping problems? Googling for answers
> about this hasn't yielded anything that I can understand :-)

I usually only open what I'm working on in Eclipse because otherwise
with commons/rendering/platform it's a lot of projects and it's
slowing down everything for things you probably don't care.

As for the missing mapping between Maven plugins and m2e handlers:
* aspectJ-maven-plugin: could not find any either, there used to be
one but it does not work anymore on 4.x. There is no official version
of AJDT for 4.x so that's probably why it's not yet fixed but it
should be quickly fixed as soon as there is an official AJDT for 4.x.
In that case it's not very hard to setup AJDT yourself properly for
the project, basically it's just about enabling it for the project and
adding the right folder in the list of source folders if I remember
well. But aspectj is used only in some legacy projects to produce
retro-compatibility APIs so you are probably not going to need it very
often.
* maven-antrun-plugin: used for a hack in one of the legacy projects
so for now it should not be a big deal for you
* maven-remote-resources-plugin: not sure why you have issue with this
one, m2e ignore it by default and just indicate it in a warning

>
> --Gary
>
> _______________________________________________
> devs mailing list
> [email protected]
> http://lists.xwiki.org/mailman/listinfo/devs



-- 
Thomas Mortagne
_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to