Re: Heap overflow in deploy:deploy-file

2007-09-07 Thread Jo Vandermeeren
Have you tried increasing the max heap size for maven by setting MAVEN_OPTS? On Fri, 2007-09-07 at 02:08 -0700, Larry Suto wrote: Hi I am trying to upload an artifact to Maven repository with deploy:deploy-file. I am getting a java.lang.OutOfMemoryError . The file is about 42mb in size. I am

Re: Retrieving version of the pom itself - not the child projects pom

2007-08-31 Thread Jo Vandermeeren
Hi Peter, You can access all POM information by specifying the elements in a dot notation. E.g. the parent version is defined in your pom.xml as follows: project parent version /... The property notation to access this value would be: ${ project.parent.version}. Cheers Jo On 8/31/07,

Re: Maven repository

2007-08-29 Thread Jo Vandermeeren
Nele, Why don't you use a maven proxy to setup your company's central repository? Have a look at http://maven-proxy.codehaus.org/ It is rather easy to set up. The idea is to proxy central and/or other repositories, and cache the requested artifacts centrally.. Cheers Jo On 8/29/07, De

Re: Executable jar : lib inclusion

2007-08-01 Thread Jo Vandermeeren
Hi Jean-Philippe, Of course the dependencies are not packaged with your jar. What do you expect? An executable jar is simply a jar with a Main-Class property in its manifest. In fact, a jar can not include other jars, unless you supply a custom jar classloader to actually load the resources

Re: Problem Site uploading

2007-07-23 Thread Jo Vandermeeren
Specify your transport protocol as in: url - The url of the location where website is deployed, in the form protocol://hostname/path. cf. http://maven.apache.org/ref/2.0.6/maven-model/maven.html#class_site On 7/23/07, Mac-Systems [EMAIL PROTECTED] wrote: Sorry it me agaqin :) I have another

Fwd: OT: Continuum

2007-07-19 Thread Jo Vandermeeren
Forwarded to continuum user list.. -- Forwarded message -- From: John Coleman [EMAIL PROTECTED] Date: Jul 19, 2007 1:25 PM Subject: OT: Continuum To: Maven Users List [EMAIL PROTECTED] Hi, is there any Continuum list? I don't see anything on the site. I just wanted to know why

Re: Plugin to compile and run

2007-06-21 Thread Jo Vandermeeren
Hi Noah, Why don't you package that generator class with your plugin? Then define an execution for it during the generate-sources phase. You should not call plugins from other plugins, because it makes your plugin hard to reuse. Instead, extend the lifecycle by plugging in on certain phases.

Re: execution order of plugins

2007-06-21 Thread Jo Vandermeeren
On 6/20/07, Kanzlers, Andreas [EMAIL PROTECTED] wrote: If different plugins are executed within the same execution phase, which will be executed first ? If multiple plugin executions are defined for the same phase (same or different plugin), they are executed in the same order as they are

Re: Maven Error - is duplicated in the reactor

2007-06-18 Thread Jo Vandermeeren
Thanks for your interesting comments Kenney! On 6/16/07, Kenney Westerhof [EMAIL PROTECTED] wrote: Hi, Jo Vandermeeren wrote: On 5/30/07, Stefano Bagnara [EMAIL PROTECTED] wrote: This is not coherent. You say groupId + artifactId + versionId uniquely identify an artifact. So I should

Re: Unable to deploy project, Error accessing ServiceMix administration

2007-06-18 Thread Jo Vandermeeren
Hi, Your ServiceMix ESB server must be up and running before you try to deploy your project to it. If that is already the case and it still fails, try to deploy it with the antrun plugin using the provided ant tasks. If that works and the maven plugin doesn't, go hassle the jbi plugin guys ;)

Re: Maven versioning

2007-06-14 Thread Jo Vandermeeren
On 6/14/07, Wim Deblauwe [EMAIL PROTECTED] wrote: I want to release something with a version number that has no official release yet. How should I give it it's version number so that the final release will be considered later? For instance, currently they are at 1.0-SNAPSHOT, final version

Re: maven-scm-plugin verbose

2007-06-14 Thread Jo Vandermeeren
On 6/14/07, Jeff Mutonho [EMAIL PROTECTED] wrote: On 6/13/07, Emmanuel Venisse [EMAIL PROTECTED] wrote: you can use the mvn -X parameter. Well , I'm using Continuum to launch the maven builds Hi Jeff, So? Add the -X switch to the arguments list of your continuum build definition.

