Re: Team management : How to manage local repository ? best practice ?

2007-04-16 Thread Henry S. Isidro
Hi, The best is to use a repository proxy. This proxy should be in a machine that has access to the internet so that it can pull artifacts from the central remote repository or any other repository. Your devs would then use this proxy (which should be accessible in your lan) to get their depend

Re: Call Ant Tasks from Maven2

2007-04-03 Thread Henry S. Isidro
Hi, Looking at your configuration, you have bound the execution of the antrun plugin to the install phase. Issuing 'mvn install' instead of 'mvn antrun:run' would make it run. HTH, Henry On Wednesday, April 4, 2007 05:54, Nagesh, Srinivas (IS Consultant) wrote: > I tried the following > > >

Re: Maven archetype

2007-04-03 Thread Henry S. Isidro
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 to generate my projet structure : > > > > MyProject-Appli : > >--> src > > --> j

Re: Unable to run it

2007-04-02 Thread Henry S. Isidro
On Tuesday, April 3, 2007 13:06, Sagar Yerunkar wrote: > I reinstalled Java to another directory and corrected the relevant > environment variables. I am still getting the same error. > > My other code in eclipse is working fine. I have deployed a few web > services using Tomcat. Even they are work

Re: Copy zip file (not artifact) to a specified directory

2007-03-29 Thread Henry S. Isidro
On Thursday, March 29, 2007 06:58, [EMAIL PROTECTED] wrote: > Hi, > > I have configured the package goal/target to construct a zip file to be > built from the modules compiled jar file and a few other files contained > within the maven project. Once this has successfully been packaged by > calling

Re: Using Maven without an intyernet connection

2007-03-18 Thread Henry S. Isidro
On Monday, March 19, 2007 15:17, Ivan Biddles wrote: > Hi, > > I am integrating several open source projects into an application and > some of these projects are built with Maven, which I have not used to > date. > > I have read the FAQs etc. but I could not find a mention of being able > to do a M

Re: Handling non-jar artifacts

2007-03-18 Thread Henry S. Isidro
On Saturday, March 17, 2007 22:19, Alessandro Di Bella wrote: > Hi, > I'm new to maven 2 and I'm trying to write a project descriptor for a web > application. > > I have a dependency on an artifact of type "tgz". The file gets downloaded > without a problem but I need to unpack it into "target//WE

Re: About downloading artifacts from remote repositories

2007-01-22 Thread Henry S. Isidro
On Friday, January 19, 2007 16:16, fy wrote: Hi fy, If you noticed, it downloaded the pom, which is a different file from a jar. If you want it to be downloaded from your repository, you have to install the pom file as well. - Henry >- Downloading: > http://repo1.maven.org/maven2/junit/junit

Re: Should Acegi be packaged into ear or war?

2006-08-29 Thread Henry S. Isidro
On Saturday, August 26, 2006 13:52, Naresh Bhatia wrote: > I am packaging my web application as an ear file because it uses EJBs. I > am using Acegi for security. However if I add Acegi as a dependency in > the war subproject then it pulls in bunch of other jars that are also > needed in my ejb sub

Re: mvn2: war packaging

2006-08-29 Thread Henry S. Isidro
On Wednesday, August 30, 2006 05:32, Attila Mezei-Horvati wrote: > Hi, > > Slowly I understand the life cycles but still not sure > in what order are their components run. > > My problem: I have a war package, in it I specify an > ant task at the package phase to copy a jar into the > lib so the wa

Re: Using mvn to download jars to local repository (without pom/project)

2006-08-01 Thread Henry S. Isidro
On Monday, July 31, 2006 17:24, Jan Galinski wrote: > Hi, > > on a server, I want to use mvn (2.0.4) to manage a central jar repository. > Even non maven applications should benifit from this, beacause there > will be be on common repository from where to link commons, db-drivers > etc. Its not goi

Re: Muliple sub-projects - want to produce a single jar

2006-07-05 Thread Henry S. Isidro
On Thursday, July 6, 2006 03:42, Ed Ross wrote: > This really shouldn't be this hard. > > > I have several (5) sub-projects which is following the maven "best > practices" (I think). > > I just want to product a SINGLE jar, not 5 little jars. > > I've been trying to understand the assembly stuff, b

Re: RAR plugin problem

