RE: What causes release:prepare to re-download

2007-04-17 Thread Jörg Schaible
Pankaj Tandon wrote on Monday, April 16, 2007 8:33 PM: Hi all, We've been using mvn release:prepare/perform for several months now on our build machine. Today, however issuing mvn release:prepare caused a LOT of files to be downloaded into our local repository. What caused this at the

I want a project that JUST does reporting and creates a site

2007-04-17 Thread KenCoveny
Hi, Is it possible to have a project that just reports and deploys to a site? I have three java projects that each require javadoc on preprocessed source files and using taglets. This is all done in an ant script, which I would like to run using the antrun plugin, from a dedicated project that

RE: Maven 2 : eclipse.dependency ??

2007-04-17 Thread Jörg Schaible
Marouane Amraoui wrote on Tuesday, April 17, 2007 12:05 AM: eclipse.dependency is only in Maven1.x what is the equivalent on Maven2.x To create inter-project dependencies, you must generate the linked eclipse projects at once. There's no further property necessary. - Jörg

I want a project that JUST does reporting and creates a site

2007-04-17 Thread Ken Coveny
Hi, Is it possible to have a project that just reports and deploys to a site? I have three java projects that each require javadoc on preprocessed source files and using taglets. This is all done in an ant script, which I would like to run using the antrun plugin, from a dedicated project that

Suggestions about project structures and related items

2007-04-17 Thread Ian Rowlands
Being relatively new to Maven and not finding much around about how things are done in the wild, I have a few questions about the best use of maven in regard to multi-module projects and generating some of the artifacts: 1. When you generate the website, an index.html is not generated by

Re: Error generating site

2007-04-17 Thread vgpande
Hey thanx, its working with the maven-surefire-plugin and generating the site even, but with clover even after geerating the site it shown the error along with the following warning: Do you have any idea how this can be resolved? [INFO] [clover:instrumentInternal] [WARNING] No Clover

AW: overriding version of dependent library

2007-04-17 Thread Ecker Severin
Hi, I don't have that dependency problem with jta but junit (as stated in another post of mine) Having junit4 as direct dependency and excluding junit from all other dependencies and adding the dependencyManagement with junit4 simply does not help. I'm still looking for a solution to my

Re: Core Module - Customer spcific Module. How to set up in Maven2?

2007-04-17 Thread Santonian
Yes that idea crossed my mind too. But I didnt tried it yet. The core module will have a lot of template files, images, javascript and all that kind of files. Don't I have to build a jar out of it? I was under the impression that I can not store resources such as freemarker template files inside

Re: Error generating site

2007-04-17 Thread Maria Odea Ching
Hi, Please see in-line comments below :) vgpande wrote: Hey thanx, its working with the maven-surefire-plugin and generating the site even, but with clover even after geerating the site it shown the error along with the following warning: Do you have any idea how this can be resolved? [INFO]

[m2] exec-maven-plugin in a multiproject

2007-04-17 Thread Adrian Herscu
Hi all, I am using Maven 2.0.6 with the exec-maven-plugin 1.1-beta-1. My project has a structure similar to this: root +child1 +child2 In child2 I am using the java goal and in child1 I am using the exec goal. When I am building child2 alone everything works fine. When I am

How to add manifest to jar at maven package

2007-04-17 Thread JavierL
Hi I need to set Main-Class and Class-Path to my maven generated jar. I ' ve created a resource/META-INF/MANIFEST.MF file in my project where I placed needed info but when I do mvn package, generated jar comes with a MANIFEST.MF without my data. How could I do it ? Thanks in advance X --

Re: How to add manifest to jar at maven package

2007-04-17 Thread Antonio Petrelli
2007/4/17, JavierL [EMAIL PROTECTED]: Hi I need to set Main-Class and Class-Path to my maven generated jar. I ' ve created a resource/META-INF/MANIFEST.MF file in my project where I placed needed info but when I do mvn package, generated jar comes with a MANIFEST.MF without my data. How

xdoclet-maven-plugin and java 1.5

2007-04-17 Thread Erik Drolshammer
Yuri Schimke wrote: But I managed to solve it by re-deploying the maven plugins to our internal repository with patched poms and different version names. We need to do this anyway to use the xjavadoc supporting Java 1.5 Do you have a reference to a repo which contains this (unofficial)

Re: How to add manifest to jar at maven package