Re: Lifecycle Question

2007-06-13 Thread Jo Vandermeeren
On 6/13/07, Jens Hohl [EMAIL PROTECTED] wrote: Is that correct ? The war simply have to compile small amount of code against already compiled sourcecode from other modules. Are the compiled artifacts of the other modules installed in your local repository? Otherwise, the war module won't

Re: Lifecycle Question

2007-06-13 Thread Jo Vandermeeren
On 6/13/07, Wendy Smoak [EMAIL PROTECTED] wrote: On 6/13/07, Jo Vandermeeren [EMAIL PROTECTED] wrote: Are the compiled artifacts of the other modules installed in your local repository? Otherwise, the war module won't find them. I don't think this is true. Clear your local repository

Re: Lifecyle Question

2007-06-08 Thread Jo Vandermeeren
Hi Jens, Post your pom.xml files, so we can have a look.. Cheers Jo On 6/7/07, Mac Systems [EMAIL PROTECTED] wrote: Hello Maven Users, i'd like to how this can happen: I have an Multiprojekt: mvn compile work well, all is compiled! If i do mvn package i get an Error that some package

Re: maven-jar-plugin wraps manifest.mf line at wrong position

2007-06-08 Thread Jo Vandermeeren
Hi Zhang, All MANIFEST.MF files that contain lines longer than 72 bytes are invalid, according to the Jar Manifest specification. That's why the plugin splits them, which is the only way to create a valid manifest. And no, AFAIK, you can not force the plugin to create invalid manifest files.

Re: Configuration questions

2007-06-08 Thread Jo Vandermeeren
On 6/7/07, Kevin.A.D'[EMAIL PROTECTED] Kevin.A.D'[EMAIL PROTECTED] wrote: how do I tell it to include one set of config file and ignore the rest? You can specify separate resource sets for different profiles. 2. When setting up a folder structure of an EAR project containing a WAR, should

Re: War plugin transitive dependency

2007-06-08 Thread Jo Vandermeeren
On 6/7/07, Váry Péter [EMAIL PROTECTED] wrote: With using the war plugin, we can declare transitive dependencies, A depends on B, and B depends on C. With SNAPSHOT versions I would like to see every changes in C appear immediately in A, without any manual interaction (or as few as possible).

Re: Classpath issues with maven 2.0.6

2007-06-08 Thread Jo Vandermeeren
On 6/8/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Looking a bit deeper I discovered the classpath being used in Eclipse contains a lot more entries than the one being used by maven. Hi Minto The classpath used to startup maven is different from the one that is used to build and test

Re: War plugin transitive dependency

2007-06-08 Thread Jo Vandermeeren
On 6/8/07, Váry Péter [EMAIL PROTECTED] wrote: If I working with jar-s, and A is transitively dependent on C, then if a new C is installed into the repository, I will get the new version. But with war - it does not count the transitive dependencies, so I does not get the changes. Hi Peter,

Re: Problem with creating deployment code RMIC code during ejb build

2007-06-08 Thread Jo Vandermeeren
On 6/8/07, Kiran Kodlady [EMAIL PROTECTED] wrote: one more question - is there any tag to provide custom path for ejb-jar.xml in pom.xml ? Create your own descriptor at src/main/resources/META-INF/ejb-jar.xml. No need to specify it in the pom, as long as src/main/resources is included

Re: [M2] Running maven avoing checking the existence of pom file in the local repository

2007-06-06 Thread Jo Vandermeeren
Hi Roberto, If you define a dependency (or it gets pulled in transitively), your build will fail if it is not available. It is needed to correctly build your project. Tricking maven into thinking that it is not needed will usually result in a corrupt build. If you really don't need the

Re: changelog scm question

2007-06-06 Thread Jo Vandermeeren
Hi Seth, Why don't you just define the correct SCM information in your parent? Cheers Jo On 6/6/07, Seth Mason [EMAIL PROTECTED] wrote: Is there a way to configure the changelog plugin so it doesn't use the values form the scm element but rather from a plugin configuration element? I have a

Re: M2: Surfire report directory

2007-06-06 Thread Jo Vandermeeren
On 6/6/07, Jux [EMAIL PROTECTED] wrote: I also have not told, that for other developers in my team, that error does not occur. Hmm.. You might want to remove the surefire plugin from your local repository and clean your project. Then try it again.. Cheers Jo

Re: RMIC help for Maven2

