AW: Using Ivy repository in Maven

2009-10-30 Thread Entner Harald
Hi sandarenu, it depends. If the jars are available in a public repository, the only thing you have to do is to define them as dependencies in your pom. Try http://mvnrepository.com/ as a start. There are more repositories available though. . If you want to upload your files manually you can

Re: tracking down jetty/tomcat dependencies

2009-10-30 Thread Benson Margulies
I wrote it up on the mojo user list once I got a clearer picture, but here goes again. The code calls DocumentBuilderFactory and SchemaFactory to parse an XML file to DOM with schema validation. Run in the plugins, it fails with an impossible validation error (a claim that a valid attribute is

snapshots resolution, metadata and classifier

2009-10-30 Thread Julien CARSIQUE
Hello, We encounter a new issue with snapshots resolution on Maven 2.0.10 (for now, we cannot migrate to 2.1 or 2.2) Some of our modules may generate various builds depending on the active profiles. We distinguish those builds with classifiers but those various builds are not (and cannot)

Reading properties file in pom

2009-10-30 Thread Mr Debasis
Hi All, I want to read property file values in pom file.like what we can read in ant.like below property file=application.properties/ property name=app.name value=${app.name}/ I know this i can achieve by using maven-antrun plugin.its true.also i tried but that

Re: Reading properties file in pom

2009-10-30 Thread Anders Hammar
You use filtering to substitute property references in (resource) files during the build process. It's the maven resource plugin that support filtering to do that. Regarding reading properties from a file, the exact same question was asked a week or two ago. If you search Nabble or similar you'll

Re: zipping the outputDirectory using Assembly plugin

2009-10-30 Thread David Weintraub
I had a similar issue. The easiest way to do this is with the antrun plugin. This will allow you to zip up these files before Maven does the package stage. On Mon, Oct 26, 2009 at 6:57 AM, singh_rajeev singhrajee...@gmail.comwrote: Hi I've the following lines of code in my assembly.xml

Re: snapshots resolution, metadata and classifier

2009-10-30 Thread Julien CARSIQUE
Fixed with uniqueVersionfalse/uniqueVersion in distributionManagement tag. I hope we won't have new issues because of this (non updated artifacts, ...). Thanks Julien CARSIQUE a écrit : Hello, We encounter a new issue with snapshots resolution on Maven 2.0.10 (for now, we cannot migrate to

create different package

2009-10-30 Thread jecs
I have a java project with maven and need create with the sources three different package, these package can have different file of configuration, I'm working with profiles but only can create one package, is possible create other packages. for example local

Jar with jar dependencies

2009-10-30 Thread DANIEL DE OLIVEIRA FERREIRA
Hi, I'm using maven-assembly-plugin with jar-with-dependencies descriptor, but I need create a jar with dependencies where the dependencies don't be uncompressed when packed. Any idea? Daniel de Oliveira Ferreira Programador Farmácias Pague Menos danielolive...@pmenos.com.br +55 85 3255.5453

Re: Jar with jar dependencies

2009-10-30 Thread DANIEL DE OLIVEIRA FERREIRA
Ok, I solved this problem change unpack/ to false. Daniel de Oliveira Ferreira Programador Farmácias Pague Menos danielolive...@pmenos.com.br +55 85 3255.5453 www.paguemenos.com.br Em Sex, 2009-10-30 às 13:26 -0300, DANIEL DE OLIVEIRA FERREIRA escreveu: Hi, I'm using maven-assembly-plugin

Re: maven xmlbeans problem

2009-10-30 Thread EDH
edh wrote: What if I have one module that contains xsd's that are included in other xsd's which are part of other modules ? E.g. myapp pom.xml domainx\src\main\xsd\domain.xsd pom.xml (type.jar) service1 service1\src\main\xsd\service1.xsd pom.xml (type.jar service2

artifacts associated with a WAR

2009-10-30 Thread huser
Hi, We use Maven WAR plugin for generating WAR. Is there a way to see the artifacts associated with a WAR. I know that we can see useful info using mvn help:effective-pom on the source code. But how can I see the same on a WAR file ? We deploy the WARS to nexus. TIA, -- View this message in

Re: artifacts associated with a WAR

2009-10-30 Thread Wayne Fay
I know that we can see useful info using mvn help:effective-pom on the source code. But how can I see the same on a WAR file ? We deploy the WARS to nexus. What (specific) information about the WAR file do you want to see which is not already being shown via help:effective-pom? Wayne

Re: artifacts associated with a WAR

2009-10-30 Thread huser
mvn help:effective-pom shows the outout in the project POM.xml and the source tree. I want to see the same information on a WAR/EAR/JAR/ZIP file. TIA, Wayne Fay wrote: I know that we can see useful info using mvn help:effective-pom on the source code. But how can I see the same on a WAR

Re: artifacts associated with a WAR

2009-10-30 Thread Wayne Fay
mvn help:effective-pom shows the outout in the project POM.xml and the source tree. I want to see the same information on a WAR/EAR/JAR/ZIP file. Java simply does not support what you're asking for out of the box (thus Maven was created). Artifacts built with Maven include a pom.xml file

[ANN] Versions Maven Plugin 1.1 released

2009-10-30 Thread Stephen Connolly
he Mojo team is pleased to announce the release of the Versions Maven Plugin, version 1.1. The Versions Plugin has the following goals. * versions:display-dependency-updates scans a project's dependencies and produces a report of those dependencies which have newer versions available. *

Some maven questions

2009-10-30 Thread Sony Antony
Im fairly new to maven. Tried getting answers to these from books and google. Trying my luch here 1. can I add more custom phases to the 23 already defined ( http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html#Lifecycle_Reference ) ( - I read that phases are already

Some more maven questions

2009-10-30 Thread Sony Antony
1. Is it possible to have multiple profiles to be active at the same time ? If true, what if two profiles - both active - define conflicting informations ( say the same plugin is configured differently ) 2. When is teh decision to activate a profiletaken . Before teh very first phase is begun ? (

Re: Some maven questions

2009-10-30 Thread Wendy Smoak
On Fri, Oct 30, 2009 at 3:29 PM, Sony Antony sony.ant...@gmail.com wrote: Im fairly new to maven. Tried getting answers to these from books and google. Trying my luch here You'll probably get better answers if you start a separate thread with a descriptive subject for each of your questions.