Warnings and bugs

2008-05-28 Thread Peter Nabbefeld
Hello, I'm trying to use Maven with NetBeans, getting the following messages: Scanning for projects... project-execute Attempting to resolve a version for plugin: org.apache.maven.plugins:maven-project-info-reports-plugin using meta-version: LATEST Using version: 2.0.1 of plugin:

Re: Warnings and bugs

2008-05-28 Thread Milos Kleint
mojo is a maven plugin i think. The warning and messages are issued by maven embedder 2.1-SNAPSHOT as a sort of deprecation warnings (for 2.1) however they still should work fine. if not I would consider it a bug in maven. the netbeans integration needs to use the embedder version 2.1-SNAPSHOT as

Re: Question about Maven, Eclipse WTP and war overlay

2008-05-28 Thread Arnaud HERITIER
Nobody ?? I'm also interested by this thread. Arnaud On Thu, May 22, 2008 at 10:55 PM, Lorenzo Arcaini [EMAIL PROTECTED] wrote: Hello everyone, I have multiple maven projects sharing some code via a war overlay and would like to use WTP in Eclipse to deploy my webapps and benefit from the

Re: Question about Maven, Eclipse WTP and war overlay

2008-05-28 Thread Siarhei Dudzin
Not sure WTP itself supports this... If I needed to share classes I would most likely store shared code in a jar-packaged module and define it as a dependency (but that's a no brainer I guess). As for resources you could use another project and use dependency plugin to get the resources to get

Re: [m2eclipse-user] Re: Question about Maven, Eclipse WTP and war overlay

2008-05-28 Thread Bouiaw
Hi, An issue exists for supporting war overlays : http://jira.codehaus.org/browse/MNGECLIPSE-597 Please vote for this issue. On Wed, May 28, 2008 at 10:06 AM, Arnaud HERITIER [EMAIL PROTECTED] wrote: Nobody ?? I'm also interested by this thread. Arnaud On Thu, May 22, 2008 at 10:55 PM,

Re: Axis2 and Maven2

2008-05-28 Thread Olivier Lamy
Hi, This looks a more an axis ml question. But just note axis1 != axis2. And you have a mojo [1] which can help you with axis1. -- Olivier [1] http://mojo.codehaus.org/axistools-maven-plugin/ 2008/5/28 Karl Heinz Marbaise [EMAIL PROTECTED]: Hello, i have a pom which defines a phase to create

Axis2 and Maven2

2008-05-28 Thread Karl Heinz Marbaise
Hello, i have a pom which defines a phase to create an WSDL from Java code... The following part in my POM i have added to have the PlugIn: plugin groupIdorg.apache.axis2.maven2/groupId artifactIdaxis2-java2wsdl-maven-plugin/artifactId

Re: How to enable profile defined in settings from pom ?

2008-05-28 Thread Bouiaw
profile idp1/id activation property nameenv/name valuexyz/value /property /activation properties propnamepropvalue/propname /properties /profile On Wed, May 28, 2008 at 11:51 AM, spyder71 [EMAIL

Ваше письмо удалено за спам

2008-05-28 Thread help
Здравствуйте! Ваше письмо принято за спам и удалено. Если вы считаете это ошибкой, то позвоните пожалуйста по телефону +7(812)578-09-03 в службу поддержки. ===Вашего письмо=== Return-Path: [EMAIL PROTECTED] Received: from [EMAIL PROTECTED] by inc.ru (CommuniGate Pro RULES 4.1.8)

Re: [m2eclipse-user] Re: Question about Maven, Eclipse WTP and war overlay

2008-05-28 Thread Rémy Sanlaville
An issue exists for supporting war overlays : http://jira.codehaus.org/browse/MNGECLIPSE-597 Please vote for this issue. Done ! In fact, this feature is important and it's not just for war overlay but also for filtering... Rémy

How to enable profile defined in settings from pom ?

2008-05-28 Thread spyder71
Hi, I have a profile defined in the settings.xml (not actived by default). I would like to have it enabled when a variable is defined a pom.xml ? How can i do ? I tried this, but it does not work : (settings.xml) : profile idp1/id activation property

Re: Ваше письмо удалено за спам

2008-05-28 Thread Marat Radchenko
muahaha :) they've said we are spammers On 5/28/08, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Здравствуйте! Ваше письмо принято за спам и удалено. Если вы считаете это ошибкой, то позвоните пожалуйста по телефону +7(812)578-09-03 в службу поддержки. ===Вашего письмо===

RE: Axis2 and Maven2

2008-05-28 Thread Hayes, Peter
I use the following dependencies with axis 2: dependency groupIdorg.apache.axis2/groupId artifactIdaxis2-jaxws/artifactId version1.4/version /dependency dependency

Re: How to enable profile defined in settings from pom ?

2008-05-28 Thread spyder71
Sorry, but i d ont understand. Maybe i was not clear. What i have is a settings.xml file with 2 profiles : profiles profile idrep1/id activation property namerep/name valuerep1/value /property /activation

Ваше письмо удалено за спам

2008-05-28 Thread help
Здравствуйте! Ваше письмо принято за спам и удалено. Если вы считаете это ошибкой, то позвоните пожалуйста по телефону +7(812)578-09-03 в службу поддержки. ===Вашего письмо=== Return-Path: [EMAIL PROTECTED] Received: from [EMAIL PROTECTED] by inc.ru (CommuniGate Pro RULES 4.1.8)

Re: Archetype:create broken?

2008-05-28 Thread Marc Schneider
Hi, And what about using mvn archetype:generate instead of create ? create goal is deprecated as far as I know. Marc. nodje a écrit : What's with the archetype:create? I suddenly get this error when trying to create a new project: mvn archetype:create -DgroupId=com.company.commons

Exclude central repository

2008-05-28 Thread Schneiders, Bernd
Hi, I've set up an internal repository with Artifactory. Everything is working fine. After modifying the settings.xml, only the internal Artifactory repository is listed there (repositoriesrepository...) But if I build my project, Maven is still downloading dependencies from repo1.maven.org.

Re: Exclude central repository

2008-05-28 Thread [EMAIL PROTECTED]
Schneiders, Bernd schrieb: Hi, I've set up an internal repository with Artifactory. Everything is working fine. After modifying the settings.xml, only the internal Artifactory repository is listed there (repositoriesrepository...) But if I build my project, Maven is still downloading

Re: Archetype:create broken?

2008-05-28 Thread nodje
Sorry didn't pay attention to that. But the result is exactly the same with generate anyway. Looks like you don't have the problem, so it's probably a local config problem. How could that possibly happen? Marc SCHNEIDER-5 wrote: Hi, And what about using mvn archetype:generate instead of

RE: Exclude central repository

2008-05-28 Thread Schneiders, Bernd
Hi, I've set up an internal repository with Artifactory. Everything is working fine. After modifying the settings.xml, only the internal Artifactory repository is listed there (repositoriesrepository...) But if I build my project, Maven is still downloading dependencies from

Re: Question about Maven, Eclipse WTP and war overlay

2008-05-28 Thread Mark Struberg
Hi Arnaud, Lorenzo! I'm not sure if the way I solved this problem actually works for you, but maybe we can share some ideas. 1. I use a patched maven-war-plugin as described in http://jira.codehaus.org/browse/MWAR-73 I use the 'archive-classes' feature to treat the jared class files as

RE: Can you build native lib and Jar with a single pom.xml?

2008-05-28 Thread Brian E. Fox
Normally you would separate out the piece that is depended on in two places to a separate module to break the circle. -Original Message- From: Dave Rathnow [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 27, 2008 11:27 AM To: Maven Users List Subject: RE: Can you build native lib and Jar

RE: Maven Unplugged (no network access)

2008-05-28 Thread Brian E. Fox
This won't work because your local repo does not contain all the same data that a remote repo does. That's why I suggested using Nexus to proxy the actual data from the remote...but only the data you need not a mirror of the whole 16gb Central repo. -Original Message- From: Andreas Guther

RE: Maven Unplugged (no network access)

2008-05-28 Thread Brian E. Fox
Then simply run a webserver that points at the files that the maven proxy has downloaded. That webserver will now act as a read-only copy of *just the part of the maven repository that you need*. As was noted, there is not much point in using a maven proxy to serve these read-only files once

RE: Upgrading Maven 2.0.5 - 2.0.9

2008-05-28 Thread Michael Delaney
Brian, Sure ... please see the text below. [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'dependency'. [INFO] [INFO] Building Content Administrator APP [INFO]

Re: Surefire Property Filtering

2008-05-28 Thread Tom Purcell
Never mind, This was my bad The file I was filtering looked like: jdbc:oracle:thin:@${wile.asset.jdbc.hostname}:${wile.asset.jdbc.port}:${wile.asset.jdbc.sid} Notice the quotes. Removed them and it worked. Arghh! Thanks Tom Tom Purcell wrote: Hello We want to be able to filter

Re: Upgrading Maven 2.0.5 - 2.0.9

2008-05-28 Thread [EMAIL PROTECTED]
I don't see any errors here. What errors do you mean? There are a few libs you have a dependency on but don't appear to be using. So you could reduce the size of your app by getting rid of these (as long as you aren't using Class.forName or META-INF/services or similar to load them by reflection,

RE: Upgrading Maven 2.0.5 - 2.0.9

2008-05-28 Thread Michael Delaney
I was basing my findings on the output where Maven stated Potential problems discovered. Is Maven just referring to the Used undeclared dependencies and Unused declared dependencies sections? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 28,

Re: Maven in Netbeans

2008-05-28 Thread Daniele De Francesco
Hi, You must have a running maven 2 installation from the cmd, which generally means setting the env vars JAVA_HOME, M2_HOME,PATH JAVA_HOME=/path/to/your/java/inst (which u should have set yet) M2_HOME=/path/to/your/m2/inst PATH=%PATH%;%JAVA_HOME%\bin;%JAVA_HOME%\bin;%M2_HOME%\bin but how do i

Re: Maven in Netbeans

2008-05-28 Thread Daniele De Francesco
Hi, Sorry, I just told you the cmd m2 call...not the NB, so sorry... In order to build m2 projects on NB exists a plugin from update site (Maven 2 Integration), that allows to create m2 projects New---ProjectMaven etc Done this you simply right-click on the project icon, click the

Unit test errors on WinXP vs Server2003

2008-05-28 Thread SKrepkovich
Hi all - I have some development machines that are WinXP and a main build machine that is Windows Server 2003, all running Maven 2.0.8. Some other details: maven-surefire-plugin 2.4.2; junit 3.8.2 (would like to move to Junit4, but this is another question) The problem I am running in to is

Classifier for deployed JARs

2008-05-28 Thread SKrepkovich
I've been searching the forums for an answer to this, but haven't found anything concrete... I want to build deploy a JAR (mvn deploy) and include a classifier (preferably using -Dclassifier=something) such that the resulting filename is something like: plugin.name-1.0.0-20080528-123456-01

Re: Upgrading Maven 2.0.5 - 2.0.9

2008-05-28 Thread Brian Fox
There appear to be no mismatches in the depmgt section, which is the part of the tool focused on the 2.0.5 upgrade. There are some other dependency issues you can deal with separately..there is an explaination in chapter 8: http://www.sonatype.com/book Sent from my iPhone On May 28, 2008,

Re: Upgrading Maven 2.0.5 - 2.0.9

2008-05-28 Thread Brian Fox
Yes, the other part is clean Sent from my iPhone On May 28, 2008, at 11:22 AM, Michael Delaney [EMAIL PROTECTED] wrote: I was basing my findings on the output where Maven stated Potential problems discovered. Is Maven just referring to the Used undeclared dependencies and Unused declared

customizing the generated maven's site

2008-05-28 Thread Mohammed ELBEIED
Hi all, there's a way for customizing the web site genereted by mvn site command, i mean a way to refering an CSS in th POM and related pics, otherwise how we can managing the decoration in maven thanks in advance Best regards M.E

Re: Classifier for deployed JARs

2008-05-28 Thread Wendy Smoak
On Wed, May 28, 2008 at 9:32 AM, SKrepkovich [EMAIL PROTECTED] wrote: I can set the classifier tag in the POM, but then the deploy phase creates 2 files, one with and one without the classifier, and I have to edit the POM to change this - I'd rather do it from the command line since I have

Re: customizing the generated maven's site

2008-05-28 Thread RedBugz Software
On Wed, May 28, 2008 at 10:42 AM, Mohammed ELBEIED [EMAIL PROTECTED] wrote: Hi all, there's a way for customizing the web site genereted by mvn site command, i mean a way to refering an CSS in th POM and related pics, otherwise how we can managing the decoration in maven

RE: Archiva + Tomcat 6.0

2008-05-28 Thread EJ Ciramella
One outstanding question - is this or is this not the place to ask archiva questions? I see no other mailing list associated with archiva... -Original Message- From: EJ Ciramella [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 27, 2008 6:46 PM To: Maven Users List Subject: RE: Archiva +

Tools to help analyze to see if multiple versions of artifacts is a problem

2008-05-28 Thread Marshall Schor
I recently deleted my local maven repository, and ran a build of one of my projects. In looking into what got downloaded by maven into the local repository, I found many cases were multiple versions of the same artifact were downloaded. This may represent an issue, or not. Is there any

Re: Tools to help analyze to see if multiple versions of artifacts is a problem

2008-05-28 Thread simon
On Wed, 2008-05-28 at 16:44 -0400, Marshall Schor wrote: I recently deleted my local maven repository, and ran a build of one of my projects. In looking into what got downloaded by maven into the local repository, I found many cases were multiple versions of the same artifact were

Re: Archiva + Tomcat 6.0

2008-05-28 Thread Brett Porter
2008/5/29 EJ Ciramella [EMAIL PROTECTED]: One outstanding question - is this or is this not the place to ask archiva questions? I see no other mailing list associated with archiva... http://archiva.apache.org/mail-lists.html -Original Message- From: EJ Ciramella [mailto:[EMAIL

When will Maven 2.1 Beta be released?

2008-05-28 Thread harinair
Hi All - I would like to know when the Maven 2.1 Beta will be released. Can anyone tell me? Another thing is: I am writing a plugin that will modify the contents of the WAR file. At the present time 2.0.x does not support prepare-package lifecycle and it becomes very difficult for my plugin to

Re: Ваше письмо удалено за спам

2008-05-28 Thread Martin
Could you translate to English ..not everyone on this list speaks russian спасибо! - Original Message - From: Marat Radchenko [EMAIL PROTECTED] To: Maven Users List users@maven.apache.org; [EMAIL PROTECTED] Sent: Wednesday, May 28, 2008 5:53 AM Subject: Re: Ваше письмо удалено за спам

Copying Artifacts

2008-05-28 Thread Chris_Graham
Hi All. I would like to copy the produced artifact of the package step (in this case an ear file) to a remote unix server. How do I do this? In this case I need to copy the ear file to a remote unix machine (under ant I used pscp from the putty suite) for deployment.

Multi Module Projects - manifest question

2008-05-28 Thread Chris_Graham
Hi, I have a multi module ear project. One of the modules is a standard jar (just a resource jar with no dependencies of it's own). One of the other modules is a war file. How do I get the manifest file of the war file to reference the (utility) jar in that is

Forcing site plugin version

2008-05-28 Thread CDickson
I am using Maven 2.0.9 and am running into the bug detailed here: http://jira.codehaus.org/browse/MSITE-211 Currently by default it seems to be using 2.0-beta-6 of the site plugin. According to the bug report the bug is fixed in 2.0-beta-7. How do I force Maven to use 2.0-beta-7 of this plugin?