2007-06-06 Thread Jo Vandermeeren
On 6/5/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: (1) How can I compile those java files by 'rmic' in Maven2 or How the pom.xml would look like ? (2) What do I need to do to compile those java files by 'rmic' in Maven2 ? Hi Patel, You might want to have a look at the

Re: Generate a ear from a ejb project

2007-06-06 Thread Jo Vandermeeren
On 6/6/07, Raúl Arabaolaza Barquín [EMAIL PROTECTED] wrote: Can I generate a ear file with a ejb module without creating a ear project? Can I use the ejb project´s pom to generate the ear too? Hi Raul, Short answer: no, you can't. All good developers are a bit lazy, that's usually the

Re: calling plugin in another plugin?

2007-06-06 Thread Jo Vandermeeren
Hi Zhangxu, On 6/6/07, 張旭 [EMAIL PROTECTED] wrote: Does maven2 has api to add and call a plugin in another plugin ? This question has been asked a couple of times in the past, but nobody seems to have an answer. So, I think it's fair to conclude that there is no API available for this. Or

Re: Programmatically finding dependencies

2007-06-05 Thread Jo Vandermeeren
Use the information in the dependency list and an ArtifactFactory to create an Artifact with , then use an ArtifactResolver to resolve them fully. Afterwards, you can call getFile(), to get the File objet. Cheers Jo On 6/4/07, CasMeiron [EMAIL PROTECTED] wrote: We can retrieve all

Re: unable to downloada plugin if mirror tag is set in settings.xml

2007-06-05 Thread Jo Vandermeeren
Why do you think this is a bug? Looks more like your mirror isn't configured to mirror everything you need. The reason why everything builds successfully after you remove the mirror settings is because you're falling back to the default central repository settings (ibiblio, repo1). Cheers Jo

Re: [m2] site:stage

2007-06-05 Thread Jo Vandermeeren
Hi Jens, The usual mvn clean will clean it, if you're staging in target/staging. But no specific clean goal is available on the site plugin.. Cheers Jo On 6/4/07, Jens Hohl [EMAIL PROTECTED] wrote: Hello, is it possible to clean an staging directory via maven ? regards, jens

Re: Programmatically finding dependencies

2007-06-05 Thread Jo Vandermeeren
On 6/5/07, CasMeiron [EMAIL PROTECTED] wrote: ArtifactoryFactory : interface ArtifactResolver : interface Where can we find the implementations? I already have a list of dependencies, just need resolve the full path for each dependency. Instances of these interfaces can be injected into

Re: [m2] site:stage

2007-06-05 Thread Jo Vandermeeren
On 6/5/07, Jens Hohl [EMAIL PROTECTED] wrote: can you explain a bit deeper what you mean by 'target/staging' ? You mean the Directory under target ? Yes, the default staging directory is in the usual Maven build directory. Cheers Jo

Re: Ant's Java task in Maven?

2007-06-04 Thread Jo Vandermeeren
You can call your Ant task with the maven-antrun-plugin: http://maven.apache.org/plugins/maven-antrun-plugin/ On 6/4/07, hezjing [EMAIL PROTECTED] wrote: Hi! With Ant, we have Java task to execute a main Java class. How can I do this with Maven? -- Hez

Re: Ant's Java task in Maven?

2007-06-04 Thread Jo Vandermeeren
On 6/4/07, hezjing [EMAIL PROTECTED] wrote: Hi Jo I hope I can do this the Maven's way without using the Antrun plugin. What exactly do you want to do? Any better idea? If you just want to execute a main class, the maven-exec-plugin might be what you are looking for. It's on the

Re: Ant's Java task in Maven?

2007-06-04 Thread Jo Vandermeeren
On 6/4/07, hezjing [EMAIL PROTECTED] wrote: I want to excute a Java class, similar to Ant's Java task (http://ant.apache.org/manual/CoreTasks/java.html). Then use the exec plugin I mentioned in the previous post: http://mojo.codehaus.org/exec-maven-plugin/java-mojo.html. The project's

Re: maven antrun plugin

2007-06-04 Thread Jo Vandermeeren
First off, this is an English speaking mailing list.. So ask your questions in plain English. You can indeed bind a plugin execution to a certain phase. What is the content of the error message you mentioned? Cheers Jo On 6/4/07, merlin [EMAIL PROTECTED] wrote: dans la documentation maven

Re: maven antrun plugin

