Hi,
I have a multiproject maven
Parent1 :
è Child1
è Child2
I launch mvn clean install on Parent1.
I need to skip package phase in subproject Child2.
It is possible ?
Thx in advance.
: mardi 30 juin 2009 17:13
À : users@maven.apache.org
Objet : Re: Skip package phase for one subproject
As far as i know, you cannot skip the default lifecycle phases. Why exactly
do you want to do this?
-Jaikiran
Marouane Amraoui-2 wrote:
Hi,
I have a multiproject maven
Parent1 :
è Child1
Hi,
I use grails maven plugin.
I have Multi project :
Parent
-àchild1 (jar)
-àchild2 (jar)
-àchild3 (war : grails web application)
I launch mvn clean install on parent pom. So I need to exclude packaging phase
for project child3 (grails web application) ???
For child3 I don't want to
strategy
When building a war module (packaging=war) all the dependencies are
included in the war file. WEB-INF/lib. What do you mean by making available?
Nick S.
Marouane Amraoui wrote:
Thx
If i use my application server is only a servlet engine(like tomcat) , so it
does'n support ear
Hi
Using eclipse maven plugin : maven-eclipse-plugin
It is possible to indicate to this plugin to add a classpath kind container ?
By default this plugin can add all dependencies declared in the pom file as
classpathentry kind=var path=M2_REPO/antlr/antlr/2.7.2/antlr-2.7.2.jar
enhancement, so
if you discover this feature is not currently available, I would
suggest that you file a JIRA Enhancement Request against the plugin.
Wayne
On 4/20/07, Marouane Amraoui [EMAIL PROTECTED] wrote:
Hi
Using eclipse maven plugin : maven-eclipse-plugin
It is possible to indicate
containerorg.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER/container
/classpathContainers
/configuration
/plugin
/plugins
/build
thx
-Message d'origine-
De : Marouane Amraoui [mailto:[EMAIL PROTECTED]
Envoyé : vendredi 20 avril 2007 17:44
À : Maven Users List
Objet : RE: adding classpathentry with maven
When we execute mvn eclipse :eclipse , it generate .classpath that contain a
variable named M2_REPO with all dependecnise declared in th pom file.
So it is possible to deactivate this behaviour ? ie : I don't want the plugin
eclipse to generate to me the dependencies in .classpath ??
I have to deploy a war application. My web application has some dependencies
(jar files). I deploy my war on production machine , what are all possible way
to make these jar file (declared in my pom files) available on my application
server ?
will be included in the ear.
Then you deploy the ear into your app server.
Wayne
On 4/19/07, Marouane Amraoui [EMAIL PROTECTED] wrote:
I have to deploy a war application. My web application has some dependencies
(jar files). I deploy my war on production machine , what are all possible
way to make
Can you explain more ? i didn't undrestand 'you must generate the linked
eclipse projects at once' ?
-Message d'origine-
De : Jörg Schaible [mailto:[EMAIL PROTECTED]
Envoyé : mardi 17 avril 2007 06:27
À : Maven Users List
Objet : RE: Maven 2 : eclipse.dependency ??
Marouane Amraoui
you want to do in
M2?
Wayne
On 4/16/07, Marouane Amraoui [EMAIL PROTECTED] wrote:
eclipse.dependency
is only in Maven1.x what is the equivalent on Maven2.x
thx
---
Merouane AMRAOUI
Consultant Expert
Division Développement
Hi,
I create my own archetype :
This archetype generate me a project that contain some file that contain in
there body the character $. This character
Is normaly interpreted by velocity.
There is some solution for that ?
, Marouane Amraoui [EMAIL PROTECTED] wrote:
Hi,
I create my own archetype :
This archetype generate me a project that contain some file that contain in
there body the character $. This character
Is normaly interpreted by velocity.
There is some solution
: Marouane Amraoui [mailto:[EMAIL PROTECTED]
Envoyé : lundi 16 avril 2007 15:42
À : Maven Users List
Objet : RE: Archetype : $ a predefined character
If you can explain me more your solution ?
What I need is :
property name=myproject value=${root}\${artifactId}/
${root} to be ignored
I generate my structure of eclipse project from maven.
I make a .bat file for that purpose. And I used it as an external tools in
eclipse.
When I execute this bat it generate me in the workspace of eclipse my
multiproject structure . after that I must to go to the File -- Import
to the
eclipse ?
You could execute the eclipse:eclipse using external tools but I think (not
sure) you would have to do this in your current workspace to have it refresh
-Original Message-
From: Marouane Amraoui [mailto:[EMAIL PROTECTED]
Sent: April 16, 2007 3:03 PM
To: Maven Users List
Imagine this situation :
1. I have developer team .
2. the developer's computer dont have access to internet (so no access to
remote repository maven)
3. How can I manage the dependencies in this situation ?
a. If I use local repository , if developer add a new
/16/07, Marouane Amraoui [EMAIL PROTECTED] wrote:
Thx for reply.
I generate project in the current workspace but it does'not refresh
himself.
-Message d'origine-
De: Phill Moran [mailto:[EMAIL PROTECTED]
Envoyé: lundi 16 avril 2007 19:09
À: 'Maven Users List'
Objet: RE: Maven
eclipse.dependency
is only in Maven1.x what is the equivalent on Maven2.x
thx
---
Merouane AMRAOUI
Consultant Expert
Division Développement
Email.: [EMAIL PROTECTED]
Gsm .: 065 19 60 99
Tél. | Tel.: 022 98 70 70Téléc | Fax:
Embedder:
http://idisk.maven.org/jvanzyl/Public/embedder/
Wayne
On 4/9/07, Marouane Amraoui [EMAIL PROTECTED] wrote:
Hi,
I want to atomize the creation of the structure of my project. So iwant to
develop a desktop application in order to give to the end user
To fill some parameters like
Hi,
I want to atomize the creation of the structure of my project. So iwant to
develop a desktop application in order to give to the end user
To fill some parameters like : groupId, artifactId ...
My question how can I invoke all command mvn from my application desktop , ie I
don't want
This structure below i can't generate it only using archetype
developpement if the ap1, .., apn is a parameter and not fixed in the
archetype.
Please , I want to have some directive from maven users which is the
best
way to do that :
1. Develop a plugin ???, in this case if there is a
: Marouane Amraoui [mailto:[EMAIL PROTECTED]
Envoyé : jeudi 5 avril 2007 11:22
À : Maven Users List
Objet : Maven : generate my own project structure
This structure below i can't generate it only using archetype
developpement if the ap1, .., apn is a parameter and not fixed in the
archetype
modules
each generated using the same archetype and giving it a different
packageName ?
Hope this helps.
Raphaël
2007/4/5, Marouane Amraoui [EMAIL PROTECTED]:
This structure below i can't generate it only using archetype
developpement if the ap1, .., apn is a parameter and not fixed
How can i execute a my maven plugin on eclipse ??
I develop a small plugin and I want to test it in eclipse environnement before
using mvn insall.
---
Merouane AMRAOUI
Consultant Expert
Division Développement
Email.: [EMAIL
-- services
-- valueobject
Cheers,
Franz
Henry S. Isidro wrote:
Hi,
This could prove useful:
http://maven.apache.org/plugins/maven-archetype-plugin/examples/archetype.html
Cheers,
Henry
On Wednesday, April 4, 2007 02:18, Marouane Amraoui wrote:
Hi ;
I want
Hi ;
I want to generate my projet structure :
MyProject-Appli :
-- src
-- java
-- com.omni.application
-- ap1
-- manager
-- services
-- valueobject
-- ap 2
Hi.
the fileX-1.0.jar depends to fileY-2.3.jar
my application depends to fileX-1.0 and fileY-2.4.
I added dependency for my application to fileX-1.0.jar success.
Using the Add dependecy tools on the pom file I can't add dependency for my
application to fileY-2.4 because is
Hi.
In my src directory I have a site source (apt, xdoc.xml ...: generated using
the maven-archetype-site-simple). This generate a simple site with little
information.
Whene we don't specify a site source in the src and we execute mvn site it
generate a project site with a lot of
Hello ;
I have a war file. (web application).
What I need is patch this war : for example , adding new classes file,
modifying some properties files ...
My question is there maven tools ou plugin that can be used to make patches for
my war file ??
/
classpathentry kind=con
path=org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER/
classpathentry kind=output path=classes/
/classpath
Pete
-Original Message-
From: Marouane Amraoui [mailto:[EMAIL PROTECTED]
Sent: Monday, March 12, 2007 3:31 PM
To: Maven Users List
Subject
Is OK now :). So i noticed that in the pom file signal an error of a messing
jar . for that the container doesn't work I think.
Thx a lot for your help.
-Message d'origine-
De : Marouane Amraoui [mailto:[EMAIL PROTECTED]
Envoyé : mardi 13 mars 2007 10:56
À : Maven Users List
Objet
}/../lib/tools.jar/systemPath
/dependency
I didn't undrestand what i need to do in this case
-Message d'origine-
De : Marouane Amraoui [mailto:[EMAIL PROTECTED]
Envoyé : mardi 13 mars 2007 11:11
À : Maven Users List
Objet : RE: Maven2 plugin for eclipse : OK now
Dependencies library container. If it is not there,
just add it manually to the Eclipse project classpath.
Hope this helps you,
Rodrigo
Marouane Amraoui wrote:
The missing file jar is com.sun.tools . is a dependency of commons-
attributs-compiler. In the pom file of commons-attributs-compiler
the JDK1.5.0_10 to
run.
HTH,
Pete
-Original Message-
From: Marouane Amraoui [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 13, 2007 8:49 AM
To: Maven Users List
Subject: RE: Maven2 plugin for eclipse : OK now
At the begining in InstalledJRE it was : c:\eclipse.
I modified it to C
I m using Maven2 plugin for eclipse .
Version plugin is : 0.0.10.
I created a maven project . I added dependency using the plugin.
when I add the dependency it only added in pom file and note in eclipse file
.classpath this obligate me to do
A double work
There is a
eclipse:eclipse?
http://maven.apache.org/guides/mini/guide-ide-eclipse.html
Hope this helps.
Steffen
Marouane Amraoui schrieb:
I m using Maven2 plugin for eclipse .
Version plugin is : 0.0.10.
I created a maven project . I added dependency using the plugin.
when I add the dependency it only
Subject: RE: Maven2 plugin for eclipse
http://m2eclipse.codehaus.org/
This plugin keeps your classpath in synch with your pom file via an Eclipse
classpath container. It's very good.
-Original Message-
From: Marouane Amraoui [mailto:[EMAIL PROTECTED]
Sent: Monday, March 12, 2007 2:05 PM
List
Cc : Marouane Amraoui
Objet : RE: Multi project Feature
In attachment you can see simple (very similar to yours) project structure that
uses JBoss Seam (just ignore some parts of pom.xml).
I hope it helps and it can go thru maven list.
Marouane Amraoui píše v St 10. 01. 2007 v 13:16 +
Okay,
I will test and give you a feedback soon .
Thx a lot.
De : Petr Ferschmann [mailto:[EMAIL PROTECTED]
Envoyé : vendredi 12 janvier 2007 10:16
À : Marouane Amraoui
Cc : Maven Users List
Objet : RE: Multi project Feature
Hello,
Actually you can
Hi,
I have 4 eclipse project :
MYPROJECT_Appli : business layer : as jar file package
MYPROJECT_Web : gui layer : as war file package
MYPROJECT_Test : test project
MYPROJECT_Workspace : conf files (build.xml), and libs
The final outpout of my project is :
plugin ,in maven
1.0.2 you can customise the structure in pre and post goal
On 1/10/07, Marouane Amraoui [EMAIL PROTECTED] wrote:
Hi,
I have 4 eclipse project :
MYPROJECT_Appli : business layer : as jar file package
MYPROJECT_Web : gui layer : as war file package
directly.
Marouane Amraoui píše v St 10. 01. 2007 v 12:12 +:
Thx ,
You want to say that structure is not supported in maven2 !
MYPROJECT_Appli : business layer : as jar file package
MYPROJECT_Web : gui layer : as war file package
MYPROJECT_Test : test
Hi,
Using maven 2, eclipse 3.2, m2eclipse 0.0.9.
I have : setting.xml in both maven install directory and
userhome.../.m2/setting.xml
Don't success to get rout to remote repository
Thx.
-
To unsubscribe, e-mail: [EMAIL
Hi,
i executed the command mvn -Declipse.workspace=D:\eclipse\workspace
eclipse:add-maven-repo
and i got this error msg :
Cannot execute mojo: add-maven-repo. It requires a project, but the build is
not using one.
???
thx
-
, Marouane Amraoui [EMAIL PROTECTED] wrote:
Hi,
i executed the command mvn -Declipse.workspace=D:\eclipse\workspace
eclipse:add-maven-repo
and i got this error msg :
Cannot execute mojo: add-maven-repo. It requires a project, but the build is
not using one.
Usually this means you are running
can you help me arround : Multiproject best practic and examples in maven 2
thx in advance
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
]
Envoyé : lundi 17 octobre 2005 16:35
À : Maven Users List
Objet : Re: For critical project we use maven 1.0.2 or m2 ?
From: Marouane Amraoui [EMAIL PROTECTED]
i m working on a critical j2ee project, i want an advise from you
if i use a released
version maven 1.0.2 or beta version of maven 2.0
Hi,
i m working on a critical j2ee project, i want an advise from you if i use a
released
version maven 1.0.2 or beta version of maven 2.0 (m2)
thx in advance
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
or m2 ?
Given that m2 is still in a beta release, I would advise m1.0.2
/casper
-Original Message-
From: Marouane Amraoui [mailto:[EMAIL PROTECTED]
Sent: Mon 10/17/2005 18:07
To: Maven Users List
Subject: For critical project we use maven 1.0.2 or m2 ?
Hi,
i m working on a critical
Hi all;
i m developing a framework and i have some services in.
i want to use maven inorder to chose witch service to be included
in my generated framework jar.
exeample :
framework.services :
log
security
fulltext
there is way to specify multi source directory in maven project :
example my source files :
1.frwk1/src/java
2.frwk2/src/java
i want make only one project maven and only one artifact frwk.jar that containe
both source frwk1 and frwk2.
thanks in advance.
Hi all;
i m a newer maven user ; i use maven 1.0.2 and i want
to do a complet example with maven-cvs :
1. Checkout source file from CVS
2. Compile source and and generate jar , javadoc
3. Test application using Junit .
please i 'll be very happy to receive a complete example and description
54 matches
Mail list logo