[m2] exclusive profiles

2006-11-30 Thread Remy.Coqueugniot
Hi maven-users,

How would you exclude or include (some kind of XOR) some profiles in a 
settings.xml
Example: I've defined 2 profiles A and B. I would like to configure the 
following comportement:
 A ?   B ? 
 0 0 error
 0 1 OK
 1 0 OK
 1 1 error

How would you do?

Thanks for your answer.

Rémy 

---
Cette communication (y compris les pieces jointes) est reservee a l'usage 
exclusif du destinataire (des destinataires) et peut contenir des informations 
privilegiees, confidentielles, exemptees de divulgation selon la loi ou 
protegees par les droits d'auteur. Si vous n'etes pas un destinataire, toute 
utilisation, divulgation, distribution, reproduction, examen ou copie (totale 
ou partielle) est non-autorisee et peut etre illegale. Tout message 
electronique est susceptible d'alteration et son integrite ne peut etre 
assuree. Sanofi Pasteur decline toute responsabilite au titre de ce message 
s'il a ete modifie ou falsifie. Si vous n'etes pas destinataire de ce message, 
merci de le detruire immediatement et d'avertir l'expediteur de l'erreur de 
distribution et de la destruction du message. Merci.
This transmission (including any attachments) is intended solely for the use of 
the addressee(s) and may contain confidential information including trade 
secrets which are privileged, confidential, exempt from disclosure under 
applicable law and/or subject to copyright. If you are not an intended 
recipient, any use, disclosure, distribution, reproduction, review or copying 
(either whole or partial) is unauthorized and may be unlawful. E-mails are 
susceptible to alteration and their integrity cannot be guaranteed.Sanofi 
Pasteur shall not be liable for this e-mail if modified or falsified. If you 
are not the intended recipient of this e-mail, please delete it immediately 
from your system and notify the sender of the wrong delivery and the mail 
deletion. Thank you.
**


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



RE: [m2] exclusive profiles

2006-11-30 Thread Remy.Coqueugniot
Thanks.

It's exactly what I want I didn't know the prop / !prop  trick.
Very useful.


 -Message d'origine-
 De : Andrew Williams [mailto:[EMAIL PROTECTED] 
 Envoyé : jeudi 30 novembre 2006 14:29
 À : Maven Users List
 Objet : Re: [m2] exclusive profiles
 
 I would do it using a property (say alt) and the following 
 activation
 configuration:
 
 profiles
   profile
 idA/id
 activation
   property
 name!alt/name
   /property
 /activation
 
 ...
 
   /profile
   profile
 idB/id
 activation
   property
 namealt/name
   /property
 /activation
 
 ...
 
   /profile
 /profiles
 
 Then using mvn sometarget will use profile A, but mvn 
 -Dalt sometarget will use profile B.
 Hope that helps,
 
 Andy
 
 
 [EMAIL PROTECTED] wrote:
  Hi maven-users,
 
  How would you exclude or include (some kind of XOR) some 
 profiles in a 
  settings.xml
  Example: I've defined 2 profiles A and B. I would like to 
 configure the following comportement:
   A ?   B ? 
   0 0 error
   0 1 OK
   1 0 OK
   1 1 error
 
  How would you do?
 
  Thanks for your answer.
 
  Rémy
 
  
 --
  - Cette communication (y compris les pieces 
  jointes) est reservee a l'usage exclusif du destinataire 
 (des destinataires) et peut contenir des informations 
 privilegiees, confidentielles, exemptees de divulgation selon 
 la loi ou protegees par les droits d'auteur. Si vous n'etes 
 pas un destinataire, toute utilisation, divulgation, 
 distribution, reproduction, examen ou copie (totale ou 
 partielle) est non-autorisee et peut etre illegale. Tout 
 message electronique est susceptible d'alteration et son 
 integrite ne peut etre assuree. Sanofi Pasteur decline toute 
 responsabilite au titre de ce message s'il a ete modifie ou 
 falsifie. Si vous n'etes pas destinataire de ce message, 
 merci de le detruire immediatement et d'avertir l'expediteur 
 de l'erreur de distribution et de la destruction du message. Merci.
  This transmission (including any attachments) is intended 
 solely for the use of the addressee(s) and may contain 
 confidential information including trade secrets which are 
 privileged, confidential, exempt from disclosure under 
 applicable law and/or subject to copyright. If you are not an 
 intended recipient, any use, disclosure, distribution, 
 reproduction, review or copying (either whole or partial) is 
 unauthorized and may be unlawful. E-mails are susceptible to 
 alteration and their integrity cannot be guaranteed.Sanofi 
 Pasteur shall not be liable for this e-mail if modified or 
 falsified. If you are not the intended recipient of this 
 e-mail, please delete it immediately from your system and 
 notify the sender of the wrong delivery and the mail 
 deletion. Thank you.
  
 **
 
 
  
 -
  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]
 
 