2007-06-04 Thread Jo Vandermeeren
On 6/4/07, merlin [EMAIL PROTECTED] wrote: [WARNING] repository metadata for: 'snapshot org.geoserver:web:1.6-SNAPSHOT' could not be retrieved from repository: codehaus.org due to an error: Unsupported Protocol: 'dav': Cannot find wagon which supports the requested protocol: dav [INFO] Error

Re: Require particular JDK version

2007-06-04 Thread Jo Vandermeeren
Hi David, Yes.. Have a look at the enforcer plugin: http://maven.apache.org/plugins/maven-enforcer-plugin/ Cheers Jo On 6/4/07, David Corbin [EMAIL PROTECTED] wrote: Is it possible to have the build fail if a particular version of the JDK is not being used?

Re: Programmatically finding dependencies

2007-06-04 Thread Jo Vandermeeren
Hi Roland, Hmm.. I guess you could let the dependencies get resolved transitively, and then parse the pom.xml yourself to get a more restrictive list of dependencies. Dependency details could have been defined at a parent level, so enrich the data in your parsed list with the information that is

Re: Specifying inclusions/exclusions from filtering resources

2007-06-04 Thread Jo Vandermeeren
Hi Kevin, You can define separate sets for resources that need to be filtered. More on includes/excludes here: http://maven.apache.org/plugins/maven-resources-plugin/examples/include-exclude.html Example.. resources resource

Re: transitive provided dependency

2007-06-04 Thread Jo Vandermeeren
Hi Nicolas, Apparently you have indeed missed a bit ;) The URL you pasted mentions: *provided* - this is much like compile, but indicates you expect the JDK or a container to provide it. It is only available on the compilation classpath, and is not transitive. This means that they were needed

Re: [m2] ear-plugin: web module context root problem

2007-05-31 Thread Jo Vandermeeren
Have you tried to set an escaped value for your variable in case you don't have a concrete value for it? Something along the lines of: foo.context.root\${foo.context.root }/foo.context.root Might just work.. Cheers Jo On 5/29/07, ertnutler [EMAIL PROTECTED] wrote: i'm using the

Re: maven 1.0.2 + Java 1.5 at Linux

2007-05-31 Thread Jo Vandermeeren
Be more specific if you want someone to answer your questions. What is not working, what are the error messages, etc. Cheers Jo On 5/31/07, Youngho Cho [EMAIL PROTECTED] wrote: Hello, So far I used maven 1.0.2 with Java 1.4 at linux machine. and 1.0.2 with java 1.5 at Windows marchine.

Re: M2 Eclipse project dependency

2007-05-30 Thread Jo Vandermeeren
Robert, Glad to see that you're giving Maven a try. Maven modules always depends on compiled artifacts that are installed in your repository, not directly on the source of other modules. This is good practice because now you are certain that you depend on pre-built, pre-tested artifacts, rather

Re: How can I include pom.xml dependencies in output jar???

2007-05-30 Thread Jo Vandermeeren
This has been asked and answered at least a hundred times on this mailing list. The maven-assembly-plugin can do this for you. http://maven.apache.org/plugins/maven-assembly-plugin/usage.html It comes down to adding this to your POM's build plugins definition: plugin

Re: Maven Error - is duplicated in the reactor

2007-05-30 Thread Jo Vandermeeren
On 5/30/07, Kiran Kodlady [EMAIL PROTECTED] wrote: Maven complains when a pom has children with identical groupId:artifactId with the following message: INFO] Project 'com.xyzis duplicated in the reactor. Can somebody tell me is there any solutin for this?? What exactly seems confusing to

Re: How can I include pom.xml dependencies in output jar???

2007-05-30 Thread Jo Vandermeeren
On 5/30/07, Ali Sakebi [EMAIL PROTECTED] wrote: Thanks a lot Jo, and sorry for my question, I didn't know that it has been asked before. Also sorry for future questions if they are not good questions. What I exactly wanted was to be able to include unpacked jar files in lib dir (I needed it to

Re: Publishing a jar without a compilation step

2007-05-30 Thread Jo Vandermeeren
Hi Damon, First thing. If the 3rd party jars are not available in repositories, there is no other solution than installing them in your repository manually and generate/create a POM for them. Nothing to do about that. You don't install a 3rd party jar by creating a new maven project for them and

Re: Publishing a jar without a compilation step

2007-05-30 Thread Jo Vandermeeren
On 5/30/07, Robert Dale [EMAIL PROTECTED] wrote: Put the jars in your local repository - system scope should be avoided. Indeed, avoid system scope. It makes your builds irreproducible. Cheers Jo

