Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 350629 - Parent multi module Maven project has error when a child has Acceleo nature
Summary: Parent multi module Maven project has error when a child has Acceleo nature
Status: CLOSED FIXED
Alias: None
Product: Acceleo
Classification: Modeling
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 365557
  Show dependency tree
 
Reported: 2011-06-28 15:51 EDT by Charlie Mordant CLA
Modified: 2015-05-27 08:55 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Charlie Mordant CLA 2011-06-28 15:51:08 EDT
Build Identifier: 20110615-0604

Error console is full of errors when a Maven module has Acceleo nature:

Description	Ressource	Chemin 	Emplacement 	Type
Cannot find operation (applicationContextCorePath()) for the type (EPackage)	generateCore.mtl	/newArchetypeTest/newArchetypeTest-gen/newArchetypeTest-m2t/src/main/java/templates	ligne 6	Acceleo Problem


Acceleo mtl resolution falls in error for parent project (that's normal, mtl files must be resolved in the child module.



Reproducible: Always

Steps to Reproduce:
1.Create a Maven pom project
2.Create an Acceleo module with some templates + standalone compilation + gen
3. You'll see some errors in the parent project and in the console
Comment 1 Mariot Chauvin CLA 2011-07-06 10:41:23 EDT
Could you provide us a zip with the projects to import in our workspace to reproduce more easily ?

Thanks.
Comment 2 Stephane Begaudeau CLA 2012-04-23 08:20:36 EDT
It works now in Acceleo 3.2.1 and 3.3.0, closing this issue.
Comment 3 Laurent Goubet CLA 2015-05-27 08:55:16 EDT
Closing resolved bugs