---
Cette communication (y compris les pieces jointes) est reservee a l'usage 
exclusif du destinataire (des destinataires) et peut contenir des informations 
privilegiees, confidentielles, exemptees de divulgation selon la loi ou 
protegees par les droits d'auteur. Si vous n'etes pas un destinataire, toute 
utilisation, divulgation, distribution, reproduction, examen ou copie (totale 
ou partielle) est non-autorisee et peut etre illegale. Tout message 
electronique est susceptible d'alteration et son integrite ne peut etre 
assuree. Sanofi Pasteur decline toute responsabilite au titre de ce message 
s'il a ete modifie ou falsifie. Si vous n'etes pas destinataire de ce message, 
merci de le detruire immediatement et d'avertir l'expediteur de l'erreur de 
distribution et de la destruction du message. Merci.
This transmission (including any attachments) is intended solely for the use of 
the addressee(s) and may contain confidential information including trade 
secrets which are privileged, confidential, exempt from disclosure under 
applicable law and/or subject to copyright. If you are not an intended 
recipient, any use, disclosure, distribution, reproduction, review or copying 
(either whole or partial) is unauthorized and may be unlawful. E-mails are 
susceptible to alteration and their integrity cannot be guaranteed.Sanofi 
Pasteur shall not be liable for this e-mail if modified or falsified. If you 
are not the intended recipient of this e-mail, please delete it immediately 
from your system and notify the sender of the wrong delivery and the mail 

RE: [m2] use case problem

2006-11-23 Thread Remy.Coqueugniot
Hi,

Any answers to this (may be too long :) ) question ?

RC

 
 Hi maven users,
 
 I would like to setup a global environment with maven2 for 
 two differents teams: development and integration/support team. 
 
 The first one would describe their project with a pom.xml and 
 access to the central and other public repositories trough a 
 proxy (proximity) with no restrictions for the development.
 
 In the integration phase, the support team would pickup the 
 source and pom from a SCM tagged version and should be able 
 to compile and package the project for two environments: 
 staging and production (differents resources directory).
 For those packages, the artifact and plugin repositories 
 should be exclusively internals (another proximity 
 repositories without remote peers). The contents, 
 artifacts/version, of those repositories would have been 
 submited by a dedicated validation process.
 
 So my question: what is the best solution to setup such 
 environements ? :
  -settings.xml with mirrors ? But in this case, everyone 
 would acces to public repos, even the support team.
  -profiles : In pom.xml? Settings.xml ?
  -How could we detect missing or wrong version artifacts 
 dependencies in the integration phase.
 
 If you think I'm wrong with this architectur, please let me know :)
 
 Thanks a lot for your answer for this too long questions :-' 
 
 Rémy
 
 
 --
 -
 Cette communication (y compris les pieces jointes) est 
 reservee a l'usage exclusif du destinataire (des 
 destinataires) et peut contenir des informations 
 privilegiees, confidentielles, exemptees de divulgation selon 
 la loi ou protegees par les droits d'auteur. Si vous n'etes 
 pas un destinataire, toute utilisation, divulgation, 
 distribution, reproduction, examen ou copie (totale ou 
 partielle) est non-autorisee et peut etre illegale. Tout 
 message electronique est susceptible d'alteration et son 
 integrite ne peut etre assuree. Sanofi Pasteur decline toute 
 responsabilite au titre de ce message s'il a ete modifie ou 
 falsifie. Si vous n'etes pas destinataire de ce message, 
 merci de le detruire immediatement et d'avertir l'expediteur 
 de l'erreur de distribution et de la destruction du message. Merci.
 This transmission (including any attachments) is intended 
 solely for the use of the addressee(s) and may contain 
 confidential information including trade secrets which are 
 privileged, confidential, exempt from disclosure under 
 applicable law and/or subject to copyright. If you are not an 
 intended recipient, any use, disclosure, distribution, 
 reproduction, review or copying (either whole or partial) is 
 unauthorized and may be unlawful. E-mails are susceptible to 
 alteration and their integrity cannot be guaranteed.Sanofi 
 Pasteur shall not be liable for this e-mail if modified or 
 falsified. If you are not the intended recipient of this 
 e-mail, please delete it immediately from your system and 
 notify the sender of the wrong delivery and the mail 
 deletion. Thank you.
 **
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 --
---
Cette communication (y compris les pieces jointes) est reservee a l'usage 
exclusif du destinataire (des destinataires) et peut contenir des informations 
privilegiees, confidentielles, exemptees de divulgation selon la loi ou 
protegees par les droits d'auteur. Si vous n'etes pas un destinataire, toute 
utilisation, divulgation, distribution, reproduction, examen ou copie (totale 
ou partielle) est non-autorisee et peut etre illegale. Tout message 
electronique est susceptible d'alteration et son integrite ne peut etre 
assuree. Sanofi Pasteur decline toute responsabilite au titre de ce message 
s'il a ete modifie ou falsifie. Si vous n'etes pas destinataire de ce message, 
merci de le detruire immediatement et d'avertir l'expediteur de l'erreur de 
distribution et de la destruction du message. Merci.
This transmission (including any attachments) is intended solely for the use of 
the addressee(s) and may contain confidential information including trade 
secrets which are privileged, confidential, exempt from disclosure under 
applicable law and/or subject to copyright. If you are not an intended 
recipient, any use, disclosure, distribution, reproduction, review or copying 
(either whole or partial) is unauthorized and may be unlawful. E-mails are 
susceptible to alteration and their integrity cannot be guaranteed.Sanofi 
Pasteur shall not be liable for this e-mail if modified or falsified. If you 
are not the intended recipient of this e-mail, please 

