Hello,
Currently, I use an Eclipse plugin(WTP) to create a Web application.
And I use the plugin to export(deploy) the Web application to an
Web/Application Server(JBoss)'s deploy directory.
Then I can debug the application when the server is running.
The function is provided by the plugin.
If
Web application project has following conventional directory structure.
myapp
|--pom.xml
|--LICENSE.txt
|--README.txt
|--target/
|--src
|--main
|--java/
|--myapp
|--WEB-INF/
|--test
|--java/
|--resources/
myapp
It sounds like your primary requirement is how can I debug my webapp.
My project uses Maven to build and deploy a webapp to a server running
on the local machine, and then we connect the Eclipse debugger to the
local server via the standard Java remote debugging interface.
-Max
On Sun,
I am working on a little hack, a plugin to 'run' a spring context.
The code is at:
https://www.sateh.com/svn/stefan/polarrose-maven-spring-plugin/trunk/
And I execute it like:
mvn com.polarrose.maven:maven-spring-plugin:run \
You need to add a plugin group for com.polarrose.com in your settings.xml.
See
http://codehaus.org/~jvanzyl/maven2/guides/plugin/guide-java-plugin-development.html
Tom
On 10/29/06, Stefan Arentz [EMAIL PROTECTED] wrote:
I am working on a little hack, a plugin to 'run' a spring context.
The
That is correct. More info can be found here:
http://maven.apache.org/guides/introduction/introduction-to-plugin-prefix-mapping.html
Tom Huybrechts wrote:
You need to add a plugin group for com.polarrose.com in your
settings.xml.
See
Thanks, everyone, for the latest status.
Tim Moloney
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Still struggling with this The configuration below runs all my tests
in both phases. Nothing is exluded or included :-( As far as I can see,
this config is the same as the one recommended on
http://maven.apache.org/plugins/maven-surefire-plugin/examples/inclusion
-exclusion.html, where
Edwin Punzalan wrote:
This could be worth a feature... probably a button or link or checkbox
to do always do a svn cleanup before checkout.
svn cleanup doesn't always bring the local working copy to a clean
state, so while you're at it add a button to purge the local working
copy
I don't honestly understand your question.
For a webapp:
myapp
|--pom.xml
|--target/
|--src
|--|--main
|--|--|--filters/
|--|--|--java/
|--|--|--resources/
|--|--|--|--META-INF/
|--|--|--webapp/
|--|--|--|--WEB-INF/
There's more to it, but that shows webapp, META-INF, and WEB-INF and
should
I have a parent project which defines a test_version property, and a
child project which attempts to this property, which is the version of
the application in this case. However, when doing a build, the
test_version property of the parent element does not get resolved. I
get this error. May
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi there,
in the xdoc format one can create sections and subsections.
Is there a simple tag that can cause the automatic generation of a table of
contents?
I have seen some projets out there that created this manually by adding
named anchors and a
Jim, I just cookedup a set of maven wrappers for visibroker tools.
Please provide feedbacks, patches, docs if you find it it useful.
You will need to check out the source at mojo-sandbox
The site is at http://mojo.codehaus.org/visibroker-maven-plugin/
-D
On 10/28/06, Jim Bethancourt [EMAIL
Hi Max,
I think remote debug local server(I'm using JBoss) would be OK.
But it there alternative approach for local debugging?
If use remote debugging, shall I re-config some parameters in web.xml or
other conf files?
Thanks!
a cup of Java, cheers!
Sha Jiang
Max Cooper wrote:
It sounds
I am still strugling to get it run.
Thanks a lot for your suggestions. Will try what you have suggested and see
if I can through it.
Thanks
Naess, Ronny wrote:
We run Continuum on a unix server and have explicit added JAVA_HOME and
added maven and ant into PATH in run.sh.
On a Windows
Should I be able to have a multi-project that has a Mojo as one
sub-project and then have other sub-projects that use that Mojo in their
build?
I can't seem to get it to work. the top-level build fails complaining
about the plugin not being installed and not downloadable
Thanks,
Matthew
Hi Wayne,
I may not express my mind clearly.
Mergere's book Better Builds with Maven lists the Maven Standard Directory
Structure as appendix.
But the list is very general, but concrete. The following is the list:
pom.xml
LICENSE.txt
README.txt
target/
I've recently run into the same situation. I think the reason why you
are not able to resolve the property value is that in order to do so,
the parent POM must be located (because that is where the property is
defined). You can't refer to that property in the parent element. If
you simply
On 10/29/06, jiangshachina [EMAIL PROTECTED] wrote:
I don't get directories src/main/filters and src/main/resources/META-INF
when I use the plugin.
My command is
mvn archetype:create -DgroupId=demo.mvn -DartifactId=demo
-Dversion=1.0-SNAPSHOT -DarchetypeArtifactId=maven-archetype-webapp
The
Hi Wendy,
Thank your for replying me so quickly ^_^
In fact, I have ever not saw any project have directory filters.
Then I cannot understand the functions of the directory.
Is there an example about filters?
Best Regards!
a cup of Java, cheers!
Sha Jiang
Wendy Smoak-3 wrote:
On 10/29/06,
On 10/29/06, jiangshachina [EMAIL PROTECTED] wrote:
In fact, I have ever not saw any project have directory filters.
Then I cannot understand the functions of the directory.
Is there an example about filters?
In the first reply to your original message, Adrian referred to to a
section in the
Hi jfd,
The junit-report-plugin is used in m1. However, it has a counterpart in m2
which is maven-surefire-report-plugin. You can refer to this link:
http://people.apache.org/~aramirez/maven-surefire-report-plugin/ for info on
how to use this plugin. This doc however isn't released yet.
Dawn
On 10/29/06, Wendy Smoak [EMAIL PROTECTED] wrote:
In the first reply to your original message, Adrian referred to to a
section in the Better Builds with Maven book.
You can also ask Google:
http://www.google.com/search?q=maven+resource+filtering
And the first result is:
... the Getting
Thanks very much!
I must care the section in Better Builds with Maven and the links your
gave me.
Best regards!
a cup of Java, cheers!
Sha Jiang
Wendy Smoak-3 wrote:
On 10/29/06, Wendy Smoak [EMAIL PROTECTED] wrote:
In the first reply to your original message, Adrian referred to to a
Hello,
using Maven the last couple of weeks with the Jetty plugin has
provided our team with a huge productivity boost. We use the
UrlRewrite servlet[1] in order to generate pretty URLs (from a
Spring-backed application.) Currently, during development, this
UrlRewrite servlet (which is loaded
If you can get away with just using the Jetty test case that comes with
cactus, it works great in maven 2. It isn't optimal, since it only
tests inside jetty, but for our purposes we wanted to test our app in
any container.
Mohan Gopal wrote:
Hi,
I have been trying to run cactus test cases
On 10/29/06, Carlos A. Carnero Delgado [EMAIL PROTECTED] wrote:
Is there a way of modifying the web.xml at build time using Maven
profiles? Are profiles the solution?
I think that the ideal solution would involve maintaining a single
web.xml that could be modified at build time.
Sure. I do
Hi all,
I'm in the process of migrating from Maven1 to Maven2. I've being faced the
following problem.
I have a requirement to download all the dependencies, In Maven1 i just
used,
deploy:copy-deps todir=target/lib/
How do i do the above with Maven2. Is there a built in plugging for this.
Hi,
After checked out MavenCli code and found not projecthelp style option, I
supposed there is no one.
If this, I wanna know all if need a mvn help option like ant -projecthelp.
Maybe there could have a option, listGoals listTasks or projecthelp.
There are someones vote this advice?
Regards,
Hi,
There has a good example, jboss-messaging, which use replace stratedgy.
If you wanna check it out, after downloaded a new version, try to see that
file:
${jboss-messaging}/util/release-admin.xml.
Regards,
xy
2006/10/30, Carlos A. Carnero Delgado [EMAIL PROTECTED]:
Hello,
using Maven
To make the JBoss JVM listen for debugger, you set some params in the
run.bat script (or run.sh/run.conf on *nix). There should be a section
already in the run script to turn debugging on -- look for JPDA
options. You just uncomment the lines to enable remote debugging.
Note that by default
On 10/29/06, 向秦贤 [EMAIL PROTECTED] wrote:
After checked out MavenCli code and found not projecthelp style option, I
supposed there is no one.
If this, I wanna know all if need a mvn help option like ant -projecthelp.
Maybe there could have a option, listGoals listTasks or projecthelp.
For the
On 10/29/06, Saminda Abeyruwan [EMAIL PROTECTED] wrote:
I'm in the process of migrating from Maven1 to Maven2. I've being faced the
following problem.
I have a requirement to download all the dependencies, In Maven1 i just
used,
deploy:copy-deps todir=target/lib/
How do i do the above with
Hi,
Maybe doing conditional subtasks in your case is good idea.
And refering to this segment mentioned before has no bad effect.:)
which use replaceregexp, with in ant, should available in m2.
there are two codes as follows, one in firefox. and one in text.
Regards,
Qinxian
!-- slim down
Jan-Olav wrote:
Still struggling with this The configuration below runs all my tests
in both phases. Nothing is exluded or included :-( As far as I can see,
this config is the same as the one recommended on
http://maven.apache.org/plugins/maven-surefire-plugin/examples/inclusion
Hi,
Thanks hint. Althrough I'm a newbie to maven, I'd to insist on this help
option, just like maven scanning.
Supposed that a man get a project code, his first work is just to build,
and build what, can build what, he thinks, but maven cannot answer.
Isn't it?
Regards,
Qinxian
On 10/29/06, Jan-Olav Eide [EMAIL PROTECTED] wrote:
Still struggling with this The configuration below runs all my tests
in both phases. Nothing is exluded or included :-( As far as I can see,
this config is the same as the one recommended on
Hi Max,
I suspect that this is what was really happening in your previous setup
anyway, and that the Eclipse WTP plugin just took care of the details
for you.
Really, I always don't care the detail WTP plugin does.
But in my memory, it's needn't set any extra statements into
I just found that src/main/webapp is independent directory in Standard
Directory Structure.
Please see,
http://maven.apache.org/guides/introduction/introduction-to-the-standard-directory-layout.html
Then it's neither assembly nor config.
I'm confused by Better Builds with Maven *_*
The book
Hi,
Is there a TestNG mvn plugin?
TestNG can do test by a failure style.
first run all, and run failures.
If not, a testng mvn plugin maybe is good idea. Isn't it?
Regards,
Qinxian
2006/10/30, franz see [EMAIL PROTECTED]:
Jan-Olav wrote:
Still struggling with this The configuration
Hi it seems to work correctly.
I had some issues with my maven project so after a few errors I worked only
from within eclipse with the maven plugin from codehaus. It looks like the
command line execution from maven work fine after all only the execution
from within eclipse displays and fails
Maven does have a help option. It just doesn't list the lifecycles
etc that Wendy mentioned. Instead I'd suggest that those responsible
for the source code include a README that instructs users where to
acquire Maven, what version they require, and what command to run to
properly build and
Hi Wendy,
Yes. Assembly plugging is what I need. Could you please point me to a place
where i can find more info. I've already following
http://maven.apache.org/guides/mini/guide-assemblies.html.
Thank you
Saminda
On 10/30/06, Wendy Smoak [EMAIL PROTECTED] wrote:
On 10/29/06, Saminda
Hello,
Is there a way telling the jar:jar plugin to include the .cvsignore files ?
I want to include those files in my corporate archetype so that developpers
don't need to create them by hand
Thanks for any hints.
-tony
--
View this message in context:
44 matches
Mail list logo