Re: Maven Error - is duplicated in the reactor

2007-05-30 Thread Jo Vandermeeren
On 5/30/07, Stefano Bagnara [EMAIL PROTECTED] wrote: This is not coherent. You say groupId + artifactId + versionId uniquely identify an artifact. So I should be able to manage multiple versions of the same artifact in a single reactor build. What you say should only apply to 2 modules

Re: JMeter Maven Plugin

2007-05-29 Thread Jo Vandermeeren
On 5/29/07, Paola [EMAIL PROTECTED] wrote: Hi, I try make download the Jmeter-maven-plugin, but this not exist in repo1, please somebody know where he exist!!!??? Tried google? http://wiki.apache.org/jakarta-jmeter/JMeterMavenPlugin

Re: How to Get Dependencies

2007-05-26 Thread Jo Vandermeeren
Maven API? If you are talking about a Maven project, just build it to install all of its dependencies in your local repository. Maven2 resolves transitive dependencies automatically. Cheers Jo On 5/26/07, flaubert g [EMAIL PROTECTED] wrote: Hi, How do I retrieve all transitive dependencies,

Re: How to Get Dependencies

2007-05-26 Thread Jo Vandermeeren
On 5/26/07, flaubert g [EMAIL PROTECTED] wrote: Hi Jo, Thanks for replying. I'm writing a simple mojo plugin. I want to retrieve all project dependencies and subdependencies and display this list on my console. I used: @parameter expression=${project.dependencies} List dependencies; which

Re: [M2] Site upload

2007-05-25 Thread Jo Vandermeeren
Jens, Are you complaining about the fact that wagon-ftp currently is not implemented to support directory copy? That can be fixed easily, it just needs to be implemented. I can send you a compiled jar with directory copy enabled if that's what you want.. Cheers Jo On 5/24/07, Jens Hohl

Re: [M2] Site upload

2007-05-25 Thread Jo Vandermeeren
some time this weekend or next week, i'll implement it again and make a patch.. Cheers Jo On 5/25/07, Wendy Smoak [EMAIL PROTECTED] wrote: On 5/25/07, Jo Vandermeeren [EMAIL PROTECTED] wrote: Are you complaining about the fact that wagon-ftp currently is not implemented to support directory

Re: Accessing repository in Two different Unix server

2007-05-25 Thread Jo Vandermeeren
Jaish, That is pretty well documented on the Maven website: http://maven.apache.org/guides/introduction/introduction-to-repositories.html It comes down to adding this snippet to your pom file.. project ... repositories repository idmy-internal-site/id

Re: Accessing repository in Two different Unix server

2007-05-25 Thread Jo Vandermeeren
On 5/25/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: We can't access it thorugh http as repo is in another unix file system. Then mount it and use the file:// protocol instead of http. You could at least read the link i pasted.

Re: how to use the same jar in the maven repository but in another java version?

2007-05-21 Thread Jo Vandermeeren
Hi, If you are making multiple artifacts from one module, you should definitely use classifiers for the build artifacts. Otherwise, they get mixed up and you end up with garbage. You can configure the maven-jar-plugin or the maven-assembly-plugin to add classifiers to the artifacts when their

Re: Novice User Question

2007-05-16 Thread Jo Vandermeeren
Hi Averill, Seems you're getting a bit confused. For each jar file that you want to install manually in your local maven repository, do the following: 1. Define a group ID value for the jars you are installing, if they are 3rd party, give them the vendor's name or url or something (groupId) 2.

Re: Norton Internet Security Maven 2

2007-05-13 Thread Jo Vandermeeren
I assume that you want to allow http access for specific processes only? Turn off your firewall, do your maven thing that needs remote repository access, check what the name of the maven process is and add it to you firewall's whitelist for port 80.. Or if you are less paranoid, you could just

Re: String substitution in resource filtering

2007-05-13 Thread Jo Vandermeeren
Yeah.. resource filtering could be more useful in lots of ways.. But until then, you could easily write your own mojo to do this and bind it to the desired phase. Cheers Jo On 5/13/07, Wayne Fay [EMAIL PROTECTED] wrote: If you seriously are interested in this, you'll need to file a JIRA

Re: NoClassDefFoundError when running test

2007-05-13 Thread Jo Vandermeeren
Hi Daniel, Add the artifact that contains the respective class to your project with the correct scope, i.c. test. Good luck Jo On 5/13/07, Daniel del Castillo [EMAIL PROTECTED] wrote: Hi, I'm using Maven 2.0.4 and I'm having a problem when running the test goal. The surefire reports say