[M2] one:convert plugin

2006-11-23 Thread Remy.Coqueugniot
Hi maven users,

The maven 2 documentation describes a plugin maven-one-plugin:

http://maven.apache.org/plugins/maven-one-plugin/

I didn't success in running the one:convert phase.
Indeed the repository 
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-one-plugin/
contains only a 1.0 plugin, which doesn't contain this phase.

Is there a way to locate (Snapshots repo ?) the up-to-date plugin
without a pom.xml ? This plugin should create it from a maven 1.x
project.xml

Thanks,

RC
---
Cette communication (y compris les pieces jointes) est reservee a l'usage 
exclusif du destinataire (des destinataires) et peut contenir des informations 
privilegiees, confidentielles, exemptees de divulgation selon la loi ou 
protegees par les droits d'auteur. Si vous n'etes pas un destinataire, toute 
utilisation, divulgation, distribution, reproduction, examen ou copie (totale 
ou partielle) est non-autorisee et peut etre illegale. Tout message 
electronique est susceptible d'alteration et son integrite ne peut etre 
assuree. Sanofi Pasteur decline toute responsabilite au titre de ce message 
s'il a ete modifie ou falsifie. Si vous n'etes pas destinataire de ce message, 
merci de le detruire immediatement et d'avertir l'expediteur de l'erreur de 
distribution et de la destruction du message. Merci.
This transmission (including any attachments) is intended solely for the use of 
the addressee(s) and may contain confidential information including trade 
secrets which are privileged, confidential, exempt from disclosure under 
applicable law and/or subject to copyright. If you are not an intended 
recipient, any use, disclosure, distribution, reproduction, review or copying 
(either whole or partial) is unauthorized and may be unlawful. E-mails are 
susceptible to alteration and their integrity cannot be guaranteed.Sanofi 
Pasteur shall not be liable for this e-mail if modified or falsified. If you 
are not the intended recipient of this e-mail, please delete it immediately 
from your system and notify the sender of the wrong delivery and the mail 
deletion. Thank you.
**


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



RE: [m2] use case problem

2006-11-23 Thread Remy.Coqueugniot
First, thanks for your answer.
I was wondering, if this mailing list is the right place for such
question.

 I'm leaning towards settings.xml with the appropriate 
 Proximity repository defined as a mirror of central.
 You can create a custom versions of maven by modifying the 
 settings.xml in the maven distribution.  That way you're sure 
 that everyone is using the appropriate settings.  Or you can 
 provide instructions for developers to modify their local 
 settings.xml files.

