Re: Maven2+Hibernate3 Annotation Problem

2007-02-04 Thread Alejandro Scandroli

Hi

It looks good to me. Are you getting any errors?
Try adding your property file:
eg.
propertyfilesrc/main/resources/hibernate.properties/propertyfile

You can also try:
jdk5true/jdk5
ejb3true/ejb3

Alejandro.


On 2/4/07, lemon dumpling [EMAIL PROTECTED] wrote:

Hi,

I want to generate database schema to a sql file and feed the schema into my
database. I have hibernate annotations instead of hbm.xml files.

plugin
groupIdorg.codehaus.mojo/groupId
artifactIdhibernate3-maven-plugin/artifactId
version2.0-SNAPSHOT/version
configuration
  components
component
  namehbm2ddl/name
/component
  /components
  componentProperties
droptrue/drop
createtrue/create

configurationfilesrc/main/resources/etc/hibernate.cfg.xml/configurationfile
  /componentProperties
/configuration
/plugin

I believe something is missing. Thanks!

Cheers




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Maven shell

2007-02-04 Thread Arnaud Bailly
Hello to all, 
I wonder if there exists or if someone is working on a Maven shell: an
application that would load a pom (or poms) once, do all the
initialization work then wourd accept maven commands or some kind of
language allowing for modification of the pom.

regards,
-- 
OQube  software engineering \ génie logiciel 
Arnaud Bailly, Dr.
\web http://www.oqube.com


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [M2] not to include dependencies in an ear file

2007-02-04 Thread Stephane Nicoll

It depends why you want to exclude it. If it is provided by the
container then using the provided scope makes sense. Otherwise you can
just use the excluded flag in the module's configuration.

Regards,
Stéphane



On 1/24/07, Roberto UserList [EMAIL PROTECTED] wrote:

Perfect Marco and Wayne, It worked fine, but, what is strange is that ear
file, is a subproject of a main project and I had to remove the scope
compile of the other subprojects to work perfectly.
Bu the way, everything is ok now.
Thanks a lot.
Regards,
Roberto.


On 1/24/07, Wayne Fay [EMAIL PROTECTED] wrote:

 Try scopeprovided/scope for those dependencies to leave them out of
 the EAR.

 Wayne

 On 1/24/07, Marco Mistroni [EMAIL PROTECTED] wrote:
  Hi,
can u try to change the scope  of those dependencies?
 
  hth
   marco
 
 
 
  On 1/24/07, Roberto UserList [EMAIL PROTECTED] wrote:
  
   Hi all ! What can I do not to include the dependencies described in
 the
   master pom into an ear file?
   Thanks in advance for help.
   Regards,
   Roberto.
  
  
 
 

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]






-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Maven2+Hibernate3 Annotation Problem

2007-02-04 Thread lemon dumpling

I don't see the file getting created, as well as the table binding...



On 2/4/07, Alejandro Scandroli [EMAIL PROTECTED] wrote:


Hi

It looks good to me. Are you getting any errors?
Try adding your property file:
eg.
propertyfilesrc/main/resources/hibernate.properties/propertyfile

You can also try:
jdk5true/jdk5
ejb3true/ejb3

Alejandro.


On 2/4/07, lemon dumpling [EMAIL PROTECTED] wrote:
 Hi,

 I want to generate database schema to a sql file and feed the schema
into my
 database. I have hibernate annotations instead of hbm.xml files.

 plugin
 groupIdorg.codehaus.mojo/groupId
 artifactIdhibernate3-maven-plugin/artifactId
 version2.0-SNAPSHOT/version
 configuration
   components
 component
   namehbm2ddl/name
 /component
   /components
   componentProperties
 droptrue/drop
 createtrue/create


configurationfilesrc/main/resources/etc/hibernate.cfg.xml/configurationfile
   /componentProperties
 /configuration
 /plugin

 I believe something is missing. Thanks!

 Cheers



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Properties for pom.xml