2007-04-17 Thread JavierL
Thanks ! Antonio Petrelli-3 wrote: 2007/4/17, JavierL [EMAIL PROTECTED]: Hi I need to set Main-Class and Class-Path to my maven generated jar. I ' ve created a resource/META-INF/MANIFEST.MF file in my project where I placed needed info but when I do mvn package, generated jar comes

RE: Specifying repository in the install goal

2007-04-17 Thread franz see
Good day, Btw, if the problem simply was you want to change the location of your local repository from ~/.m2/repository to /somwhere/else/path, you'd just have to specify that in your settings.xml ( either in ~/.m2/settings.xml or in $M2_HOME/conf/settings.xml ) to something like... settings

Re: How to add manifest to jar at maven package

2007-04-17 Thread JavierL
Antonio Petrelli-3 wrote: 2007/4/17, JavierL [EMAIL PROTECTED]: Hi I need to set Main-Class and Class-Path to my maven generated jar. I ' ve created a resource/META-INF/MANIFEST.MF file in my project where I placed needed info but when I do mvn package, generated jar comes with a

Re: [m2] exec-maven-plugin fails because path containing spaces

2007-04-17 Thread franz see
Good day, How about using the antrun plugin instead? ( see [1] ) Cheers, Franz [1] http://maven.apache.org/plugins/maven-antrun-plugin/ Adrian Herscu-2 wrote: Added localRepositoryC:\DOCUME~1\pm\M2639C~1\REPOSI~1/localRepository to the M2 install settings.xml. But, this may

Re: How to add manifest to jar at maven package

2007-04-17 Thread Antonio Petrelli
2007/4/17, JavierL [EMAIL PROTECTED]: Just one more thing. In my source code I've Hiberntae mappuings .xml files but I could not found them inside generated jar. I can't see in docs how to force to add those files to jar... Is this possible ? It depends, resources (like xml files) must be

How to Build Eclipse RCP Application using Maven

2007-04-17 Thread Ramesh Babu Pokala - TLS, Chennai
Hi All, How to build a Eclipse RCP Application using Maven? What are the steps I need to follow for the same? Thanks Regards Ramesh Babu.P DISCLAIMER: --- The

Re: Applet with maven 2

