You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Sameer Patil <sa...@gmail.com> on 2011/11/22 16:52:32 UTC
Putting together two seperate wicket projects into a multi-module
maven project
Hi,
I have created 2 separate wicket web projects. Now i want put them together in multi-module maven project and put the dependency as required.
Will it give problem when i have have 2 web-inf folders.
Example
Project A has web-inf and web.xml etc.
Project B also has web-inf and web.xml etc.
Now i put both Project "A" and "B" into a multi-module maven Project named "C", and have the pom.xml of project "B" changed so it includes the dependency of "A"
Finally i want to deploy war of project "B".
Also should the project "A" be packaged as jar or war?
Thanks
Sameer
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: Putting together two seperate wicket projects into a
multi-module maven project
Posted by nivs <sh...@gmail.com>.
Hi
Sometime back I did something similar. The thread is here see if this helps.
http://apache-wicket.1842946.n4.nabble.com/Re-Using-Wicket-to-build-Application-Portal-td2248912.html#a2258389
Multiple Mave Projects
--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/Putting-together-two-seperate-wicket-projects-into-a-multi-module-maven-project-tp4096207p4103152.html
Sent from the Users forum mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: Putting together two seperate wicket projects into a multi-module
maven project
Posted by Sven Meier <sv...@meiers.net>.
You can use maven war overlays.
But it would be much easier if your two projects would be packaged as
jar only. With Wicket there's hardly a reason to require project
specific web.xml files in A and B.
Sven
Am 22.11.2011 16:52, schrieb Sameer Patil:
> Hi,
> I have created 2 separate wicket web projects. Now i want put them together in multi-module maven project and put the dependency as required.
> Will it give problem when i have have 2 web-inf folders.
> Example
> Project A has web-inf and web.xml etc.
> Project B also has web-inf and web.xml etc.
>
> Now i put both Project "A" and "B" into a multi-module maven Project named "C", and have the pom.xml of project "B" changed so it includes the dependency of "A"
>
> Finally i want to deploy war of project "B".
> Also should the project "A" be packaged as jar or war?
> Thanks
> Sameer
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org