2007-02-04 Thread Rahamim, Zvi \(Zvi\)
Hi,
Is there a way to tell my pom.xml to load properties from a property
file that resides in a remote repository?
Example for such property file is com/myapp/myprop/A.properties.
Thanks!

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



pluginGroups in pom.xml

2007-02-04 Thread Mark Proctor
I'm writting a plugin that is specific to my project, I want the user to 
be able to call this plugin outside of the normal lifecycles. I have 
seen the documentation on pluginGroups, but I don't want to have to make 
the user go through the extra step of creating a settings.xml - is there 
anyway to make my plugin in the default search space, out of the box in 
my project? i.e. can the pluginGroups element be specific inside of the 
pom.xml.


Mark

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Maven2: Error packaging the ear

2007-02-04 Thread Alok Jindal

hi 

I'm still not able to solve the issue. Could you please tell me clearly what
could be the real issue and how to exactly solve it.

Thanks and regards
Alok



Stephane Nicoll-2 wrote:
 
 Hi,
 
 On 1/22/07, Alok Jindal [EMAIL PROTECTED] wrote:

 Hi,

 I'm http://www.nabble.com/file/5835/TraceLogEar.txt TraceLogEar.txt
 http://www.nabble.com/file/5836/pom.xml pom.xml

 I working on a project, having ejb, web and java project. I want to
 package
 then as a ear but i'm facing the given in the TraceLogEar.txt file. Also
 i
 get the same error when i try to generate aplication.xml using the
 plugin.

 I have attached my pom.xml as well.

 Kindly help me to solve this error, any input would really be helpful
 
 Yeah right. EarMojo line 152 in the *standard* EAR plugin is */
 
 You're most probably using a forked EAR plugin and the issues is
 coming from there I guess.
 
 HTH,
 
 Stéphane

 thanks and regards
 Alok Jindal


 --
 View this message in context:
 http://www.nabble.com/Maven2%3A-Error-packaging-the-ear-tf3058066s177.html#a8502532
 Sent from the Maven - Users mailing list archive at Nabble.com.


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]


 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Maven2%3A-Error-packaging-the-ear-tf3058066s177.html#a8793722
Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Properties for pom.xml

2007-02-04 Thread franz see

Good day to you, Rahamin,

You may want to take a look at [1].

Cheers,
Franz

[1] http://maven.apache.org/plugins/maven-remote-resources-plugin/


Rahamim, Zvi (Zvi) wrote:
 
 Hi,
 Is there a way to tell my pom.xml to load properties from a property
 file that resides in a remote repository?
 Example for such property file is com/myapp/myprop/A.properties.
 Thanks!
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 

-- 
View this message in context: 
http://www.nabble.com/POM-Inheritance-tf3164691s177.html#a8793768
Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Properties for pom.xml

2007-02-04 Thread franz see

Good day,

Pardon, my answer was incomplete :-)

You may want to use [1] to get the resource, and use [2] to declare that
file as a filter file ( a file containing properties ).

Cheers,
Franz

[1] http://maven.apache.org/plugins/maven-remote-resources-plugin/
[2]
http://maven.apache.org/plugins/maven-resources-plugin/examples/filter.html


franz see wrote:
 
 Good day to you, Rahamin,
 
 You may want to take a look at [1].
 
 Cheers,
 Franz
 
 [1] http://maven.apache.org/plugins/maven-remote-resources-plugin/
 
 
 Rahamim, Zvi (Zvi) wrote:
 
 Hi,
 Is there a way to tell my pom.xml to load properties from a property
 file that resides in a remote repository?
 Example for such property file is com/myapp/myprop/A.properties.
 Thanks!
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 
 

-- 
View this message in context: 
http://www.nabble.com/POM-Inheritance-tf3164691s177.html#a8793783
Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Maven2: Error packaging the ear

2007-02-04 Thread Wayne Fay

I looked up this error message online and it seems like com.trend.iwss
is some anti-virus software, so I think perhaps some Jars from their
software ended up in the classpath and got injected somehow into his
Maven build. Or the anti-virus software saw the Maven build happening
and somehow stepped in to see what was going on, make sure there were
no viruses working, etc.

