--
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
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
/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
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
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
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
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
--
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
-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
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
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
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)
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
=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
=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
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
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
17 matches
Mail list logo