2006-06-25 Thread Henry S. Isidro
On Saturday, June 24, 2006 05:11, Nidhi Tuli wrote: > RAR plug in I downloaded doesn't seem to generate jar file. It is simply > compiling the code and generating a rar file with just the dependencies > in it. The generated rar file does not contain the jar of the compiled > source. > > Is there a

Re: Copy jar file to lib folder

2006-06-21 Thread Henry S. Isidro
On Monday, June 19, 2006 12:44, tulasi wrote: > No, > > I configured my output directory as "Classes". once i created package using > "mvn package" command, the compiled classes and jar are available in > classes directory. after i want to copy the created jar file into "lib" > folder. > > how will

Re: working with custom-built org.apache.maven.plugins

2006-06-09 Thread Henry S. Isidro
On Friday, June 9, 2006 04:04, Doug Douglass wrote: > Thanks for feedback Chris. I like your versioning convention. > > deploy:deploy-file does work, with the caveat and work-around noted in my > original item #2. > Your item was fixed in svn a while back. If you checkout, build and install maven

Re: multi-module build overriding dependency versions

2006-06-08 Thread Henry S. Isidro
On Friday, June 9, 2006 07:36, Mike Perham wrote: > I have a set of modules: > > root/ >a/ >b/ > > Both modules are at version 1.1.2-SNAPSHOT and B depends on version > 1.1.1 of A. > > When I run the root build, it builds A and B and version 1.1.2-SNAPSHOT > of A is forced upon B. This is

Re: moving a simple task from m1 to m2

2006-05-29 Thread Henry S. Isidro
On Tuesday 30 May 2006 7:16 am, Warner Onstine wrote: > I wrote a simple task in maven.xml that moved a completed war file to > a deployment directory and would like to move this to m2. It isn't > clear from the documentation what lifecycle phase the war task > happens in now (especially since ever

Re: [m2] deploy not working

2006-05-11 Thread Henry S. Isidro
On Thursday 11 May 2006 12:27 pm, Vinod Panicker wrote: > On 5/11/06, Henry S. Isidro <[EMAIL PROTECTED]> wrote: > > On Thursday 11 May 2006 12:33 am, Vinod Panicker wrote: > > > Hi, > > > > > > I read all the guides for deployment, tried with wagon, witho

Re: [m2] deploy not working

2006-05-10 Thread Henry S. Isidro
On Thursday 11 May 2006 12:33 am, Vinod Panicker wrote: > Hi, > > I read all the guides for deployment, tried with wagon, without wagon, > single file deployment and private key authentication as well, but I'm > not able to get my linux machine to deploy on a win2k server running > openssh. > > Try

Re: Proxy settings

2006-05-04 Thread Henry S. Isidro
On Tuesday 02 May 2006 9:47 am, Alexandre Poitras wrote: > Hi, > > I was wondering how laptops users were dealing with proxy settings in > Maven 2. For my part, since profiles can't enable/disable proxy, I > disable it manually whenever I work at home. It's a little bit > annoying and so I was wond

Re: Artifacts reference in Maven2

2006-05-03 Thread Henry S. Isidro
On Wednesday 03 May 2006 2:45 pm, Simon Kitching wrote: > On Wed, 2006-05-03 at 08:31 +0200, Sharma, Jaikumar wrote: > > Dear Maven Users, > > > > Can I use third party libraries (required by build process to compile / > > test sources etc.) which are located in application installed location in >

Re: How to specify a Set of Multiple dependent JARs in M2 ?

2006-04-23 Thread Henry S. Isidro
On Monday 24 April 2006 2:28 pm, Sharma, Jaikumar wrote: > Dear Maven users, > > Is there a way in M2 to specify a set of dependent JARs which resides in > local filesystem and required by the project during compilation ? > Individually, JARs can be specified using > construct. > > Thanks! > > R

Re: upgrading maven (2.0 -> 2.0.x)