Yes. It's what I was planning to do.

 If your integration testers are using the second Proximity 
 repository as a mirror of central, (and no other 
 repositories,) the build will fail if the artifacts aren't present.

 My concern (without trying it) is that a lot of poms add 
 additional repositories, and I'm not sure how you're going 
 to prevent those from being used.  (Other than isolating the 
 build machine so it doesn't have access to anything but the 
 repository you've set up.)
Our internet access is controlled via a company proxy. It's one of the
main advantage to use proximity.
So if an unknown repository is declared in a given pom, the artifact
resolution will fail.

But if the integration team use such an exclusive repository, its
feeding will be a little bit tricky?
It should be filled not only with the direct needed dependencies, but
with the complete tree for each of those direct dependencies? Any ideas
to simplify this task ?

Thanks again for the answer.

RC

---
Cette communication (y compris les pieces jointes) est reservee a l'usage 
exclusif du destinataire (des destinataires) et peut contenir des informations 
privilegiees, confidentielles, exemptees de divulgation selon la loi ou 
protegees par les droits d'auteur. Si vous n'etes pas un destinataire, toute 
utilisation, divulgation, distribution, reproduction, examen ou copie (totale 
ou partielle) est non-autorisee et peut etre illegale. Tout message 
electronique est susceptible d'alteration et son integrite ne peut etre 
assuree. Sanofi Pasteur decline toute responsabilite au titre de ce message 
s'il a ete modifie ou falsifie. Si vous n'etes pas destinataire de ce message, 
merci de le detruire immediatement et d'avertir l'expediteur de l'erreur de 
distribution et de la destruction du message. Merci.
This transmission (including any attachments) is intended solely for the use of 
the addressee(s) and may contain confidential information including trade 
secrets which are privileged, confidential, exempt from disclosure under 
applicable law and/or subject to copyright. If you are not an intended 
recipient, any use, disclosure, distribution, reproduction, review or copying 
(either whole or partial) is unauthorized and may be unlawful. E-mails are 
susceptible to alteration and their integrity cannot be guaranteed.Sanofi 
Pasteur shall not be liable for this e-mail if modified or falsified. If you 
are not the intended recipient of this e-mail, please delete it immediately 
from your system and notify the sender of the wrong delivery and the mail 
deletion. Thank you.
**


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



[m2] use case problem

2006-11-21 Thread Remy.Coqueugniot
Hi maven users,

I would like to setup a global environment with maven2 for two differents 
teams: development and integration/support team. 

The first one would describe their project with a pom.xml and access to the 
central and other public repositories trough a proxy (proximity) with no 
restrictions for the development.

In the integration phase, the support team would pickup the source and pom from 
a SCM tagged version and should be able to compile and package the project for 
two environments: staging and production (differents resources directory).
For those packages, the artifact and plugin repositories should be exclusively 
internals (another proximity repositories without remote peers). The contents, 
artifacts/version, of those repositories would have been submited by a 
dedicated validation process.

So my question: what is the best solution to setup such environements ? :
 -settings.xml with mirrors ? But in this case, everyone would acces to public 
repos, even the support team.
 -profiles : In pom.xml? Settings.xml ?
 -How could we detect missing or wrong version artifacts dependencies in the 
integration phase.

If you think I'm wrong with this architectur, please let me know :)

Thanks a lot for your answer for this too long questions :-' 

Rémy


---
Cette communication (y compris les pieces jointes) est reservee a l'usage 
exclusif du destinataire (des destinataires) et peut contenir des informations 
privilegiees, confidentielles, exemptees de divulgation selon la loi ou 
protegees par les droits d'auteur. Si vous n'etes pas un destinataire, toute 
utilisation, divulgation, distribution, reproduction, examen ou copie (totale 
ou partielle) est non-autorisee et peut etre illegale. Tout message 
electronique est susceptible d'alteration et son integrite ne peut etre 
assuree. Sanofi Pasteur decline toute responsabilite au titre de ce message 
s'il a ete modifie ou falsifie. Si vous n'etes pas destinataire de ce message, 
merci de le detruire immediatement et d'avertir l'expediteur de l'erreur de 
distribution et de la destruction du message. Merci.
This transmission (including any attachments) is intended solely for the use of 
the addressee(s) and may contain confidential information including trade 
secrets which are privileged, confidential, exempt from disclosure under 
applicable law and/or subject to copyright. If you are not an intended 
recipient, any use, disclosure, distribution, reproduction, review or copying 
(either whole or partial) is unauthorized and may be unlawful. E-mails are 
susceptible to alteration and their integrity cannot be guaranteed.Sanofi 
Pasteur shall not be liable for this e-mail if modified or falsified. If you 
are not the intended recipient of this e-mail, please delete it immediately 
from your system and notify the sender of the wrong delivery and the mail 
deletion. Thank you.
**


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



RE: Creating a common local repository.

2006-10-25 Thread Remy.Coqueugniot
Hi,

Proximity http://proximity.abstracthorizon.org/ should be the answer to your 
needs.
It acts as a cache/proxy server for common public repositories (ibiblio  cie) 
and for company wide repository.
So you could establish a maven architecture internally to store private 
artifact.
For a brief introduction go on :
http://proximity.abstracthorizon.org/about-proximity.html

Remy



 -Message d'origine-
 De : Adam Perry-Pelletier [mailto:[EMAIL PROTECTED] 
 Envoyé : mardi 24 octobre 2006 21:03
 À : users@maven.apache.org
 Objet : Creating a common local repository.
 
 While experimenting with Maven2 I experienced the following error:
 
  
 
 Missing:
 
 --
 
 1) jsr170:jcr:jar:1.0
 
  
 
   Try downloading the file manually from the project website.
 
  
 
   Then, install it using the command:
 
   mvn install:install-file -DgroupId=jsr170 -DartifactId=jcr \
 
   -Dversion=1.0 -Dpackaging=jar -Dfile=/path/to/file
 
  
 
   Path to dependency:
 
 1) com.moesol.bv:BattlespaceVideo:jar:1.0-SNAPSHOT
 
 2) jsr170:jcr:jar:1.0
 
  
 
 So I took the error message's advice and did the mvn 
 install:install-file ...  That fixed the problem and patched 
 my local repository.  However this leads sort an 
 uncomfortable situation.  If I have 15 developers on my team 
 I now have to notify them to manually patch their 
 repositories and answer their queries about how I broke the 
 build.  Not a tolerable situation.
 
  
 
 So what I'd like to do is this.  I'd like to host a maven 
 repository on our server (linux running apache and ssh).  
 However I don't want it to be a full-blown rsynch'ed 
 repository that mirrors www.ibiblio.org/maven2.  I want the 
 repository to be just like my local repository in that it has 
 only the jars that our project needs, but one that I can 
 point all our development team to.  So when I come across 
 this problem in the future, I can go out to that one shared, 
 but local and minimal, repository do the mvn 
 install:install-file and all our developers will see the 
 change.  Although I can find docs on how to accomplish the 
 rsynch'ed full mirror repository model, I can't find much 
 about how to have a local repository that can be shared.  In 
 terms of layout, our developers develop on windows 
 supplemented by cygwin and the available server would be a 
 linux box with apache web server and ssh.
 
  
 
 Any help would be appreciated.
 
  
 
 Adam
 
 