I would disable the antivirus, make sure your path and classpath are
empty, and try the build again.

Or, as Stéphane suggested, you're using a forked EAR plugin and really
shouldn't be bothering us with these problems. (This means your EAR
plugin has been modified by someone, and is not an official Maven EAR
plugin.)

Do you have another computer around that you could try this on, to see
if the results are different?

Wayne

On 2/4/07, Alok Jindal [EMAIL PROTECTED] wrote:


hi

I'm still not able to solve the issue. Could you please tell me clearly what
could be the real issue and how to exactly solve it.

Thanks and regards
Alok



Stephane Nicoll-2 wrote:

 Hi,

 On 1/22/07, Alok Jindal [EMAIL PROTECTED] wrote:

 Hi,

 I'm http://www.nabble.com/file/5835/TraceLogEar.txt TraceLogEar.txt
 http://www.nabble.com/file/5836/pom.xml pom.xml

 I working on a project, having ejb, web and java project. I want to
 package
 then as a ear but i'm facing the given in the TraceLogEar.txt file. Also
 i
 get the same error when i try to generate aplication.xml using the
 plugin.

 I have attached my pom.xml as well.

 Kindly help me to solve this error, any input would really be helpful

 Yeah right. EarMojo line 152 in the *standard* EAR plugin is */

 You're most probably using a forked EAR plugin and the issues is
 coming from there I guess.

 HTH,

 Stéphane

 thanks and regards
 Alok Jindal


 --
 View this message in context:
 
http://www.nabble.com/Maven2%3A-Error-packaging-the-ear-tf3058066s177.html#a8502532
 Sent from the Maven - Users mailing list archive at Nabble.com.


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




--
View this message in context: 
http://www.nabble.com/Maven2%3A-Error-packaging-the-ear-tf3058066s177.html#a8793722
Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Maven shell

2007-02-04 Thread Eric Redmond

I've not heard of anything... are you interested in creating one?

On 2/4/07, Arnaud Bailly [EMAIL PROTECTED] wrote:


Hello to all,
I wonder if there exists or if someone is working on a Maven shell: an
application that would load a pom (or poms) once, do all the
initialization work then wourd accept maven commands or some kind of
language allowing for modification of the pom.

regards,
--
OQube  software engineering \ génie logiciel 
Arnaud Bailly, Dr.
\web http://www.oqube.com


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
Eric Redmond
http://codehaus.org/~eredmond


Re: Building ejb with Maven 1.1

2007-02-04 Thread Manos Batsis

Wayne Fay wrote:

Most people who are just getting started with Maven are going with M2
simply because it is newer, has more developers working on it
regularly, and has more users at this point as compared to M1. However
there are still plenty of people using M1 and its far from a dead
project.


True, i still have a number of simple libraries build with M1 without 
the need to port those to M2.


That being said, i found it pretty easy to work with Maven 2 for EJB 
projects using Mergere's [1] Better Builds with Maven 2. The book and 
it's source code examples are kindly available for free by Mergere. A 
chapter on J2EE projects is included and very helpful.


Thanks to the book i have created a template project for MD4J [2] using 
EJB 2.1 and Struts 1.2 at [3] with full xdoclet support. You can check 
it out from the CVS repo, although the book example may be better for 
you. I intent to create an archetype from it and release it along with 
the core library as version 0.2 to make it easier with people to start 
using the code generator without getting into the mess of downloading 
the library dependencies.


M2 feels a lot cleaner and easier to  use for modular projects, i used 
to have lots of trouble with M1's  multiproject support.



[1] http://www.mergere.com/
[2] http://md4j.sourceforge.net/
[3] http://md4j.cvs.sourceforge.net/md4j/md4j-quickstarter-mvn/

hth,

Manos


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Maven shell

2007-02-04 Thread Manuel J. Recena Soto

Hi!
El 04/02/2007, a las 17:42, Eric Redmond escribió:


I've not heard of anything... are you interested in creating one?



More than a shell-tool I believe that it would be interesting to  
create something similar to VirtualAnt [1].

