RE: Doubt about packaging using profiles

2009-11-13 Thread Exposito Aguilera, Francisco
(actually all files in the resources folder) end up in the output directory. /Anders On Fri, Nov 13, 2009 at 08:04, Exposito Aguilera, Francisco francisco.expos...@es.issworld.com wrote: My pom.xml file has two profiles which must delete and copy files in a place. If I want the war for production

RE: Doubt about packaging using profiles

2009-11-13 Thread Exposito Aguilera, Francisco
profiles Environment specific files should be read from the class path. Then keep them out of your bundle (ear for instance) and add them to the environment (app server for instance) in such a way that they end up on the classpath. /Anders On Fri, Nov 13, 2009 at 09:40, Exposito Aguilera, Francisco

Compile error in mvn package

2009-11-13 Thread Exposito Aguilera, Francisco
Hello, Every time I make a mvn clean and tghen an mvn package, I receive this error: [INFO] [compiler:compile] [INFO] Compiling 7 source files to C:\Workspaces\ISSExtranet\ExtranetFrontEnd\target\classes [ERROR] Mojo: org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile FAILED

Doubt about packaging using profiles

2009-11-12 Thread Exposito Aguilera, Francisco
My pom.xml file has two profiles which must delete and copy files in a place. If I want the war for production, I need the log4j_prod.xml and if I want the war for test I need the log4j.xml file. I show the test profile: profiles profile idtest/id build resources /resources filters

RE: Doubt about how create archetype

2009-11-10 Thread Exposito Aguilera, Francisco
. In that directory you will find the src/main/resources/META-INT/maven/archetype-metadata.xml file that describe your archetype. Hope this helps. Regards, Raphaël 2009/11/10 Exposito Aguilera, Francisco francisco.expos...@es.issworld.com Any help please? -Mensaje original- De: Exposito Aguilera

RE: Doubt about how create archetype

2009-11-09 Thread Exposito Aguilera, Francisco
Any help please? -Mensaje original- De: Exposito Aguilera, Francisco Enviado el: viernes, 06 de noviembre de 2009 12:54 Para: 'Maven Users List' Asunto: Doubt about how create archetype I am trying to create an archetype with this structure: ProjectName src/main/java

Maven Configuration in Eclipse

2009-11-04 Thread Exposito Aguilera, Francisco
Hello, I have a Maven installed in a linux Server and there is the local repository. Then I have my Eclipse in a Windows system. How can I configure m2eclipse in order to search inside the linux repository? Thanks a lot. -

RE: Maven Configuration in Eclipse

2009-11-04 Thread Exposito Aguilera, Francisco
/maven/2//url /repository Adapt basing on your environment. Regards, Valentin Jacquemin On Wed, Nov 4, 2009 at 10:28 AM, Exposito Aguilera, Francisco francisco.expos...@es.issworld.com wrote: Hello, I have a Maven installed in a linux Server and there is the local repository. Then I have my

RE: Maven Configuration in Eclipse

2009-11-04 Thread Exposito Aguilera, Francisco
: miércoles, 04 de noviembre de 2009 11:40 Para: Maven Users List Asunto: Re: Maven Configuration in Eclipse Have you tried configuring mirror to user's settings.xml - http://maven.apache.org/settings.html#Mirrors On Wed, Nov 4, 2009 at 12:02 PM, Exposito Aguilera, Francisco francisco.expos

RE: Maven Configuration in Eclipse

2009-11-04 Thread Exposito Aguilera, Francisco
Configuration in Eclipse Hi, fist you have to understand that you cannot really share the settings.xml. All you can do is, that you provide a template that can be copied by the users and should be stored in the default location userhome/.m2/. Exposito Aguilera, Francisco wrote at Mittwoch, 4

RE: Maven Configuration in Eclipse

2009-11-04 Thread Exposito Aguilera, Francisco
is to use Archiva, but I like too much from Nexus that I can search in all remote repositories if I activate Download Remote Indexes. And I haven't found this option in Archiva... Thanks in advance. -Mensaje original- De: Exposito Aguilera, Francisco Enviado el: miércoles, 04 de

Configuring repositories with Maven, Eclipse and Nexus

2009-11-03 Thread Exposito Aguilera, Francisco
Hello, I want to configure Maven, Eclipse and Nexus, but I am doing something wrong. 1) I have Eclipse 3.5 2) I've installed Maven 2.2.1 and configured a local repository in settings.xml: localRepositoryC:\Archivos de programa\Apache Software Foundation\iss-maven-repository/localRepository 3)