2006-04-23 Thread Henry S. Isidro
On Monday 24 April 2006 1:51 pm, [EMAIL PROTECTED] wrote: > Hi, > > >-Original Message- > >From: ext Henry S. Isidro [mailto:[EMAIL PROTECTED] > > > >Usually you just upgrade. One thing to remember though is your > >M2_HOME setting. > > Than

Re: upgrading maven (2.0 -> 2.0.x)

2006-04-23 Thread Henry S. Isidro
On Monday 24 April 2006 4:31 am, [EMAIL PROTECTED] wrote: > Hi, > > I couldn't find anything on the website and also not in the mailing list > archives. Can I just upgrade to the latest maven release, or do I have to > pay special attention to something? > > Thanks, > Andreas Ebbert-Karroum > Sof

Re: Support for Multi-project Web Sites

2006-04-21 Thread Henry S. Isidro
On Friday 21 April 2006 11:38 pm, Ryan Wynn wrote: > Do you know if I need to install the skin manually and if so how I can do > it? > > Thanks. Get it from here: https://svn.apache.org/repos/asf/maven/skins/trunk and then install it. HTH, Henry ---

Re: Changing default webapp directory

2006-04-06 Thread Henry S. Isidro
csudhi wrote: Hi, Is it possible to change the default webapp directory (src/main/webapp) location in POM.xml file , to somethng like ui/pages/jsp path (relative to application root)? -- View this message in context: http://www.nabble.com/Changing-default-webapp-directory-t1409364.html#a3795

Re: [m2] profiles and activeByDefault

2006-04-05 Thread Henry S. Isidro
Richard Wallace wrote: Is the flag working for profiles? I've got the following profiles.xml tomcat-local tomcat local tomcat-local http://localhost:8080/manager Shouldn't you put a value in the tag? Like true - Henry

Re: Exclude a Test case

2006-03-27 Thread Henry S. Isidro
A S Praj wrote: Hi, I have a Open source downloaded from Net. In that there are Testcases also, When I do a Compile it is working fine, When I do a Test it is failing. Is there any Tag which Can be used to eliminate that particular class alone while doing the Test. This is stopping me in pro

Re: Is deployment dangerous?

2006-03-20 Thread Henry S. Isidro
Helck, Christopher wrote: Is there a danger that artifacts in a repository can become corrupt? I'm concerned about someone modifying source code with out changing a projects version and redeploying the artifact. Is there a way to prevent this? There is also the case where source code is not cha

Re: [M2] How to configure POM for generated sources folder

2006-03-13 Thread Henry S. Isidro
Andreas Guther wrote: Hi Raphaël, Thank you very much for your answer and the time you took to write it. Unfortunately I am still confused and not able to solve the "puzzle". To be concrete, I am generating java source from an XSD using jaxb. I accomplish that currently with a shell scr

Re: Define sequence of execution of Maven2 Commands

2006-03-09 Thread Henry S. Isidro
Nidhi Tuli wrote: I want to define a sequence of execution of maven commands using maven2. I don't want to follow the regular life cycle. I am building ejb3 project and would like the execution should be in compile,jar,ejb3,par,ear sequence. And when I do Mvn ear:ear -- It should first compil

Re: How can I able to use maven-compiler-plugin with ${maven.compiler.debug}

2006-03-08 Thread Henry S. Isidro
Venkatagopalaraju wrote: Dear Maven Users, Could you please anyone help out from this problem. I am suffering from these problems. 1. I am working on maven 2.0.2, I have seen, In this version we are not able to use properties file. I am using maven-compiler-plugin, But I need to s

Re: Filtering bits of a pom.xml file

2006-03-01 Thread Henry S. Isidro
Bob Arnott wrote: Hello, I've got a bit of a situation where development will be happening across two sites that wont be able to share local repositories. From looking at the documentation I see I can filter values in resource files - # application.properties application.name=${pom.name} appl

Re: [m202] "Failed to resolve artifact" problem

2006-02-28 Thread Henry S. Isidro
Ray Ward wrote: I'm converting a "multiproject" project from Maven 1 to Maven 2, starting at the parent and adding modules one at a time until they build and install. Currently, this is what I'm trying to do. stars (P) +--- stars-common (A) +--- stars-domain (B) +--- stars-dao

Re: [m202]: add build.xml in my archetype

2006-02-27 Thread Henry S. Isidro
Luca Gmail wrote: I created my archetype with this structure: C:. L---main L---resources +---archetype-resources │ │ build.xml │ │ pom.xml │ │ │ L---src │ L---main │ +---java │ │ Web

Re: Help with mvn war - maven-war-plugin

2006-02-21 Thread Henry S. Isidro
Tatiana Escovedo wrote: Hi, I´ve just started using Maven 2, and I´m trying to make a war of my project using mvn war:war. The following error occurs: Embedded error: Deployment descriptor: C:\{my-project-directory}\target\AulaNet3StartUp-0.0.1\WEB-INF\web.xml does not exist. I´ve searched fo

Re: Is connection timeout configurable?

2006-02-20 Thread Henry S. Isidro
Hi, If you keep on getting timeouts from the central repo, try using mirrors: http://docs.codehaus.org/display/MAVENUSER/FAQs-1#FAQs-1-Listofavailablemaven2mirrors. HTH, Henry - To unsubscribe, e-mail: [EMAIL PROTECTED] For ad

Re: maven kodo plugin

2006-02-07 Thread Henry S. Isidro
[EMAIL PROTECTED] wrote: Dear Henry, I have got org.codehaus.mojo:mojo-sandbox:pom:2-SNAPSHOT. However, I can't get com.solarmetric:kodo-jdo:jar:3.0 I don't think it's in the repositories. Have you tried their website --> http://www.solarmetric.com/ Henry -

Re: maven kodo plugin

2006-02-07 Thread Henry S. Isidro
[EMAIL PROTECTED] wrote: Dear all, When I build maven kodo plugin, it failed. can you help? GroupId: org.codehaus.mojo ArtifactId: mojo-sandbox Version: 2-SNAPSHOT Reason: Unable to download the artifact from any repository org.codehaus.mojo:mojo-sandbox:pom:2-SNAPSHOT from the specif

Re: [m102] overriding goal

2006-02-07 Thread Henry S. Isidro
Laird Nelson wrote: On 2/7/06, Henry S. Isidro <[EMAIL PROTECTED]> wrote: I'm not exactly sure what you mean but have you tried ? To be fair, no, I haven't, but that would involve an infinite loop: What I'd like to be able to do is: Bu

Re: [m102] overriding goal

2006-02-07 Thread Henry S. Isidro
overriding goal. Thanks, Laird On 2/7/06, Henry S. Isidro <[EMAIL PROTECTED]> wrote: Laird Nelson wrote: I see. So suppose there is a plugin goal named world:destroy and I only want to run it if the property evil.dictator is set. How would I do this? I don't want

Re: [m102] overriding goal

2006-02-07 Thread Henry S. Isidro
Laird Nelson wrote: I see. So suppose there is a plugin goal named world:destroy and I only want to run it if the property evil.dictator is set. How would I do this? I don't want it to be an error if someone tries to run it without said property; I just want to silently do nothing. On the oth

Re: need to build a SAR file not a JAR file

2006-02-02 Thread Henry S. Isidro
Brad O'Hearne wrote: Hey there, I'm need to build a SAR file for JBoss deployment, which is essentially the same as a JAR file, with a different extension (.sar rather than .jar). Can someone tell me how this can be accomplished? Thanks! Brad -

Re: Why does maven load the plugin twice?

2004-06-30 Thread Henry S. Isidro
Nabbefeld - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] most probably there are inherited dependencies...and since that jar is a snapshot, maven attempts to download it always -- Henry