I would like to have time and collaborator to make something thus.

regards

[1] http://www.placidsystems.com/virtualant/


On 2/4/07, Arnaud Bailly [EMAIL PROTECTED] wrote:


Hello to all,
I wonder if there exists or if someone is working on a Maven  
shell: an

application that would load a pom (or poms) once, do all the
initialization work then wourd accept maven commands or some kind of
language allowing for modification of the pom.

regards,
--
OQube  software engineering \ génie logiciel 
Arnaud Bailly, Dr.
\web http://www.oqube.com


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
Eric Redmond
http://codehaus.org/~eredmond


--
Manuel J. Recena Soto
* www.manuelrecena.com[/blog]
* [EMAIL PROTECTED]
* +34 609710280 (ES)



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[m2] link checking plugin?

2007-02-04 Thread Barrie Treloar

I've noticed on the nabble archives reference to the m1 link checking
but I can't find an equivalent in m2.

I was sure the maven plugins was doing that (I vaguely recall it
happening) but I can't find anything in the parent poms.

Anyone know how I do link checking?

Cheers

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Maven shell

2007-02-04 Thread Arnaud Bailly
Hello,
Sure, I would be interested in working on such a tool. My particular
need is that I want to make a continuous testing tool indenpendent of
any IDE and based on informations in the POM. 

As for the virtual ant system, that could be thought of as a kind of
GUI over a maven shell. One could think adding web-based GUI,
something like a finer grained continuum.

I have a bit of time, so maybe I could start something. Ideas, code,
specs are welcomed...

regards, 
-- 
OQube  software engineering \ génie logiciel 
Arnaud Bailly, Dr.
\web http://www.oqube.com


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



How maven use It's plugins?

2007-02-04 Thread 秋秋

HI,
We use tag plugin int the pom.xml to add plugin in maven like this:
plugin
  artifactIdmaven-site-plugin/artifactId
  configuration
outputEncodingGBK/outputEncoding
  /configuration
  /plugin
   /plugins

But ,if we don't configure this plugin in the pom.xml,maven can also excute
mvn site:site,why?


Re: Maven shell

2007-02-04 Thread franz see

Good day,

What would happen during the initialization, and what kind of modifications
are you referring to? :)

Thanks,
Franz


Arnaud Bailly-3 wrote:
 
 Hello,
 Sure, I would be interested in working on such a tool. My particular
 need is that I want to make a continuous testing tool indenpendent of
 any IDE and based on informations in the POM. 
 
 As for the virtual ant system, that could be thought of as a kind of
 GUI over a maven shell. One could think adding web-based GUI,
 something like a finer grained continuum.
 
 I have a bit of time, so maybe I could start something. Ideas, code,
 specs are welcomed...
 
 regards, 
 -- 
 OQube  software engineering \ génie logiciel 
 Arnaud Bailly, Dr.
 \web http://www.oqube.com
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Maven-shell-tf3169137s177.html#a888
Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



assertions with maven

2007-02-04 Thread Ken Gallo

Hi,

My code has assertions and as I understand, assertions need to be compiled
using javac -source 1.4.
How do i set this in maven?

Thanks,
Ken
-- 
View this message in context: 
http://www.nabble.com/assertions-with-maven-tf3172387s177.html#a8800391
Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: assertions with maven

2007-02-04 Thread Greg Jones
Hi Ken,

Take a look at the options available for the maven-compiler-plugin at
http://maven.apache.org/plugins/maven-compiler-plugin/.

Regards,

Greg J. 

-Original Message-
From: Ken Gallo [mailto:[EMAIL PROTECTED] 
Sent: Monday, 5 February 2007 2:07 PM
To: users@maven.apache.org
Subject: assertions with maven


Hi,

My code has assertions and as I understand, assertions need to be compiled
using javac -source 1.4.
How do i set this in maven?

Thanks,
Ken
--
View this message in context:
http://www.nabble.com/assertions-with-maven-tf3172387s177.html#a8800391
Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: assertions with maven

2007-02-04 Thread Ken Gallo

Thanks Greg! Just what I needed! :)


