Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[m2e-users] Sub-modules pom.xml do not see libraries defined in the main pom.xml

Good morning to everyone.
I am quite new to Maven and I have a problem that I am not able to solve.
I have my project structured in this way:

main_module
|--- module_1
|--- module_2
|--- module_3

and for each module I have created its pom.xml file.
I have the following questions:
1) I saw that in the main_module there is not any folder for putting
the source code file, but from the manual I read that it is right
because it has been created as main project. Is it right?
2) I have defined a package in "module_1" that I would like to re-use
in "module_2", but it does not see it. How can I do this?

Thanks in advance for any help.
Have a nice day.

Mauro.

-- 
Dr. Mauro Dragoni
Ph.D. in Computer Science.
Post-Doc Researcher at Fondazione Bruno Kessler (FBK-IRST), Trento, Italy.

My Research Site: https://dkm.fbk.eu/index.php/Mauro_Dragoni
My Business Site: http://www.dragotechpro.com
My News-Project Site: http://www.dragotimes.com


Confidentially Notice. This electronic mail transmission may contain
legally privileged and/or confidential information. Do not read this,
if you are not the person named to.
Any use, distribution, copying or disclosure by any other person is
strictly prohibited.
If you received this transmission in error, please notify the sender
and delete the original transmission and its attachments without
reading or saving it in any manner.


Back to the top