Re: New to Maven - need help

2008-10-17 Thread Jan K
I went through the book,i donot find any information regarding adding our own dependencies in maven. I read a article as : dependency groupIdquartz/groupId artifactIdquartz/artifactId version1.5.1/version scopecompile/scope /dependency Maven downloads and use Quartz as a dependency

Re: New to Maven - need help

2008-10-17 Thread David C. Hicks
Jan, I would first suggest you search the main repository to make sure that the dependency you're looking for is truly not already in there. Here is the site to search: http://www.mvnrepository.com/ If you can't find what you're looking for there, then you can always add dependencies to

Rename files after creation via archetype

2008-10-17 Thread Stefan Fritz
Hi all, Is there an easy way to automatically rename some files during/after creating a project via an archetype? Thanks Steafn - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Howto Install Plugin?

2008-10-17 Thread Some user
So the procedure for installing a plugin is the same as for a 'normal' artefact? I tried installing from the provided .jar, not from the source. So should I have used install:install-file? Wayne Fay wrote: What have you tried? How do you know it didn't work? I don't know about that

Re: New to Maven - need help

2008-10-17 Thread Jan K
I will explain in detail what i have in my hand. I created a project.I have a folder structure created .Please note,i have client related java files in one folder,Servlet related java files in another folder and so on in my project.So In src/main/java ,i copied all the jave files(with the

Re: Howto Install Plugin?

2008-10-17 Thread Some user
Okay, I got it working. I installed the jar with install:install-file and manually added a .pom into my local repository. Some user wrote: So the procedure for installing a plugin is the same as for a 'normal' artefact? I tried installing from the provided .jar, not from the source. So

Re: New to Maven - need help

2008-10-17 Thread Stephen Connolly
You're rushing too fast. Seriously, Try walking through the sonatype book or one of the other maven tutorials. It will not take as long as you think. You will end up understanding what you are doing and get where you are going faster than playing table tennis with the mailing list -Stephen

Re: Howto Install Plugin?

2008-10-17 Thread Stephen Connolly
ugh! I hope you added the plugin's pom and not one you just made up yourself 2008/10/17 Some user [EMAIL PROTECTED] Okay, I got it working. I installed the jar with install:install-file and manually added a .pom into my local repository. Some user wrote: So the procedure for

Re: New to Maven - need help

2008-10-17 Thread Jan K
Hi dchicks, I will explain in detail what i have in my hand. I created a project in maven.I have a folder structure created .Please note,i have client related java files in one folder,Servlet related java files in another folder and so on in my project.So In src/main/java ,i copied all the jave

Re: New to Maven - need help

2008-10-17 Thread David C. Hicks
See Stephen's comment from a previous email. You're getting *way* ahead of yourself. You've got some very basic problems that are going to get in your way long before dependencies are an issue. Either get yourself a copy of Maven: The Definitive Guide or use the online copy -

problem ruining new archetype

2008-10-17 Thread Sagara Gunathunga
Hi, For one of our framework , I need to create a specific archetype so that it will simplify the creation processes of new project , I try to follow procedure describe in [1] with the a sample archetype project . It worked fine and installed new archetype in to my local M2 repo also . but

Re: Maven version for MNG-624 issue

2008-10-17 Thread Jason van Zyl
Ralph is working on it in the 2.1.x branch. Depending on feedback and some examples being created for perusal it may go into the 2.1-M2. A different implementation will be used in the 3.0.x line which Shane will most likely implement. On 16-Oct-08, at 4:41 AM, Shakun Gupta wrote: Hi,

Re: Recommended project structure.

2008-10-17 Thread David Ojeda
Hello, thanks... I also found some documentation here http://www.sonatype.com/book/reference/multimodule-web-spring.html On Thursday 16 October 2008 16:15:24 David C. Hicks wrote: I take that back. The second time around it showed up. David C. Hicks wrote: I didn't see anything under

Re: Running compiled tests against a fat-jar

2008-10-17 Thread Perron
Hey Wayne I am using Hudson. So if I understood you right: You would considering to set up a job on Hudson which just does build of the fatjar and a second job triggered afterwards that runs my tests against it - via this way I would not be troubled with the fact that the Maven-antrun-plugin

Maven2, maven-scm-plugin, svn, interactive mode

2008-10-17 Thread Winterflood, Jonathan
Hi all, I'm trying to use the scm plugin to bootstrap a project from a SVN repository. Using: mvn scm:bootstrap -DconnectionUrl=scm:svn:$SCM_PATH -DscmVersion=$SCM_REVISION -DscmVersionType=$SCM_REVISION_TYPE -Dusername=$SCM_USER -Dpassword=$SCM_PWD -Dgoals=install All works well

Cannot find the tag library descriptor for http://java.sun.com/jsp/jstl/coremultiproject

2008-10-17 Thread Johan S
Hi I have a multiproject web-application with 5 modules. Each web-module have jsp-page and works fine, showing no errrors. However, In my parent project I get this message: Cannot find the tag library descriptor for http://java.sun.com/jsp/jstl/core; The error points to the jsp pages in the

Re: Howto Install Plugin?

2008-10-17 Thread Some user
kind of - I used the .pom from trunk and changed the version back to 0.1. Stephen Connolly-2 wrote: ugh! I hope you added the plugin's pom and not one you just made up yourself 2008/10/17 Some user [EMAIL PROTECTED] Okay, I got it working. I installed the jar with

Multi-module ant built dependency

2008-10-17 Thread DBallinger
I am trying to package a legacy project using its current ant build script and provide it as a dependency in a Maven managed project. To achieve this, I have created a project with two modules. One module uses the ant plugin to call the legacy ant script. The other module contains the new

maven-clean-plugin - delete additional directories (target-eclipse), not only filesets?

2008-10-17 Thread torsten . reinhard
Hi, I use the m2Eclipse-plugin, and therefore I configured my outputDirectories to 'target-eclipse' instead of 'target', as recommended at http://docs.codehaus.org/display/M2ECLIPSE/Project+FAQ !-- see

Re: Want to exclude extra jars from war.

2008-10-17 Thread Nitin B
Thanks Wayne. I tried to deploy the service with all those jars. By excluding few of them which are creating a problem. Hoping that this will work. Nitin B Wayne Fay wrote: I don't want to include anything in classpath. I want to make ear file which can be deployed to any weblogic

Re: How to exclude perticular class from dependent jar.

2008-10-17 Thread Nitin B
Hi, When I use jar with the DOMMessageProvider class. I get follwing error at the time of deployment and my deployment fails. I tried by removing this class from the jar and it works. My service get deployed succesfully. I got this solution from some forum. Using this version of cxf :

Re: Running compiled tests against a fat-jar

2008-10-17 Thread Perron
Hey Wayne, scrap my comments about chaining up the Maven and the Ant task - figured out what you meant by that using a Build a free-style software project and adding additional Build steps in. Still wonder if there is a better way of doing the job. Perron Perron wrote: Hey Wayne I am

Re: Howto Install Plugin?

2008-10-17 Thread Stephen Connolly
I would have used 0.2-myname-1 as the version otherwise anyone else will get inconsistent behaviour 2008/10/17 Some user [EMAIL PROTECTED] kind of - I used the .pom from trunk and changed the version back to 0.1. Stephen Connolly-2 wrote: ugh! I hope you added the plugin's pom and

Re: Rename files after creation via archetype

2008-10-17 Thread Wendy Smoak
On Thu, Oct 16, 2008 at 11:46 PM, Stefan Fritz [EMAIL PROTECTED] wrote: Is there an easy way to automatically rename some files during/after creating a project via an archetype? According to JIRA, the feature is in the latest release... http://jira.codehaus.org/browse/ARCHETYPE-191 Ability to

[MAVEN-CORE-IT-LOG]

2008-10-17 Thread heapifyman
Hello. Since yesterday several of my maven builds are failing. E.g. the install:install goal fails and doesn't install the built artifact into my local repo but instead just gives log output starting with the subject line and creates some empty txt files. As far as I understand (see:

Default value when info is missing - for Manifest

2008-10-17 Thread solo1970
Hello Everyone, I need to put some information in the MANIFEST based on an environment variable, but when the environment variable is missing I want to set a default value. Is there any way to do that??? ... archive manifestEntries

Re: can't rev the version of multi-module project

2008-10-17 Thread Sahoo
I just want to say that this work around does not always work. It did not work for. See http://www.mail-archive.com/users@maven.apache.org/msg91071.html Thanks, Sahoo Johan Lindquist wrote: That rings a bell - and that would explain why it works for me - my root pom (not the project root pom

RE: [MAVEN-CORE-IT-LOG]

2008-10-17 Thread Brian E. Fox
This was an accident and not a way to teach you about poms. If you're using at least Maven 2.0.9, this won't affect you as we provide default versions of the lifecycle plugins for you. Otherwise, unfortunately the only way to fix it is to define the versions yourself. The enforcer

RE: [MAVEN-CORE-IT-LOG]

2008-10-17 Thread Brian E. Fox
Actually looking at the metadata closer, there's no reason I can see that you would get these: http://people.apache.org/repo/m2-snapshot-repository/org/apache/maven/plugins/maven-install-plugin/maven-metadata.xml metadata groupIdorg.apache.maven.plugins/groupId

Runtime project properties not available for goal assembly:assembly

2008-10-17 Thread Eric Ladouceur
Hi all, I am using the buildnumber-maven-plugin (version 1.0-beta-1) to get a revision number from my SVN repository and use it for my jar's finalName. This buildnumber plugin stores the revision number in the project properties. This plugin works well with the maven-jar-plugin, but not with

how to add jars from bootstrap to classpath in pom.xml

2008-10-17 Thread rohan chauhan
hi all I want to add all the jars from the bootstrap jars directory to the classpath. How can i do it in pom. can anyone specify me. Send free SMS to your Friends on Mobile from your Yahoo! Messenger. Download Now! http://messenger.yahoo.com/download.php

Runtime project properties not available for goal assembly:assembly

2008-10-17 Thread Eric Ladouceur
Hi all, I am using the buildnumber-maven-plugin (version 1.0-beta-1) to get a revision number from my SVN repository and use it for my jar's finalName. This buildnumber plugin stores the revision number in the project properties. This plugin works well with the maven-jar-plugin, but not

Re: [MAVEN-CORE-IT-LOG]

2008-10-17 Thread heapifyman
Brian E. Fox schrieb: Actually looking at the metadata closer, there's no reason I can see that you would get these: http://people.apache.org/repo/m2-snapshot-repository/org/apache/maven/plugins/maven-install-plugin/maven-metadata.xml metadata groupIdorg.apache.maven.plugins/groupId

Re: [MAVEN-CORE-IT-LOG]

2008-10-17 Thread Benjamin Bentmann
heapifyman wrote: Since yesterday several of my maven builds are failing. E.g. the install:install goal fails [...] some genius uploaded to the central repo some stub-xy versions of all maven-xyz-plugins which don't do anything. These stub plugins have been deployed to our snapshot

Re: how to add jars from bootstrap to classpath in pom.xml

2008-10-17 Thread Wayne Fay
The ability to point at a directory and say import all these jars as dependencies is simply not a feature available in Maven2. You must specify each jar that you depend on individually, and they should be located in your Maven repo (use mvn install:install-file as necessary). Wayne On Fri, Oct

Re: Default value when info is missing - for Manifest

2008-10-17 Thread Wayne Fay
This recent thread should help: dateTue, Oct 14, 2008 at 12:55 PM subjectRESOLVED: Default env.property values. Wayne On Fri, Oct 17, 2008 at 8:03 AM, solo1970 [EMAIL PROTECTED] wrote: Hello Everyone, I need to put some information in the MANIFEST based on an environment variable,

RE: how to add jars from bootstrap to classpath in pom.xml

2008-10-17 Thread Martin Gainty
if you put the jar in $M2_HOME/lib then in your pom.xml you can pull the jar via declared dependency e.g. artifactIdArtifactID/artifactId nameArtifactName/name packagingjar/packaging dependencies dependency groupIdorg.apache.maven/groupId

Multiple executions of goals under generate-sources: How to avoid?

2008-10-17 Thread stug23
I am working on a code generator plugin that ends up being executed multiple times when in fact I only want it to execute once in the generate-sources phase. According to this posting http://www.mail-archive.com/users@maven.apache.org/msg78484.html this is an expected behavior. How do I avoid

How to silence Dependency plugin?

2008-10-17 Thread David C. Hicks
I'm getting a bunch of messages from the Dependency plugin (i think) during the [war:war] phase of my build. They are of the form: [INFO] Dependency [Dependency ... ] has changed (was Dependency ...). The weird thing is that the before and after dependencies are actually identical. So, I

[ANN] Maven Resources Plugin 2.3 Released

2008-10-17 Thread Olivier Lamy
The Maven team is pleased to announce the release of the Maven Resources Plugin, version 2.3. New features : - New mojo to copy resources [1] - escape mechanism for property interpolation [2] - configuring file extension to not filtering [3]

A couple mvn site questions..?

2008-10-17 Thread Rick
1) I have a project structure with a parent pom and several modules beneath it. When I run mvn site from the root (the parent pom dir) it generates the site index.html file but if I try to click on any of the module links the URLs are wrong. They try to go to

Re: A couple mvn site questions..?

2008-10-17 Thread Wendy Smoak
On Fri, Oct 17, 2008 at 8:36 PM, Rick [EMAIL PROTECTED] wrote: 1) I have a project structure with a parent pom and several modules beneath it. When I run mvn site from the root (the parent pom dir) it generates the site index.html file but if I try to click on any of the module links the URLs

maven 2.0.7 reorders dependencies during build causing compilation failures

2008-10-17 Thread Sahoo
I just don't believe what I am seeing. Despite adding a particular dependency directly in my pom.xml, maven reorders dependencies and hence we get compilation failure. e.g., take a look at the pom.xml available at [1]. It declares a direct dependency on dependency