Greg Jones-4 wrote:
 
 Hi Ken,
 
 Take a look at the options available for the maven-compiler-plugin at
 http://maven.apache.org/plugins/maven-compiler-plugin/.
 
 Regards,
 
 Greg J. 
 
 -Original Message-
 From: Ken Gallo [mailto:[EMAIL PROTECTED] 
 Sent: Monday, 5 February 2007 2:07 PM
 To: users@maven.apache.org
 Subject: assertions with maven
 
 
 Hi,
 
 My code has assertions and as I understand, assertions need to be compiled
 using javac -source 1.4.
 How do i set this in maven?
 
 Thanks,
 Ken
 --
 View this message in context:
 http://www.nabble.com/assertions-with-maven-tf3172387s177.html#a8800391
 Sent from the Maven - Users mailing list archive at Nabble.com.
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 

-- 
View this message in context: 
http://www.nabble.com/assertions-with-maven-tf3172387s177.html#a8800439
Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: SCM problems

2007-02-04 Thread Eric Rose
On Friday 02 February 2007 19:27, Emmanuel Venisse wrote:
 [EMAIL PROTECTED] a écrit :
  I'm not sure if this is the correct answer, but I had the same problem
  (although with SourceSafe), and as far as I could understand it, it was
  due to
  the fact that when you trigger the build, you check out the source code,
  which includes the POM file.
 
  Since the POM file in cvs contains the old scm url, it overwrites the one
  in the build definition, although I'm not really sure why. I almost went
  nuts over this until I
  figured it out.

I wish it didn't. Currently tring to accommodate that behaviour breaks 
otherwise functional configuration (see below).

 
  My solution was to modify the POM file, check it in, then either change
  the build definition or remove and add the project again.
  It has worked flawless ever since.

 Yes, it's the correct solution. scm informations in pom must be correct.

I changing this at one point, but then maven failed (in building the site, 
IIRC) when I tried to build the project manually, complaining about an 
invalid SCM URL, and it wasn't until I changed it back that I could build the 
project.

Eric


 Emmanuel

  Regards
 
  Joakim Zetterberg
 
  Eric Rose [EMAIL PROTECTED] wrote on 2007-02-02 01:06:07:
  Hi,
 
  I am trying to get continuum working to see if it will do a better job
 
  than
 
  our current cruisecontrol setup. The version of continuum I am usingis
 
  1.0.3
 
  and I cannot get a reliable build from it.
 
  The POM contains a SCM connection string like the following:
 
  scm:cvs:pserver:[EMAIL PROTECTED]:2401/path/to/module
 
  which works fine for Maven.
 
  When I added the project and triggered a build, it failed with the error
 
  that
 
  a password was needed. According to the FAQ, the SCM URL should be
 
  changed
 
  to :anonymous:@cvsserver: so I did this and the build worked. So far so
  good...
 
  I then triggered another build and it failed again with the initial
 
  error.
 
  Going back to check the project info, I notice that the original SCM URL
 
  has
 
  replaced my modified version. Has anyone else seen, and hopefully found
 
  a
 
  reason for, this lacy of persistence of a project configuration?
 
  A second issue is that the port number in my URL causes problems,
  and I end up
  with messages in wrapper.log like the following:
 
  INFO   | jvm 1| 2007/02/02 10:36:04 | 2007-02-02 10:36:04,122
 
  [Thread-2]
 
  DEBUG ScmManager -
  cvsRoot: :pserver:[EMAIL PROTECTED]:24012401/path/to/module
 
  If I remove the port number from the configuration, I run into the
  first issue
  where the changes aren't persisted to further builds.
 
  Thanks for any pointers,
 
  Eric
 
  --
  Eric Rose  | Sed quis custodiet ipsos custodes?
  [EMAIL PROTECTED]   | Juvenal (Satires, VI.347-8)
 
  ***
  This message contains privileged and confidential information intended
  only for the use of the addressee named above.  If you are not the
  intended recipient of this message you must not disseminate, copy or
  take any action in reliance on it.  If you have received this message
  in error please notify the sender immediately.  Any views expressed in
  this message are those of the individual sender, except where the
  sender specifically states them to be the views of another (including
  a Body Corporate).
 
  If you wish to opt out from future messages, send an email to
  [EMAIL PROTECTED] with the subject UNSUBSCRIBE
  
 
  [attachment att0cowi.dat deleted by Joakim
  Zetterberg/H00JZG/HK_ITLOG/BORÅS/ICA/SE]

-- 
Eric Rose  | Sed quis custodiet ipsos custodes?
[EMAIL PROTECTED]   | Juvenal (Satires, VI.347-8)

***
This message contains privileged and confidential information intended
only for the use of the addressee named above.  If you are not the
intended recipient of this message you must not disseminate, copy or
take any action in reliance on it.  If you have received this message
in error please notify the sender immediately.  Any views expressed in
this message are those of the individual sender, except where the
sender specifically states them to be the views of another (including
a Body Corporate).

If you wish to opt out from future messages, send an email to
[EMAIL PROTECTED] with the subject UNSUBSCRIBE




pgpBd9RaPHnyw.pgp
Description: PGP signature


RE: Properties for pom.xml

2007-02-04 Thread Rahamim, Zvi \(Zvi\)
Thank for your answer,
I want to clarify my motivation:
I want that all my pom.xml files (and there are many) have the
properties and values in a property file that resides on my repository.
I only need to load them into the pom.xml so that it could see them,
Is there a way to do so?
Thanks again!
Zvi. 

-Original Message-
From: franz see [mailto:[EMAIL PROTECTED] 
Sent: Sunday, February 04, 2007 5:35 PM
To: users@maven.apache.org
Subject: Re: Properties for pom.xml


Good day,

Pardon, my answer was incomplete :-)

You may want to use [1] to get the resource, and use [2] to declare that
file as a filter file ( a file containing properties ).

Cheers,
Franz

[1] http://maven.apache.org/plugins/maven-remote-resources-plugin/
[2]
http://maven.apache.org/plugins/maven-resources-plugin/examples/filter.h
tml


franz see wrote:
 
 Good day to you, Rahamin,
 
 You may want to take a look at [1].
 
 Cheers,
 Franz
 
 [1] http://maven.apache.org/plugins/maven-remote-resources-plugin/
 
 
 Rahamim, Zvi (Zvi) wrote:
 
 Hi,
 Is there a way to tell my pom.xml to load properties from a property 
 file that resides in a remote repository?
 Example for such property file is com/myapp/myprop/A.properties.
 Thanks!
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 
 

--
View this message in context:
http://www.nabble.com/POM-Inheritance-tf3164691s177.html#a8793783
Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: undefined Dependecy automatically downloaded

2007-02-04 Thread yuubouna

hello Maria,

Thank for the info, really helps!
I figure out how to use the exclusions attribute then.  I do have an
aggregate project, the exclusions attribute to exclude unnecessary
dependencies.

Thanks!

yuubouna
-- 
View this message in context: 
http://www.nabble.com/undefined-Dependecy-automatically-downloaded-tf3146370s177.html#a8801365
Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Maven shell

2007-02-04 Thread Tim Kettler
Am Sonntag, den 04.02.2007, 10:48 +0100 schrieb Arnaud Bailly:
 Hello to all, 
 I wonder if there exists or if someone is working on a Maven shell: an
 application that would load a pom (or poms) once, do all the
 initialization work then wourd accept maven commands or some kind of
 language allowing for modification of the pom.
 
 regards,

Hi,

there is the pomtools-maven-plugin [1] in the mojo sandbox.

-Tim

[1] http://mojo.codehaus.org/pomtools-maven-plugin/overview.html


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Maven shell

2007-02-04 Thread Arnaud Bailly
Thanks, that look really like what I am looking for ! I will
investigate a little bit more on it.

regeards
-- 
OQube  software engineering \ génie logiciel 
Arnaud Bailly, Dr.
\web http://www.oqube.com


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]