2007-04-17 Thread franz see
Good day, What archiva does with its applet is that in archiva-webapp, it declares archiva-applet as a dependency ( with scope set to provided ). Then it uses dependency-maven-plugin ( though you can now use maven-dependency-plugin since i think it's much more updated now ) to copy the applet to

Re: How to add manifest to jar at maven package

2007-04-17 Thread Manos Batsis
Antonio Petrelli wrote: 2007/4/17, JavierL [EMAIL PROTECTED]: Just one more thing. In my source code I've Hiberntae mappuings .xml files but I could not found them inside generated jar. I can't see in docs how to force to add those files to jar... Is this possible ? It depends, resources

Re: Core Module - Customer spcific Module. How to set up in Maven2?

2007-04-17 Thread Maria Odea Ching
Hmm.. I think you can include them in the jar file, but you might have to unpack the jar file if you're going to use or access these resources from the projects that depend on the core module. You might want to take a look at maven-dependency plugin, it has a goal for unpacking a project's

Re: Error in maven-dependency:copy

2007-04-17 Thread Herve . CHANG
Actually, I'm want to copy artifacts during the package phase and that's why I use the executions tag...However, both dependency:copy only and package execution throw the same error as previously. Version is clearly 2.0-alpha-4; I just wanted to test copying junit artifact and put it into

Re: How to add manifest to jar at maven package

2007-04-17 Thread JavierL
Yes, I moved to resources and worked. Thanks Antonio Petrelli-3 wrote: 2007/4/17, JavierL [EMAIL PROTECTED]: Just one more thing. In my source code I've Hiberntae mappuings .xml files but I could not found them inside generated jar. I can't see in docs how to force to add those files

Re: xdoclet-maven-plugin and java 1.5

2007-04-17 Thread Yuri Schimke
We are using a non released jar also. Sorry. the xdoclet stuff seems effectively dead. Erik Drolshammer-2 wrote: Yuri Schimke wrote: But I managed to solve it by re-deploying the maven plugins to our internal repository with patched poms and different version names. We need to do

Re: maven-eclipse-plugin has problem with muli-project resources

2007-04-17 Thread Davis Ford
Hi Barrie, I understand about create a separate resource module that can be shared. Let me ask a quick question though. You mention you don't use a flat structure. This isn't a flat structure as far as i can tell...it is hierarchical. It's my understanding that a flat structure puts both

maven-resources-plugin

2007-04-17 Thread Ben Tatham
I am pulling my hair out trying to add a testResources directory with the maven-resources-plugin. I have a bunch of files in src\filesystem that I want to add as testResources, so I have the following in my pom. Nothing happens though. I have tried doing resources:testResources from the

Starting a new java process from within a test case is hanging the maven JVM

2007-04-17 Thread Balasubramanian, Ravi Shankar
Hi all, We use maven-surefire-plugin to run our testng test cases. I encountered a problem where in the maven VM is hanging when one of the test cases start a separate java process from within it using the java ProcessBuilder class(which I think is inconsequential here). What I am doing in the

Re: Core Module - Customer spcific Module. How to set up in Maven2?

2007-04-17 Thread franz see
Good day, You may want to use maven-remote-resources-plugin. You use the bundle goal on the project that contains those files to generate a manifest file ( META-INF/maven/remote-resources.xml ) which would contain the list of files in your jar that are extractable. Then you use the process goal

RE: Maven 2 : eclipse.dependency ??

2007-04-17 Thread Marouane Amraoui
Can you explain more ? i didn't undrestand 'you must generate the linked eclipse projects at once' ? -Message d'origine- De : Jörg Schaible [mailto:[EMAIL PROTECTED] Envoyé : mardi 17 avril 2007 06:27 À : Maven Users List Objet : RE: Maven 2 : eclipse.dependency ?? Marouane Amraoui

maven-assembly-plugin: unpack false not supported correctly

2007-04-17 Thread Graham Leggett
Hi all, While trying to build an assembly using 2.2-beta-1 of the assembly plugin, I end up with en empty zip file. The key difference is the unpackfalse/unpack - if this is set to true, the assembly works, if however it is set to false, the assembly plugin ignores the dependencies. In order to

overlaid war files and timestamps

2007-04-17 Thread Donnchadh Ó Donnabháin
In Better Builds with Maven, it says: If you add a dependency on a WAR, then the WAR you generate will be overlaid with the content of that dependent WAR, allowing the aggregation of multiple WAR files. However, only files not in the existing Web application will be added, and files such as

RE: Maven 2 : eclipse.dependency ??

2007-04-17 Thread Marouane Amraoui
I use Maven2. So i generate two project with eclipse A, B. (using my own archetype). So I need to make dependency between A and B , not jar dependency I want Project eclipse dependency. In B pom file : Dependencies Dependency Project A as eclipse project. /dependency

Re: Cannot run changelog command

2007-04-17 Thread Pankaj Tandon
Hello I'm really at the end of my rope trying to understand why mvn site/chageLog cannot find my scm. So... the next thing to do is to look at the source.. Well.. I went as far as checking out Changelog's source. But now the ChangeLogReport.java class inherits from AbstractMavenReport, where I

RE: M2 : Controlling WEB-INF/lib contents in war

2007-04-17 Thread Shute, James
The target layout I'm after is: ear | |-lib | |-a.jar | |-b.jar | |-webapp | |-WEB-INF |-web.xml |-lib |-c.jar I can't use warSourceExcludes as AFAIK excludes take precedence over includes, so I can't exclude *.jar but then include c.jar For it to work

Timestamp versions of snapshot dependencies

2007-04-17 Thread Houtekier Thomas
Hi, When snapshot-dependencies are downloaded from our (in-house) remote repository, I get the artifact in the form artifactId-MMDD.HHmmss-no.jar and not artifactId-SNAPSHOT.jar. In scripts I reference to the artifactId-SNAPSHOT.jar version. When I get the timestamp version, I have to

M2 : Controlling WEB-INF/lib contents in war

2007-04-17 Thread Shute, James
I'm having a go at migrating my app to M2 and have hit a bit of a roadblock. For my war module I don't want the dependencies to go into WEB-INF/lib, with the exception of 2 of them, which do have to live in there (for reasons to do with Weblogic's class-loading) Now under M1 this was easy -

RE: M2 : Controlling WEB-INF/lib contents in war

2007-04-17 Thread Shute, James
Not sure I follow how profiles help here? My understanding was that they let you control different versions of the build, e.g. to target different runtimes / containers etc. I don't have any such requirement - I just want to build my ear file one way all the time. NB: Provided works for me

Re: M2 : Controlling WEB-INF/lib contents in war

2007-04-17 Thread Antonio Petrelli
2007/4/17, Shute, James [EMAIL PROTECTED]: An alternative approach I've tried is in the pom for the war to specify the dependencies again, but with a scope of provided, which does stop them being bundled in. However this is a bit of a hack as if I change the versions / add dependencies in

Re: maven-assembly-plugin: unpack false not supported correctly

2007-04-17 Thread Brad Szabo
I may be wrong, but try removing the outputFileNameMapping/outputFileNameMapping with unpack set to false. I think it will pick up the dependencies then. Good luck, Brad On Tue, 2007-04-17 at 15:35 +0200, Graham Leggett wrote: Hi all, While trying to build an assembly using 2.2-beta-1 of

Re: maven-resources-plugin

2007-04-17 Thread Wayne Fay
This isn't the way to configure additional test resources. You are looking for: http://maven.apache.org/guides/introduction/introduction-to-the-pom.html buildtestResources... Wayne On 4/17/07, Ben Tatham [EMAIL PROTECTED] wrote: I am pulling my hair out trying to add a testResources directory

Re: Error in maven-dependency:copy

2007-04-17 Thread Herve . CHANG
Here it is: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-dependency-plugin/artifactId version2.0-alpha-4/version configuration artifactItems artifactItem groupIdjunit/groupId

Re: Problem with maven-archetype-quickstart Reason: Unable to determine the release version

2007-04-17 Thread Thorsten Heit
Hi, [ERROR] BUILD ERROR [INFO] [INFO] Failed to resolve artifact. GroupId: org.apache.maven.archetypes ArtifactId: maven-archetype-quickstart

RE: Problem with database

2007-04-17 Thread Morgovsky, Alexander \(US - Glen Mills\)
I've had this issue. Try removing the build definition first from the project itself. Then try to removing the project again. Thanks. -Original Message- From: Mykel Alvis [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 17, 2007 12:12 PM To: [EMAIL PROTECTED] Subject: Problem with

Re: How to set class path in maven POM

2007-04-17 Thread Wayne Fay
Use properly declared dependencies and the classpath will be set automatically for you. This may involve installing some Eclipse libraries into your local repo using mvn install:install-file or using using scopesystem/scope for some artifacts. Wayne On 4/17/07, Ramesh Babu Pokala - TLS,

problem with dependency version ranges?

2007-04-17 Thread Davis Ford
Hi, I recently switched to 2.0.6 from 2.0.5. We use dependency version ranges in our jars, but today I am seeing a problem with them. mvn complains that it can no longer find the version range specified. Has anyone else seen this problem, and how to work around it? I have checked the our

Re: problem with dependency version ranges?

2007-04-17 Thread Davis Ford
Cleaning out the local repo resolves this problem. On 4/17/07, Davis Ford [EMAIL PROTECTED] wrote: Hi, I recently switched to 2.0.6 from 2.0.5. We use dependency version ranges in our jars, but today I am seeing a problem with them. mvn complains that it can no longer find the version range

Re: Problem with database

2007-04-17 Thread Mykel Alvis
I did. Unfortunately, you can't seem to remove a project definition that's currently building. On 4/17/07, Morgovsky, Alexander (US - Glen Mills) [EMAIL PROTECTED] wrote: I've had this issue. Try removing the build definition first from the project itself. Then try to removing the project

M2: Classpath reference in ant-based mojos?

2007-04-17 Thread Dave Syer
I have some issues trying to get an ant-based mojo to work (need access to a classpath ref in the ant script of the mojo - similar to http://www.nabble.com/-m2--Ant-driven-plugins-and-classpath-refid%27s-tf937983s177.html#a2429897). Anyone know how to do that? Are Ant Mojos still supported /

RE: M2 : Controlling WEB-INF/lib contents in war

2007-04-17 Thread Shute, James
I had already seen about scopes and my original mail did note that setting the scope to provided for a.jar and b.jar did give me the layout I wanted, but meant I had to duplicate all the dependencyversion details which I wasn't keen on. I have now found the dependencyManagement section I can

How to set class path in maven POM

2007-04-17 Thread Ramesh Babu Pokala - TLS, Chennai
Hi All, How to set all dependent jar files to the classpath in maven to compile the RCP Application? Thanks Regards Ramesh Babu.P HCL Technologies - Chennai ( +91-9884506300 ' +9144-23728366 Extn: 1232 * [EMAIL PROTECTED] mailto::[EMAIL PROTECTED] DISCLAIMER:

RE: Error in maven-dependency:copy

2007-04-17 Thread Brian E. Fox
It means it can't find the artifactsItems from the config. Can you post your pom (or at least the plugin part)? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 17, 2007 4:12 AM To: Maven Users List Subject: Re: Error in maven-dependency:copy

Problem with maven-archetype-quickstart Reason: Unable to determine the release version

2007-04-17 Thread venky4m
I am a newbie trying to run the first command in Chapter 2 from 'Better builds with Maven.pdf' book. When I run this command: mvn archetype:create -DgroupId=com.mycompany.app -DartifactId=my-app I get the following error : [INFO] Scanning for projects... [INFO] Searching repository for plugin

Plugin release schedules

2007-04-17 Thread Shute, James
Apologies if this question is answered in an FAQ somewhere but I can't for the life of me find it... Where should I look to see what the release schedule is for M2 plugins etc? I'm particularly interested in getting the 2.1 version of the Idea plugin as it'll have issue MIDEA-62 fixed. Given

Re: M2 : Controlling WEB-INF/lib contents in war

2007-04-17 Thread Antonio Petrelli
2007/4/17, Kathryn Huxtable [EMAIL PROTECTED]: He meant scope. -K No, no! I meant profile, but I misunderstood his needs. James, why using warSourceIncludes for your 2 special cases is not feasible? Do you mean that in the EAR there could be a previous version of a JAR than that in the WAR?

Re: M2 : Controlling WEB-INF/lib contents in war

2007-04-17 Thread Kathryn Huxtable
He meant scope. -K On 4/17/07 9:35 AM, Shute, James [EMAIL PROTECTED] wrote: Not sure I follow how profiles help here? My understanding was that they let you control different versions of the build, e.g. to target different runtimes / containers etc. I don't have any such requirement -

Re: surefire and junit 4 website out-of-date

2007-04-17 Thread Wendy Smoak
On 4/16/07, Adam Hardy [EMAIL PROTECTED] wrote: To whoever maintains the maven website: there's an out-of-date page on the FAQ for surefire http://maven.apache.org/plugins/maven-surefire-plugin/faq.html which should direct people to surefire-junit4. I misleadingly states that there is no

Re: Javadoc for dependent libraries in Netbeans...

2007-04-17 Thread Milos Kleint
hello, download javadocsources checks the remote repos for artifacts with -source or -javadoc classifiers and downloads them. The IDE then designates them as containing source/javadoc and they are sued for hyperlinking the sources or for code completion. However unfortunatelly most artifacts in

Javadoc for dependent libraries in Netbeans...

2007-04-17 Thread Styve Arne
Hi, I'm using the mevenide plugin to Netbeans from codehause. This works fine in most cases. However, when having added a dependency (by right-clicking on the Dependencies node of the project tree (in Projects view)), I can then right-click on the JAR I've included and get a menue saying

RE: Error in maven-dependency:copy

2007-04-17 Thread Brian E. Fox
Ok and this should work if you type mvn dependency:copy or mvn dependency:unpack. It's not bound to a phase in the pom so it won't run automatically. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 17, 2007 8:45 AM To: Maven Users List Subject:

Re: Cannot run changelog command

2007-04-17 Thread Pankaj Tandon
Just to bring this issue to closure.. This was happenning because I had not qualified my connection url by scm:svn: But for some reason the maven-release-plugin is not sensitive to this... so I was led to believe that the scm section was good. Pankaj Pankaj Tandon wrote: Hello I'm really

Re: M2 : Controlling WEB-INF/lib contents in war

2007-04-17 Thread Jerome Lacoste
On 4/17/07, Shute, James [EMAIL PROTECTED] wrote: The target layout I'm after is: ear | |-lib | |-a.jar | |-b.jar | |-webapp | |-WEB-INF |-web.xml |-lib |-c.jar I can't use warSourceExcludes as AFAIK excludes take precedence over james, I think you need to

branched modules and snapshots

2007-04-17 Thread EJ Ciramella
Say two branches are building the same module. Is there any harm in making both modules be 1.0-SNAPSHOT? I do realize this would require both modules to do a mvn install. I just don't want one build to use the other's 1.0-SNAPSHOT version (in essence, I couldn't run both builds on the same

RE: Maven 2 : eclipse.dependency ??

2007-04-17 Thread Jörg Schaible
Marouane Amraoui wrote on Tuesday, April 17, 2007 3:03 PM: Can you explain more ? i didn't undrestand 'you must generate the linked eclipse projects at once' ? -Message d'origine- De : Jörg Schaible [mailto:[EMAIL PROTECTED] Envoyé : mardi 17 avril 2007 06:27 À : Maven Users List

Problem with database

2007-04-17 Thread Mykel Alvis
I had a Maven 2 build in continuum that went rogue (for reasons totally outside of continuum's control, most likely). However, someone deleted the java process that was running and now I can't remove the project from continuum. It's not a blocker, since other projects will build, but it still

Re: Newbie Question: How do I represent my current Ant builds with Maven?

2007-04-17 Thread Danny MacMillan
Lacoste, Dana wrote: Once again, I'm far from the right person to provide should answers to this, but as I understand it, maven really wants one-pom:one-target:one-build-result-file ratios. As in a single directory should build exactly one thing. BUT I do this kind of thing in several

Re: I want a project that JUST does reporting and creates a site

2007-04-17 Thread Dave Syer
KenCoveny wrote: Is it possible to have a project that just reports and deploys to a site? I have three java projects that each require javadoc on preprocessed source files and using taglets. This is all done in an ant script, which I would like to run using the antrun plugin Yes. But

RE: Goal

2007-04-17 Thread Sommers, Elizabeth
try configuring the maven plugin (in vulcan) to run test site:site This works for us for the most part, but your tests will run more than once. -Original Message- From: Mario Roman [mailto:[EMAIL PROTECTED] Sent: Monday, April 16, 2007 1:46 PM To: users@maven.apache.org Subject: Goal

Re: Error in maven-dependency:copy

2007-04-17 Thread Herve Chang
Allright then, this is what i'm doing so far... If I type dependency:copy, I get this error: What's missing then ? [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'dependency'. [INFO]

versioning the generated EAR/WAR file.

2007-04-17 Thread Piyush Hari
Hi, I have created a maven project to build an EAR file. I want to version it. I have a few questions in this regard : 1) Is there a command line way of versioning it ? For ex : mvn install version=... ? 2) After versioning the file, how do I know the version of the EAR ? Does it get

Are there any predefined variables when filtering using the Assembly plugin?

2007-04-17 Thread Danny MacMillan
Hi, From what I've read, you can include stuff from your POM when filtering resources by doing something like ${pom.artifactId} -- is the same facility available when filtering files in the assembly plugin? It doesn't seem to work that way. What I want to do is put a filter in a batch file

Re: Missing dependencies if building from parent directory (maven 2.0.5)

2007-04-17 Thread Luciano Resende
I have found the solution for this issue, looks like there were some artifacts using different version element, and this was causing the problem. Having all artifacts with same version solved the build issues. Is this a BUG ? On 4/11/07, Luciano Resende [EMAIL PROTECTED] wrote: Even if I

Re: Cannot run changelog command

2007-04-17 Thread Kathryn Huxtable
Does the changelog plugin require a web-accessible scm? Mine is using svn+ssh... -K On 4/17/07 12:03 PM, Pankaj Tandon [EMAIL PROTECTED] wrote: Just to bring this issue to closure.. This was happenning because I had not qualified my connection url by scm:svn: But for some reason the

Re: Missing dependencies if building from parent directory (maven 2.0.5)

2007-04-17 Thread Raymond Feng
I think it's a feature for the reactor build which tries to use the same version of an artifact if the referenced artifact itself is part of the source tree in the same build. Thanks, Raymond - Original Message - From: Luciano Resende [EMAIL PROTECTED] To: Wayne Fay [EMAIL

RE: Error in maven-dependency:copy

2007-04-17 Thread Brian E. Fox
It must be something with the environment because I took your snippet, added it to a pom and ran with no trouble: Pom: project xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://maven.apache.org/POM/4.0.0

Newbie question: Building master projects with a single version number.

2007-04-17 Thread David C. Hicks
I've got a master project that contains a number of modules. I'd like to run the release:prepare goal on that master project and get the version number to filter down into the sub-projects. However, each sub-project must specify its parent, including a version number. When the release

Re: [m2] exec-maven-plugin fails because path containing spaces

2007-04-17 Thread Adrian Herscu
Good idea! Only problem is that antrun doesn't know about Ant 1.7... (and I need a specific feature of a specific task which is available only in Ant 1.7) franz see wrote: Good day, How about using the antrun plugin instead? ( see [1] ) Cheers, Franz [1]

versioning the generated EAR/WAR file.

2007-04-17 Thread Morgovsky, Alexander \(US - Glen Mills\)
I think specifying the version in the POM would do this using version, thanks. This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this

Re: [m2] exec-maven-plugin fails because path containing spaces

2007-04-17 Thread Jerome Lacoste
On 4/17/07, Adrian Herscu [EMAIL PROTECTED] wrote: Good idea! Only problem is that antrun doesn't know about Ant 1.7... (and I need a specific feature of a specific task which is available only in Ant 1.7) http://jira.codehaus.org/browse/MANTRUN-68 You can fix it yourself. You probably just

Keyword substitution in SVN via maven-release-plugin

2007-04-17 Thread Pankaj Tandon
Hello, When maven-release-plugin's prepare goal creates a release for me, it correctly modifies my dev pom, modifies my release(d) pom, and checks in the current HEAD version to a tag branch into SVN. What would be really great would be a way to substitute a keyword with the TAG (not the

org.mozilla.javascript repo?

2007-04-17 Thread mateamargo
I'm using a project that depends on org.mozilla.javascript, but I can't find any repository that holds it. Anyone knows where I can find it? Thanks, -- View this message in context: http://www.nabble.com/org.mozilla.javascript-repo--tf3597494s177.html#a10047509 Sent from the Maven - Users

[m2.0.6] why does my release complain about unreleased snapshots?

2007-04-17 Thread Dave Hoffer
I have upgraded to 2.0.6 (because that is what came with the upgrade of TeamCity(TC) 2.0) and releases fail because of non released dependencies. However I am not specifying the use of any SNAPSHOTS in my POM. Here is my POM entry for this dependency: dependency groupIdcom.xrite/groupId

RE: org.mozilla.javascript repo?

2007-04-17 Thread Chris Hilton
I think you're looking for the rhino:js artifacts. http://www.mvnrepository.com/artifact/rhino/js Chris -Original Message- From: mateamargo [mailto:[EMAIL PROTECTED] Sent: Tuesday, 17 April, 2007 15:52 To: users@maven.apache.org Subject: org.mozilla.javascript repo? I'm

Re: versioning the generated EAR/WAR file.

2007-04-17 Thread Alexander Sack
There is also no reason why you couldn't use a Manifest entry in the ear itself to tag it via the jar-plugin... -aps On 4/17/07, Morgovsky, Alexander (US - Glen Mills) [EMAIL PROTECTED] wrote: I think specifying the version in the POM would do this using version, thanks. This message

Re: Plugin release schedules

2007-04-17 Thread Dennis Lundberg
Hi James, I pinged the dev list about the IDEA plugin last week, to see if anyone had something more they wanted to add before a release. I'm planning to release 2.1 within the next couple of weeks. Shute, James wrote: Apologies if this question is answered in an FAQ somewhere but I can't

[M2] setting encoding in compiler plugin

2007-04-17 Thread Roberto UserList
Hi all! I've been trying to set the encoding in Maven compiler plugin, but, it seems not to recognize my configuration. I've tried many xml configuration, but, I think all of them are incorrect. Check it out! plugin groupIdorg.apache.maven.plugins/groupId

Re: Error in maven-dependency:copy

2007-04-17 Thread Herve Chang
Hi Brian, You're right. In fact, I made a mistake by using the plugin twice in my pom.xml (I've just seen the second usage at the completely bottom of the pom.xml...bad) I've corrected and now it works perfectly. Thanks for your help! Hervé E. Fox a écrit : It must be something with the

RE: org.mozilla.javascript repo?

2007-04-17 Thread mateamargo
Chris Hilton-2 wrote: I think you're looking for the rhino:js artifacts. http://www.mvnrepository.com/artifact/rhino/js Chris Well, not exactly. I have a pom with this dependency: dependency groupIdorg.mozilla.javascript/groupId

Re: Newbie question: Building master projects with a single version number.

2007-04-17 Thread Edwin Punzalan
No. When releasing from a parent pom along with its modules, the release plugin will also update the module parent versions to the correct parent version. Its a different scenario though if you're ONLY releasing the parent pom. In which case, you have to manually update the module projects to

Re: versioning the generated EAR/WAR file.

2007-04-17 Thread Piyush Hari
Alexander, Can you describe this more to me ? I am a new-bie ? Take Care, Piyush Alexander Sack wrote: There is also no reason why you couldn't use a Manifest entry in the ear itself to tag it via the jar-plugin... -aps On 4/17/07, Morgovsky, Alexander (US - Glen Mills) [EMAIL PROTECTED]

Getting releases automatically rsynched to central

2007-04-17 Thread mraible
I'd like to see about getting AppFuse releases automatically synched to Maven's central repo. How do I go about doing this. The FAQ[1] says ask this on dev@, but I was scared off by the big yellow banner[2] that said post questions to [EMAIL PROTECTED] ;-) I'm prepared to post releases to a

Problem building/installing an ejb project

2007-04-17 Thread Gonzalo Vásquez Sáez
I'm getting the following error: Error assembling EJB: META-INF/ejb-jar.xml is required for ejbVersion 2.x Attached is the ejb-jar.xml file that I'm using, which actually being deployed onto a WebSphere 6.0 works fine, but according to Maven and Xml Writer it's not valid (doesn't comply to the

Re: org.mozilla.javascript repo?

2007-04-17 Thread Wayne Fay
Where did this pom come from? I'd assume this artifact is served by another repo (not central) or requires manual installation (via mvn install:install-file) of the artifact. Wayne On 4/17/07, mateamargo [EMAIL PROTECTED] wrote: Chris Hilton-2 wrote: I think you're looking for the rhino:js

Re: Problem building/installing an ejb project

2007-04-17 Thread Wayne Fay
Without knowing anything more than you've told us, I'd assume the XSD is available at: http://java.sun.com/xml/ns/j2ee/ejb-jar_2_1.xsd And also I think you have most likely put this file in the wrong place in your project. It needs to be in /src/main/resources/META-INF. Maven will throw an error

Re: versioning the generated EAR/WAR file.

2007-04-17 Thread Alexander Sack
I'm having a bad bad day (though not Maven 2's fault!). Well you can definitely tag a jar file within your EAR with a version via the jar-plugin configuration using the manifestEntries tag like so: http://maven.apache.org/plugins/maven-jar-plugin/examples/manifest-customization.html For the

Re: how can i compile a multiple directories with pom.xml?

2007-04-17 Thread Baz
I am missing the point here. So can i use fay's suggestion: toplevel/pom.xml (modules a, b, c) toplevel/a/pom.xml (no dependencies) toplevel/b/pom.xml (depends on a) toplevel/c/pom.xml (depends on b) How can i implement toplevel/pom.xml? Thanks. A. On 4/12/07, franz see [EMAIL PROTECTED]

RE: how can i compile a multiple directories with pom.xml?

2007-04-17 Thread Lacoste, Dana
toplevel/pom.xml (modules a, b, c) contains modules modulea/module moduleb/module modulec/module /modules toplevel/a/pom.xml (no dependencies) no change toplevel/b/pom.xml (depends on a) contains a dependencies section with a dependency on what's produced in a toplevel/c/pom.xml

Re: Problem building/installing an ejb project

2007-04-17 Thread Gonzalo Vásquez Sáez
What other info can I provide you? I don't have that file locally, as I guess it's validated online, as most other tools do, doesn't maven does so? I've downloaded the XSD, and checked against it, but I'm can't seem to find the problem. Just in case the attachment didn't go in the previous

pass-in external variables to be used by POM

2007-04-17 Thread Piyush Hari
Hey, I have created a POM that includes the following tag for version : plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-ear-plugin/artifactId configuration archive manifestEntries

Re: Add files to site upload

2007-04-17 Thread Jerome Lacoste
On 4/6/07, Wim Deblauwe [EMAIL PROTECTED] wrote: Hi, I use the site:deploy plugin to upload my site, which works great. However, I now want to add some additional files to the site that are generated (by the webstart-maven-plugin). The only way that I can currently do that, is by letting those

  1   2   >