Re: addClasspath does not add the classpath to Manifest

2007-05-13 Thread Jo Vandermeeren
Hi Tom, Only dependencies with scope runtime are added to the classpath. Cheers Jo On 5/11/07, Tom Lambrechts [EMAIL PROTECTED] wrote: When enabling addClasspath the manifest does not contain classpath. Neither for runtime or compile scope: Main class and other parameters do work. Manifest:

Re: Fresh install problem

2007-05-13 Thread Jo Vandermeeren
Hi Martin, Maven has no install procedure.. It is just the exploded archive. When you run maven for the first time, it create a .m2 directory in your user home dir. This directory contains a local repository (as soon as you have downloaded dependencies). You can create a settings.xml file in

Re: jar with dependencies in a folder

2007-04-25 Thread Jo Vandermeeren
Javier, The maven-assembly-plugin can do that for you.. http://maven.apache.org/plugins/maven-assembly-plugin/ Here's a snippet to add to your build plugins: plugin artifactIdmaven-assembly-plugin/artifactId configuration

Re: For you Enterprise Maven Users!

2007-04-18 Thread Jo Vandermeeren
Looking good.. Good luck with the new company! On 4/18/07, Jason van Zyl [EMAIL PROTECTED] wrote: http://blogs.maven.org/jvanzyl/2007/04/18/1176905394766.html - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Mojo: query the maven repository for dependencies

2007-04-18 Thread Jo Vandermeeren
Hello fellow maven users, I would like to create a standalone maven plugin that is able to create a module archetype. It should generate the pom and directory structure like a normal maven archetype. When this has been created, it should generate some workflows as spring application context

Re: [M2] Newbie Problem with Snapshot Dependencies

2007-04-16 Thread Jo Vandermeeren
Kevin, You have to enable snapshots for your repository. I haven't tried it myself using the ant lib, but you could try to set the 'releases' and 'snapshots' attributes both to 'true'. Cheers Jo On 4/16/07, Kevin Moran [EMAIL PROTECTED] wrote: Hello all, I've set up a Maven 2 repository

Re: Specifying repository in the install goal

2007-04-16 Thread Jo Vandermeeren
Hi, mvn install will always install to your local repository.. mvn deploy however, will install your artifact in a remote repository.. Cheers Jo On 4/16/07, mateamargo [EMAIL PROTECTED] wrote: I need to install a program in a repository, but not in my local one. Everytime I run mvn install

Re: What is the Best practice for generating variations of an artifacts?

2007-03-16 Thread Jo Vandermeeren
Hi Vincent, I use filtering with profiles (option 1) and rebuild the entire project when I need another configuration. This is far from ideal.. Perhaps you could keep your runtime configuration in a separate module and include the one you need as a dependency by activating a profile? I like

Generating project documentation

2007-03-05 Thread Jo Vandermeeren
Hi there, I need to write some technical documentation and like to build it as a pdf with maven. What would be the best way to go? I was thinking about using the docbook xml format.. Thanks Jo

Re: Settings.xml not being recognized by Continuum

2007-03-01 Thread Jo Vandermeeren
? Please help. -Original Message- From: Jo Vandermeeren [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 28, 2007 6:11 PM To: continuum-users@maven.apache.org Subject: Re: Settings.xml not being recognized by Continuum Hi Alexander, When continuum runs maven, maven will look for its

POM Updates

2007-03-01 Thread Jo Vandermeeren
Hi, I was wondering why continuum couldn't download the module poms from scm or the shared/local repository itself. It shouldn't be that hard because all information needed to get the modules from scm is available in the parent pom. Only uploading the parent pom should be sufficient. Another

Re: POM Updates

2007-03-01 Thread Jo Vandermeeren
Hi Emmanuel, OK. If you're short on developers, I would be happy to participate.. Cheers Jo On 3/1/07, Emmanuel Venisse [EMAIL PROTECTED] wrote: we want to do it in future. Jo Vandermeeren a écrit : Hi, I was wondering why continuum couldn't download the module poms from scm

Re: Settings.xml not being recognized by Continuum

2007-02-28 Thread Jo Vandermeeren
Hi Alexander, When continuum runs maven, maven will look for its settings.xml file in the maven directory of the user that has started the continuum process (~/.m2/settings.xml). Define your profile in settings.xml and specify activation: profile iddev-mine/id activation property

Re: copy repository from another computer

2007-02-27 Thread Jo Vandermeeren
Hi Edney, Told you that you got network issues at work ;) Yes, you can copy/paste your repository.. Cheers Jo On 2/27/07, Edney Imme [EMAIL PROTECTED] wrote: Hi guys, How everybody nows i have a big problem with my network configuration. At home, i configurate my laptop to work with my