---
Cette communication (y compris les pieces jointes) est reservee a l'usage 
exclusif du destinataire (des destinataires) et peut contenir des informations 
privilegiees, confidentielles, exemptees de divulgation selon la loi ou 
protegees par les droits d'auteur. Si vous n'etes pas un destinataire, toute 
utilisation, divulgation, distribution, reproduction, examen ou copie (totale 
ou partielle) est non-autorisee et peut etre illegale. Tout message 
electronique est susceptible d'alteration et son integrite ne peut etre 
assuree. Sanofi Pasteur decline toute responsabilite au titre de ce message 
s'il a ete modifie ou falsifie. Si vous n'etes pas destinataire de ce message, 
merci de le detruire immediatement et d'avertir l'expediteur de l'erreur de 
distribution et de la destruction du message. Merci.
This transmission (including any attachments) is intended solely for the use of 
the addressee(s) and may contain confidential information including trade 
secrets which are privileged, confidential, exempt from disclosure under 
applicable law and/or subject to copyright. If you are not an intended 
recipient, any use, disclosure, distribution, reproduction, review or copying 
(either whole or partial) is unauthorized and may be unlawful. E-mails are 
susceptible to alteration and their integrity cannot be guaranteed.Sanofi 
Pasteur shall not be liable for this e-mail if modified or falsified. If you 
are not the intended recipient of this e-mail, please delete it immediately 
from your system and notify the sender of the wrong delivery and the mail 
deletion. Thank you.
**


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



RE: Maven2 and Network Shares

2006-09-29 Thread Remy.Coqueugniot
Thanks for this new answer.

  maven 2.x uses/expects M2_HOME env. variable, not MAVEN_HOME (as in 
  maven 1.x). This is confirmed by having a look at the 
 comments in the 
  mvn.bat file in the bin directory. Try defining M2_HOME and see if 
  that makes any difference.

