Re: Maven If else

2009-08-28 Thread Nicolas Duminil
By using maven profiles you may obtain the same effect.

Re: maven xmlbeans problem

2009-08-27 Thread Nicolas Duminil
You need to have a master pom with the packaging of type "pom". Your 
configure.jar would be a module of this master pom having the packaging of 
type "jar". This way, every time you build, if something has changed in 
the configure.jar sources, this artefact will be rebuilt and redeployed. 
And yes, when the XSD changes, you have to rebuild the jar and, 
consequently, the associated maven artefact, doesn't it sound obvious to 
you ?



youhaodeyi  
27-08-2009 02:48
Please respond to
"Maven Users List" 


To
users@maven.apache.org
cc

Subject
Re: maven xmlbeans problem







How can I create the first module? Do you mean I run the command "mvn
install" on the configure.jar file?
If so, every time the xsd file changed, I have to install the 
cnofigure.jar
file manually.

Nicolas Duminil wrote:
> 
> You have to have a main pom having two modules: the first one installs 
> your configure.jar as an artefact in your local repository. The second 
one 
> is the one you've showed, to which you add a dependency to the previous 
> generated artefact.
> 
> Nicolas
> 

-- 
View this message in context: 
http://www.nabble.com/maven-xmlbeans-problem-tp25149630p25164219.html
Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org




Re: maven xmlbeans problem

2009-08-26 Thread Nicolas Duminil
You have to have a main pom having two modules: the first one installs 
your configure.jar as an artefact in your local repository. The second one 
is the one you've showed, to which you add a dependency to the previous 
generated artefact.

Nicolas

Re: SCM plugin password encryption

2009-08-17 Thread Nicolas Duminil
With maven 2.2 and java 6 you're supposed to take advantage of kerberos 
authentification, just by having a file such the following in your home 
directory:

com.sun.security.jgss.krb5.initiate {
  com.sun.security.auth.module.Krb5LoginModule required client=TRUE 
  doNotPrompt=false useTicketCache=true debug=true;
};

Kind regards,

Nicolas