Re: repository redirect

2004-05-08 Thread Henry S. Isidro
EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] you may need to add this in your properties file: maven.repo.remote = http://www.ibiblio.org/maven/,http://www.yourcompany.com/maven/ -- Henry S. Isidro Software Engineer Exist Software

Re: Copying resources from repository

2004-04-29 Thread Henry S. Isidro
[EMAIL PROTECTED] wrote: Is there a definitive list anywhere of all these "magic" values? you can find most properties here http://maven.apache.org/reference/user-guide.html#Behavioural_Properties -- Henry S. Isidro Software Engineer Exist Sof

Re: maven:war plugin

2004-04-28 Thread Henry S. Isidro
enkat. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Hi. Just set the flag to true. For example, I've done that and it works. Regards, Henry S. Isidro Software Engineer Exist Sof

Re: FW: Problems in buidling Jetspeed

2004-04-27 Thread Henry S. Isidro
found in the local repository Regards, Henry S. Isidro Software Engineer Exist Software Labs - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: FW: Problems in buidling Jetspeed

2004-04-27 Thread Henry S. Isidro
stored in your machine so it won't download them again...in other words, maven only downloads the artifacts once, if it can't find them, if it sees an artifact in your repository, it does not download it again so build times become faster hope this clears up a few thinngs Regards