Re: Setting dependency with plugin generated jar

2010-11-12 Thread banka.ravi
-- View message @ http://maven.40175.n5.nabble.com/Setting-dependency-with-plugin-generated-jar-tp3259867p3259883.htmlhttp://maven.40175.n5.nabble.com/Setting-dependency-with-plugin-generated-jar-tp3259867p3259883.html?by-user=t http://maven.40175.n5.nabble.com/Setting

Re: Setting dependency with plugin generated jar

2010-11-12 Thread Ron Wheeler
email] http://user/SendEmail.jtp?type=nodenode=3259883i=1 -- View message @ http://maven.40175.n5.nabble.com/Setting-dependency-with-plugin-generated-jar-tp3259867p3259883.htmlhttp://maven.40175.n5.nabble.com/Setting-dependency-with-plugin-generated-jar

Re: Setting dependency with plugin generated jar

2010-11-12 Thread banka.ravi
/Setting-dependency-with-plugin-generated-jar-tp3259867p3259883.htmlhttp://maven.40175.n5.nabble.com/Setting-dependency-with-plugin-generated-jar-tp3259867p3259883.html?by-user=t http://maven.40175.n5.nabble.com/Setting-dependency-with-plugin-generated-jar-tp3259867p3259883.html?by-user=thttp://maven

Re: Setting dependency with plugin generated jar

2010-11-12 Thread Antonio Petrelli
2010/11/12 Ron Wheeler rwhee...@artifact-software.com: The war can not be completely tested because it contains visual elements and navigation and flow that usually requires manual testing. Or automated integration/functional testing, for example via Selenium or Canoo WebTest. Antonio

Re: Setting dependency with plugin generated jar

2010-11-12 Thread Wendy Smoak
On Fri, Nov 12, 2010 at 12:24 AM, banka.ravi banka.r...@gmail.com wrote: I am finding a way to generate jar also in the war project and setting fer other projects depend on that. (Aside from all the advice you're getting to move the classes to a separate module...) Use the war plugin

Re: Setting dependency with plugin generated jar

2010-11-11 Thread banka.ravi
message @ http://maven.40175.n5.nabble.com/Setting-dependency-with-plugin-generated-jar-tp3259867p3259883.html To unsubscribe from Setting dependency with plugin generated jar, click herehttp://maven.40175.n5.nabble.com/template/TplServlet.jtp?tpl=unsubscribe_by_codenode=3259867code

Re: Setting dependency with plugin generated jar

2010-11-11 Thread Kalpak Gadre
email]http://user/SendEmail.jtp?type=nodenode=3259883i=1 -- View message @ http://maven.40175.n5.nabble.com/Setting-dependency-with-plugin-generated-jar-tp3259867p3259883.html To unsubscribe from Setting dependency with plugin generated jar, click herehttp://maven.40175

Re: Setting dependency with plugin generated jar

2010-11-11 Thread banka.ravi
-- View message @ http://maven.40175.n5.nabble.com/Setting-dependency-with-plugin-generated-jar-tp3259867p3259883.htmlhttp://maven.40175.n5.nabble.com/Setting-dependency-with-plugin-generated-jar-tp3259867p3259883.html?by-user=t To unsubscribe from Setting dependency

Re: Setting dependency with plugin generated jar

2010-11-11 Thread Ron Wheeler
-dependency-with-plugin-generated-jar-tp3259867p3259883.htmlhttp://maven.40175.n5.nabble.com/Setting-dependency-with-plugin-generated-jar-tp3259867p3259883.html?by-user=t To unsubscribe from Setting dependency with plugin generated jar, click here http://maven.40175.n5.nabble.com/template

Re: Setting dependency with plugin generated jar

2010-11-11 Thread Antonio Petrelli
2010/11/11 Ron Wheeler rwhee...@artifact-software.com: War project has almost no code or preferably no code . Code is in jar project. War project has WebContent stuff (configurations, XML, images, JSPs) and depends on your Jar project for its classes. It will create a WAR file with the

Re: Setting dependency with plugin generated jar

2010-11-11 Thread Ron Wheeler
You are right of course. The point was to explain how not to have duplicate source code and how not to make jars depend on wars. As an aside: I prefer to write libraries of code (deployed as jars) that perform all of the functions that are not related to the view since the model and

Re: Setting dependency with plugin generated jar

2010-11-11 Thread Antonio Petrelli
2010/11/11 Ron Wheeler rwhee...@artifact-software.com: The point was to explain how not to have duplicate source code and how not to make jars depend on wars. Agreed Ron :-) When I saw your sentence I wrote that answer to be sure that a wrong message (don't ever put Java code in a war project)

Re: Setting dependency with plugin generated jar

2010-11-11 Thread Ron Wheeler
On 11/11/2010 11:29 AM, Antonio Petrelli wrote: 2010/11/11 Ron Wheelerrwhee...@artifact-software.com: The point was to explain how not to have duplicate source code and how not to make jars depend on wars. Agreed Ron :-) When I saw your sentence I wrote that answer to be sure that a wrong

Re: Setting dependency with plugin generated jar

2010-11-11 Thread banka.ravi
=nodenode=3259883i=0 For additional commands, e-mail: [hidden email] http://user/SendEmail.jtp?type=nodenode=3259883i=1 -- View message @ http://maven.40175.n5.nabble.com/Setting-dependency-with-plugin-generated-jar-tp3259867p3259883.htmlhttp://maven.40175.n5

Re: Setting dependency with plugin generated jar

2010-11-11 Thread Kalpak Gadre
=nodenode=3259883i=0 For additional commands, e-mail: [hidden email] http://user/SendEmail.jtp?type=nodenode=3259883i=1 -- View message @ http://maven.40175.n5.nabble.com/Setting-dependency-with-plugin-generated-jar-tp3259867p3259883.htmlhttp://maven.40175.n5

Setting dependency with plugin generated jar

2010-11-10 Thread banka.ravi
to differentiate this jar with war. Now the problem is how I should put a dependency in other projects on this jar file. Thanks in advance Ravi -- View this message in context: http://maven.40175.n5.nabble.com/Setting-dependency-with-plugin-generated-jar-tp3259867p3259867.html Sent from the Maven

Re: Setting dependency with plugin generated jar

2010-11-10 Thread Kalpak Gadre
To make it work the Maven way, you should ideally separate the jar from the war file as an independent module. Your war file will then depend on the jar. Not sure if your packaging is war, adding maven-jar-plugin creates a jar file? If it does then you can use build-helper-maven-plugin to