I've already tried with M2_HOME and not MAVEN_HOME. - Same problem.
Moreover, if you read the mvn.bat script, you would see
M2_HOME==MAVEN_HOME if M2_HOME isn't declared.

  As for UNC paths, like most pathing issues between windows 
 and java, 
  I'd try using / instead of \ (i.e., //server/share/). As a long 
  shot you might try an URL of the form file://server/share/

I've also tried with such UNC java '\' handle trick:
Those samples are based on the interpreatation of a : 'mvn -X -U clean'

M2_HOME=\\server\maven2
M2_HOME is interpreted with C:\server\maven2

M2_HOME=//server/maven2
M2_HOME is also interpreted with C:\server\maven2

M2_HOME=server\\maven2 
Error : 
ERROR: M2_HOME is set to an invalid directory.
M2_HOME = server\\maven2
Please set the M2_HOME variable in your environment to match the
location of the Maven installation


I think it's definitively a problem with the '/' or '\' windows UNC
replacement algorithm.

Jira is open here : http://jira.codehaus.org/browse/MNG-2580

Thanks for your support








---
Cette communication (y compris les pieces jointes) est reservee a l'usage 
exclusif du destinataire (des destinataires) et peut contenir des informations 
privilegiees, confidentielles, exemptees de divulgation selon la loi ou 
protegees par les droits d'auteur. Si vous n'etes pas un destinataire, toute 
utilisation, divulgation, distribution, reproduction, examen ou copie (totale 
ou partielle) est non-autorisee et peut etre illegale. Tout message 
electronique est susceptible d'alteration et son integrite ne peut etre 
assuree. Sanofi Pasteur decline toute responsabilite au titre de ce message 
s'il a ete modifie ou falsifie. Si vous n'etes pas destinataire de ce message, 
merci de le detruire immediatement et d'avertir l'expediteur de l'erreur de 
distribution et de la destruction du message. Merci.
This transmission (including any attachments) is intended solely for the use of 
the addressee(s) and may contain confidential information including trade 
secrets which are privileged, confidential, exempt from disclosure under 
applicable law and/or subject to copyright. If you are not an intended 
recipient, any use, disclosure, distribution, reproduction, review or copying 
(either whole or partial) is unauthorized and may be unlawful. E-mails are 
susceptible to alteration and their integrity cannot be guaranteed.Sanofi 
Pasteur shall not be liable for this e-mail if modified or falsified. If you 
are not the intended recipient of this e-mail, please delete it immediately 
from your system and notify the sender of the wrong delivery and the mail 
deletion. Thank you.
**


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



RE: Maven2 and Network Shares

2006-09-28 Thread Remy.Coqueugniot
Anyone got some ideas ? 


 Hi all,
 
 I've installed Maven2 in a corporate environment.
 From my computer (Windows XP) this installation is accesible 
 with \\SERVER\MAVEN2
 
 From a command line I setup MAVEN_HOME with this UNC:
  set MAVEN_HOME=\\SERVER\MAVEN2
 And put it in the PATH
  set PATH=%MAVEN_HOME%\bin;%PATH%
 When I try to build any projects, maven is unable to acces my 
 global settings : %MAVEN_HOME%\conf\settings.xml But when I 
 mount a network share to this UNC:
  net use Z: \\SERVER\MAVEN2
 ...Setup MAVEN_HOME ...
  set MAVEN_HOME=Z:\
 ...And put it in the PATH ...
  set PATH=%MAVEN_HOME%\bin;%PATH%
 My global settings are OK ?!?
 Unfortunately , some of my software could NOT mount any 
 network drive but needs to acces maven2 global installation...
 
 Thanks a lot!
 
 Rémy C.
 














