Reputation: 575
I have a normal Netbeans project, and I would like to add the source packages of this project to a project that is a Maven Web Application, also within Netbeans.
I tried copy-pasting the packages into the /src project directory of the Maven application, but this doesn't seem to work.
Could someone please tell me how I could do this ?
If this is not possible, could someone tell me if I can convert the entire normal project into a Maven Web Application ? Thank you :)
Upvotes: 0
Views: 393
Reputation: 97407
It sounds like you need to add the dependency to your web-application instead of the source code, cause maven is intended to handle exactly such situations.
Upvotes: 1