Re: clean install without check new updates

2007-02-27 Thread Jo Vandermeeren
updates? Thank On 2/27/07, Edney Imme [EMAIL PROTECTED] wrote: Hello. I already get a big problem with the CIO about these problem. :) Maybe i will loose my job because this problem. he dosn´t understant that I need this to do the project. thank you. On 2/27/07, Jo Vandermeeren

Re: clean install without check new updates

2007-02-27 Thread Jo Vandermeeren
repository ... updatePolicynever/updatePolicy ... /repository /repositories /settings Do the same thing for your pluginRepositories.. Cheers Jo On 2/27/07, Jo Vandermeeren [EMAIL PROTECTED] wrote: Hi Edney, Haven't tried it yet, but you could set offline mode to true in your

Re: [m2] maven-antrun-plugin error

2007-02-26 Thread Jo Vandermeeren
Hi Sam, Delete the maven-antrun-plugin directory and start over.. There might have beeen a problem when you downloaded the jar.. Alternatively, write a mojo that requires dependency resolution, iterate the dependecy set, get the files of the artifacts and copy them to the location of your

Re: 2 modello questions

2007-02-26 Thread Jo Vandermeeren
Hi Tim, I have no experience with the modello plugin, but you could always contact one of the developers directly.. http://dcabasson.developpez.com/maven/modello-maven-plugin/team-list.html Cheers Jo On 2/26/07, Tim Moloney [EMAIL PROTECTED] wrote: Any suggestions? Even if it is a better

Re: 2 modello questions

2007-02-26 Thread Jo Vandermeeren
: Hi Jo, Jo Vandermeeren wrote on Monday, February 26, 2007 9:52 AM: Hi Tim, I have no experience with the modello plugin, but you could always contact one of the developers directly.. http://dcabasson.developpez.com/maven/modello-maven-plugin/tea m-list.html No, it is *awlays* a very bad

Re: packaging jar files ...

2007-02-26 Thread Jo Vandermeeren
Hi Armin, Maven produces one artifact per module/project, which is usually the best way to go.. If you do need the dependencies of a module packaged within the final artifact: - for maven 1: check out the uberjar plugin at http://maven.apache.org/maven-1.x/plugins/uberjar/ - for maven 2:

Re: [m2] Multiple developer dependency management

2007-02-26 Thread Jo Vandermeeren
Hi Sander, Glad you figured it out. Local repositories are for local use.. Since you're setting up a maven environment for your teams, here are some tips.. You'll want to setup a company-wide shared repository via ftp/scp/whatever and put a webserver in front of it. This will be the repository

Re: Problems with maven

2007-02-26 Thread Jo Vandermeeren
Hi there, 1. You've got network issues.. Contact your network guy for the correct proxy settings. So, get your network and proxy settings up and running and you should be good to go.. 2. Installing an external jar into your repository - like most things in maven - can only be done via the

Re: Problems with maven

2007-02-26 Thread Jo Vandermeeren
need a pluggin to do that in eclipse. Sorry On 2/26/07, Jo Vandermeeren [EMAIL PROTECTED] wrote: Hi there, 1. You've got network issues.. Contact your network guy for the correct proxy settings. So, get your network and proxy settings up and running and you should

Re: Problems with maven

2007-02-26 Thread Jo Vandermeeren
. On 2/26/07, Jo Vandermeeren [EMAIL PROTECTED] wrote: Edney.. Is this an exact copy of your settings.xml? Did you fill in the correct proxy host and proxy port for your network? I can assure you that myproxyserver and proxy_port definitely are not the correct settings ;) Are you able

Re: Problems with maven

2007-02-26 Thread Jo Vandermeeren
. On 2/26/07, Jo Vandermeeren [EMAIL PROTECTED] wrote: Hi Edney, The only other thing that I can think of is that you need to supply a username/password for your proxy. Does your proxy server need authentication? If it does, configure it in your

Re: Assembly plugin bug?

