Hi All,
1)Can any one help how to run pom.xml of another project b4 running the
current project pom.xml
i.e my pom is dependent on other pom like in ant one target is dependent on
other target.
I need to run independent pom then after the dependent pom with single
instruction .
2)One more thi
Thx!
2008/9/22 Wendy Smoak <[EMAIL PROTECTED]>
> On Sun, Sep 21, 2008 at 7:06 PM, 陈思淼 <[EMAIL PROTECTED]> wrote:
> > I know i can use mvn intall -DskipTests to disable unit test when
> install.
> > but how to configure it in the pom to disable it ? Thankx for help.
>
>
> http://maven.apache.org/p
Hi Thomas,
See maven-eclipse-plugin, and mvn eclipse:eclipse,
http://maven.apache.org/plugins/maven-eclipse-plugin/eclipse-mojo.html.
If you wish, you could also try m2eclipse by using mvn eclipse:m2eclipse,
but note that you'll have to install m2eclipse from the sonatype update site
before.
Chee
Hi Olivier,
I don't have the answer to all your questions but I believe I can help
with questions 1 & 2:
1 - Use the "provided" scope for all your war dependencies, see
http://maven.apache.org/ref/current/maven-model/maven.html#class_dependency
and
http://maven.apache.org/guides/introduction/int
Hi everyone,
I have a multi-module project as follows:
my_project
|
+- myapp1 (war)
|
+- myapp2 (war)
|
+- myutils (jar)
I want to assemble "my_project" as follows:
my_project.zip
|
+- applications/
| |
| +- myapp1.war
| |
| +- myapp2.war
|
+- lib/
|
+- myutils.jar
|
+- *.jar (JAR
thomas2004 wrote:
>
> I use "mvn archetype:create -DarchetypeGroupId=org.apache.maven.archetypes
> -DarchetypeArtifactId=maven-archetype-webapp -DgroupId=com.mycompany.app
> -DartifactId=TestWebApp" to create a project. But I have to create the
> ".project" file sothat I can import the project i
On Sun, Sep 21, 2008 at 7:06 PM, 陈思淼 <[EMAIL PROTECTED]> wrote:
> I know i can use mvn intall -DskipTests to disable unit test when install.
> but how to configure it in the pom to disable it ? Thankx for help.
http://maven.apache.org/plugins/maven-surefire-plugin/examples/skipping-test.html
--
I know i can use mvn intall -DskipTests to disable unit test when install.
but how to configure it in the pom to disable it ? Thankx for help.
Depends on how you are creating the JAR - both the assembly plugin and
the shade plugin have the ability to install it in the local
repository, however only the shade plugin will rewrite the POM to
remove the additional dependencies.
- Brett
2008/9/16 <[EMAIL PROTECTED]>:
> I have a product mult
This seems like a limitation in the plugin that you should file an issue for.
Cheers,
Brett
2008/9/16 Barry Kaplan <[EMAIL PROTECTED]>:
>
> We have setup some poms only for the purpose of declaring dependencies (eg,
> "unit-test" which depends junit, hamcrest, mockito, etc). Dependent projects
>
Googling for "maven eclipse" reveals the following 2 links at the top:
http://maven.apache.org/guides/mini/guide-ide-eclipse.html
http://maven.apache.org/plugins/maven-eclipse-plugin/
Is there a specific question you have which is not sufficiently
covered in that documentation?
Wayne
On Sun, Sep
if .project is not in .cvsignore file
if maven-plugin knows where M2_REPO is located e.g.
mvn eclipse:configure-workspace -Declipse.workspace=
goto project root
mvn eclipse:eclipseand eclipse files will be created
http://swik.net/Spring/Spring+Framework+News/How+to+create+a+Spring-DM+bundle+pro
I use "mvn archetype:create -DarchetypeGroupId=org.apache.maven.archetypes
-DarchetypeArtifactId=maven-archetype-webapp -DgroupId=com.mycompany.app
-DartifactId=TestWebApp" to create a project. But I have to create the
".project" file sothat I can import the project in Eclipse. Surely I can use
mv
Hi,
I have a multi-project POM that works fine for compilation and work as
a whole but is very difficult to work with in IDEs and when it comes
to compiling sub components separately.
The POM structure looks like this:
Main POM
--> EJB Project POM
--> WAR Container POM
--> WebApp WAR Project
Hi,
I guess you already looked at the page of the plugin :
http://maven.apache.org/plugins/maven-pmd-plugin/
If what you ask isn't present, then yes, you should file a JIRA for this.
But as always, if you really need this additional feature, you should attach
the patch. Generally customizing a si
Hi Dave, and thanks for the fast reply.
I already have a settings.xml and the build works by retrieving
artifacts from the repositories defined in it.
However, the archetypes are not searched in those repositories only in
the central Maven repository :( I don't know why it does not use the
sett
16 matches
Mail list logo