---
Cette communication (y compris les pieces jointes) est reservee a l'usage 
exclusif du destinataire (des destinataires) et peut contenir des informations 
privilegiees, confidentielles, exemptees de divulgation selon la loi ou 
protegees par les droits d'auteur. Si vous n'etes pas un destinataire, toute 
utilisation, divulgation, distribution, reproduction, examen ou copie (totale 
ou partielle) est non-autorisee et peut etre illegale. Tout message 
electronique est susceptible d'alteration et son integrite ne peut etre 
assuree. Sanofi Pasteur decline toute responsabilite au titre de ce message 
s'il a ete modifie ou falsifie. Si vous n'etes pas destinataire de ce message, 
merci de le detruire immediatement et d'avertir l'expediteur de l'erreur de 
distribution et de la destruction du message. Merci.
This transmission (including any attachments) is intended solely for the use of 
the addressee(s) and may contain confidential information including trade 
secrets which are privileged, confidential, exempt from disclosure under 
applicable law and/or subject to copyright. If you are not an intended 
recipient, any use, disclosure, distribution, reproduction, review or copying 
(either whole or partial) is unauthorized and may be unlawful. E-mails are 
susceptible to alteration and their integrity cannot be guaranteed.Sanofi 
Pasteur shall not be liable for this e-mail if modified or falsified. If you 
are not the intended recipient of this e-mail, please delete it immediately 
from your system and notify the sender of the wrong delivery and the mail 
deletion. Thank you.
**


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



RE: Maven2 and Network Shares

2006-09-28 Thread Remy.Coqueugniot
Thanks for the answer

Mvn -X give some informations, but not much about this problem :

Environment:
 -Windows XP
 -My local repositories is local (C:\M2LocalRepository) and is empty
 -frmlefsi20 is a corporate SAN 
 -frcf1hdu10 is a users NT domain server



set MAVEN_HOME=\\frmlefsi20\inet_dev\DEVPLATFORM\maven-2.0.4
set PATH=%MAVEN_HOME%\bin;%PATH%
mvn -X clean

+ Error stacktraces are turned on.
Maven version: 2.0.4
[DEBUG] Building Maven user-level plugin registry from: 
'C:\frcf1hdu10\users0$\rcoqueug\.m2\plugin-registry.xml'
[DEBUG] Building Maven global-level plugin registry from: 
'C:\frmlefsi20\inet_dev\DEVPLATFORM\maven-2.0.4\bin\..\conf\plugin-registry.xml'
[INFO] Scanning for projects...
[INFO] 

[INFO] Building Projet de test maven2/SVN/Contiuum
[INFO]task-segment: [clean]
[INFO] 

[INFO] artifact org.apache.maven.plugins:maven-clean-plugin: checking for 
updates from central
[WARNING] repository metadata for: 'artifact 
org.apache.maven.plugins:maven-clean-plugin' could not be retrieved from 
repository: central due to an er
ror: Error transferring file
[INFO] Repository 'central' will be blacklisted

(...)

= HTTP Proxy problems. My %MAVEN_HOME%/conf/setting.xml is not read


net use z: \\frmlefsi20\inet_dev
set MAVEN_HOME=Z:\DEVPLATFORM\maven-2.0.4
set PATH=%MAVEN_HOME%\bin;%PATH%
mvn -X clean


+ Error stacktraces are turned on.
Maven version: 2.0.4
[DEBUG] Building Maven user-level plugin registry from: 
'C:\frcf1hdu10\users0$\rcoqueug\.m2\plugin-registry.xml'
[DEBUG] Building Maven global-level plugin registry from: 
'Z:\DEVPLATFORM\maven-2.0.4\bin\..\conf\plugin-registry.xml'
[INFO] Scanning for projects...
[INFO] 

[INFO] Building Projet de test maven2/SVN/Contiuum
[INFO]task-segment: [clean]
[INFO] 

[INFO] artifact org.apache.maven.plugins:maven-clean-plugin: checking for 
updates from central
[DEBUG] maven-clean-plugin: resolved to version 2.1 from repository central
[DEBUG] Trying repository central
Downloading: 
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.1/maven-clean-plugin-2.1.pom
703b downloaded
[DEBUG]   Artifact resolved

(...)

= HTTP Proxy is correctly used. My %MAVEN_HOME%/conf/setting.xml is read.


Apparently the UNC environment variable isn't correctly parsed : 
\\frmlefsi20\inet_dev\DEVPLATFORM\maven-2.0.4
Is transformed in :
C:\frmlefsi20\inet_dev\DEVPLATFORM\maven-2.0.4