2007-02-26 Thread Jo Vandermeeren
Hi Tommy, That's no bug.. The assembly plugin filters resources on a per-file basis, it doesn't apply filtering on fileSets. So, define a file set for all files that don't need filtering and add excludes for files that you want to filter.. Then, define file elements for the files that you wan

Re: Problems with maven

2007-02-26 Thread Jo Vandermeeren
. On 2/26/07, Jo Vandermeeren [EMAIL PROTECTED] wrote: Hi Edney, The only other thing that I can think of is that you need to supply a username/password for your proxy. Does your proxy server need authentication? If it does, configure

Re: Problems with maven

2007-02-26 Thread Jo Vandermeeren
. On 2/26/07, Edney Imme [EMAIL PROTECTED] wrote: Hi, I talk now with the guy from network , and he said that the internet access with dos is not allowed. Then, I need to do this with windows. On 2/26/07, Jo Vandermeeren [EMAIL

Re: Problems with maven

2007-02-26 Thread Jo Vandermeeren
for this plugin.. Cheers Jo On 2/26/07, Mick Knutson [EMAIL PROTECTED] wrote: But he needs to get certain plugins in order to install into his repository. Thus, having the correct Repositories set in the settings.xml would still be required right? On 2/26/07, Jo Vandermeeren [EMAIL PROTECTED

Re: Assembly plugin bug?

2007-02-26 Thread Jo Vandermeeren
Knowlton [EMAIL PROTECTED] wrote: Thanks, Jo. I'll give that a try. Perhaps this is what confused me: http://maven.apache.org/plugins/maven-assembly-plugin/assembly.html On 2/26/07, Jo Vandermeeren [EMAIL PROTECTED] wrote: Hi Tommy, That's no bug.. The assembly plugin filters resources

Re: Problems with maven

2007-02-26 Thread Jo Vandermeeren
This is getting a really long thread.. Edney.. Delete your settings.xml file, create a new one and copy/paste the content below into it: ?xml version=1.0 encoding=UTF-8? settings proxies proxy activetrue/active protocolhttp/protocol host10.1.1.15/host

Re: Problem building war file

2007-02-26 Thread Jo Vandermeeren
Hi Enrique, Well.. Do you add a BuildVersion attribute to the manifest someplace else? Cheers Jo On 2/26/07, Enrique Gaona [EMAIL PROTECTED] wrote: Hi, I'm running into problems building my war file. Inside my parent pom, I am adding entry to my manifest file, but when it creates the war

Re: inheriting parent version number in child poms

2007-02-26 Thread Jo Vandermeeren
Hi Satish, I guess you're adjusting the parent version manually? This doesn't get picked up by the child modules since in the child poms you're still referencing the parent with its old version. You could always use the release-plugin to release your versions (which is the preferred way to cut

Re: inheriting parent version number in child poms

2007-02-26 Thread Jo Vandermeeren
alternative or am I stuck now? -Satish -Original Message- From: Jo Vandermeeren [mailto:[EMAIL PROTECTED] Sent: Monday, February 26, 2007 3:25 PM To: Maven Users List Subject: Re: inheriting parent version number in child poms Hi Satish, I guess you're adjusting the parent version manually

Re: create test classes

2007-02-26 Thread Jo Vandermeeren
Hi Martin, First, your question should be asked in users@maven.apache.org since it is a maven question and not really continuum-related. Unfortunately Maven can not generate test classes automatically for you :-) Just add the test directory under src and start adding test cases for your

Re: Newbie question: single project spanning multiple repository locations

2007-02-26 Thread Jo Vandermeeren
hi Dirk, You need to define each repository location as a maven module in a pom-packaged parent project. Once you've done this, you could add the pom to continuum and it will create 5 entries: 1 for each trunk and 1 for the parent. You could easily setup continuum to enable recursive builds.

Re: proxy 4 scm

2007-02-26 Thread Jo Vandermeeren
Hi there, You could setup firewall-friendly SCM access by using subversion+webdav.. http://subversion.tigris.org/webdav-usage.html Cheers Jo On 2/16/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: where can I set a proxy for scm activities of continuum if i'm behind a firewall? starting jboss

Re: Scope and type in dependencyManagement?

2007-02-25 Thread Jo Vandermeeren
Hi Manos, That's exactly what dependencyManagement is for.. You only need the groupId an artifactId in your modules if you declare the scope, type and version in your parent. Cheers Jo On 2/25/07, Manos Batsis [EMAIL PROTECTED] wrote: Besides version, does dependencyManagement make scope

  1   2   >