I'm going to open a Jira file.










 -Message d'origine-
 De : Wayne Fay [mailto:[EMAIL PROTECTED] 
 Envoyé : jeudi 28 septembre 2006 15:54
 À : Maven Users List
 Objet : Re: Maven2 and Network Shares
 
 Try mvn -X for more debugging info. You gave us almost 
 nothing to look at/work with.
 
 Wayne
 
 On 9/28/06, [EMAIL PROTECTED]
 [EMAIL PROTECTED] wrote:
  Anyone got some ideas ?
 
 
   Hi all,
  
   I've installed Maven2 in a corporate environment.
   From my computer (Windows XP) this installation is accesible with 
   \\SERVER\MAVEN2
  
   From a command line I setup MAVEN_HOME with this UNC:
set MAVEN_HOME=\\SERVER\MAVEN2
   And put it in the PATH
set PATH=%MAVEN_HOME%\bin;%PATH%
   When I try to build any projects, maven is unable to 
 acces my global 
   settings : %MAVEN_HOME%\conf\settings.xml But when I 
 mount a network 
   share to this UNC:
net use Z: \\SERVER\MAVEN2
   ...Setup MAVEN_HOME ...
set MAVEN_HOME=Z:\
   ...And put it in the PATH ...
set PATH=%MAVEN_HOME%\bin;%PATH%
   My global settings are OK ?!?
   Unfortunately , some of my software could NOT mount any network 
   drive but needs to acces maven2 global installation...
  
   Thanks a lot!
  
   Rémy C.
  
 



















---
Cette communication (y compris les pieces jointes) est reservee a l'usage 
exclusif du destinataire (des destinataires) et peut contenir des informations 
privilegiees, confidentielles, exemptees de divulgation selon la loi ou 
protegees par les droits d'auteur. Si vous n'etes pas un destinataire, toute 
utilisation, divulgation, distribution, reproduction, examen ou copie (totale 
ou partielle) est non-autorisee et peut etre illegale. Tout message 
electronique est susceptible d'alteration et son integrite ne peut etre 
assuree. Sanofi Pasteur decline toute responsabilite au titre de ce message 
s'il a ete modifie ou falsifie. Si vous n'etes pas destinataire de ce message, 
merci de le detruire immediatement et d'avertir l'expediteur de l'erreur de 
distribution et de la destruction du message. Merci.
This transmission (including any attachments) is intended solely for the use of 
the addressee(s) and may contain confidential 

Maven2 and Network Shares

2006-09-26 Thread Remy.Coqueugniot

Hi all,

I've installed Maven2 in a corporate environment.
From my computer (Windows XP) this installation is accesible with 
\\SERVER\MAVEN2

From a command line I setup MAVEN_HOME with this UNC:
 set MAVEN_HOME=\\SERVER\MAVEN2
And put it in the PATH
 set PATH=%MAVEN_HOME%\bin;%PATH%
When I try to build any projects, maven is unable to acces my global settings : 
%MAVEN_HOME%\conf\settings.xml
But when I mount a network share to this UNC:
 net use Z: \\SERVER\MAVEN2
...Setup MAVEN_HOME ...
 set MAVEN_HOME=Z:\
...And put it in the PATH ...
 set PATH=%MAVEN_HOME%\bin;%PATH%
My global settings are OK ?!?
Unfortunately , some of my software could NOT mount any network drive but needs 
to acces maven2 global installation...

Anyone got some ideas?

Thanks a lot!

Rémy C.

---
Cette communication (y compris les pieces jointes) est reservee a l'usage 
exclusif du destinataire (des destinataires) et peut contenir des informations 
privilegiees, confidentielles, exemptees de divulgation selon la loi ou 
protegees par les droits d'auteur. Si vous n'etes pas un destinataire, toute 
utilisation, divulgation, distribution, reproduction, examen ou copie (totale 
ou partielle) est non-autorisee et peut etre illegale. Tout message 
electronique est susceptible d'alteration et son integrite ne peut etre 
assuree. Sanofi Pasteur decline toute responsabilite au titre de ce message 
s'il a ete modifie ou falsifie. Si vous n'etes pas destinataire de ce message, 
merci de le detruire immediatement et d'avertir l'expediteur de l'erreur de 
distribution et de la destruction du message. Merci.
This transmission (including any attachments) is intended solely for the use of 
the addressee(s) and may contain confidential information including trade 
secrets which are privileged, confidential, exempt from disclosure under 
applicable law and/or subject to copyright. If you are not an intended 
recipient, any use, disclosure, distribution, reproduction, review or copying 
(either whole or partial) is unauthorized and may be unlawful. E-mails are 
susceptible to alteration and their integrity cannot be guaranteed.Sanofi 
Pasteur shall not be liable for this e-mail if modified or falsified. If you 
are not the intended recipient of this e-mail, please delete it immediately 
from your system and notify the sender of the wrong delivery and the mail 
deletion. Thank you.
**


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