Re: maven filter and UTF-8

2006-11-28 Thread Andrius Šabanas
jan_bar wrote: Hi, It seems to me that maven 2.0.4 filter corrupts UTF-8 files. I have a XML file with UTF-8 encoding that doesn't contain any replacement strings, but it is filtered. The resulting file is not the same as source file, UTF-8 characters are wrong. Why maven modifies the file? I

Re: Committer name in build report

2006-11-28 Thread Ronald Pieterse
I do have english output and all developers are defined in the pom so I don't really know what's going on. I am using CVS. Nothing strange in the logs either... Emmanuel Venisse wrote: Normally, the scm output parser in clearcase maven-scm provider works fine, but maybe the output in different

RE: How to do native2ascii?

2006-11-28 Thread jiangshachina
Hello, I think I really used a wrong work flow. I switch to the scripts as shown as the following, executions execution idcompile/id phasegenerate-resources/phase configuration tasks

Re: mavenrun plugin?

2006-11-28 Thread Aleksei Valikov
Hi You might want to checkout the maven-invoker-plugin. It's SVN at: http://svn.apache.org/repos/asf/maven/sandbox/plugins/maven-invoker-plugin and IIRC has a snapshot deployed to the snapshot repository: pluginRepositories pluginRepository idapache.snapshots/id

Re: ejb-jar.xml erroneously generated by EjbDoclet ?

2006-11-28 Thread Stephen Coy
Hi, Your ejbDoclet setup has a bit of an identity crisis. You've specified ejbSpec=2.1 in one place and a deployment descriptor schema pointing at http://java.sun.com/dtd/ejb-jar_2_0.dtd. So, there's a couple of things wrong here, and the correct solution depends upon which version of

servlet-api-2.5-6.0.0beta12.jar

2006-11-28 Thread alexsil
From this morning, when I try to run mvn install, maven try to update plugins from central repository but when arrived to servlet-api-2.5-6.0.0beta12.jar fails with the follow error: [INFO] [INFO] Building QWEB [INFO]

Prevent deploy of artifacts

2006-11-28 Thread Avegaart, Menno
Hi, I have a multi-module build with goals 'clean deploy site-deploy'. This will deploy ALL modules to my repository, but I only want my EAR module to be deployed. How do I stop the other modules from being deployed to the repository ? Thanks, M.

Seeking advice on multimodule build with JBoss archive formats

2006-11-28 Thread Erich Oswald
Hi, I've been trying to switch an existing build process from ant to maven to become more familiar with maven. The project's final artifact is an EAR that includes several other archives, which is why I went for a multi-module setup where each archive is inside its own module. Basically

[m2] eclipse:eclipse downloadSources

2006-11-28 Thread Mark Hobson
Hi there, Is there any distinction between the downloadSources and eclipseDownloadSources config params? The doc doesn't seem to make it too clear: http://maven.apache.org/plugins/maven-eclipse-plugin/eclipse-mojo.html Also, the doc mentions avoiding repeated checks for source jars by using a

Re: servlet-api-2.5-6.0.0beta12.jar

2006-11-28 Thread alexsil
Resolved, internal problem. Sorry alexsil wrote: From this morning, when I try to run mvn install, maven try to update plugins from central repository but when arrived to servlet-api-2.5-6.0.0beta12.jar fails with the follow error: [INFO]

RE: Proxy vs. Repository URLs

2006-11-28 Thread Peter . Pilgrim
-Original Message- From: Joakim Erdfelt [mailto:[EMAIL PROTECTED] Sent: 27 November 2006 13:32 To: archiva-users@maven.apache.org Subject: Re: Proxy vs. Repository URLs URL Name was introduced to make the repository snippets make sense. consider the following repository

Re: multiple artefacts for a project?

2006-11-28 Thread Nathan Coast
Hi Tom, thanks for your reply, from your hint I've made some good progress: plugin groupIdorg.codehaus.mojo/groupId artifactIdbuild-helper-maven-plugin/artifactId executions execution idattach-artifacts/id phasepackage/phase

Re: Admin user doesn't have admin rights.

2006-11-28 Thread Max Bowsher
Max Bowsher wrote: I'm doing a clean 'mvn install cvs archiva-webapp mvn jetty:run'. Archiva as expected allows me to create an admin user, but having logged in with this admin user, it is as if the 'admin' user does not actually have admin rights! I've seen this on two different computers

Re: multiple artefacts for a project?

2006-11-28 Thread Mark Struberg
If you like to have multiple files packed together in a zip and the zip should be handled as attached artifact, you may also use the maven-assembly-plugin. lg, strub --- Nathan Coast [EMAIL PROTECTED] schrieb: Hi Tom, thanks for your reply, from your hint I've made some good progress:

Problem with deploy

2006-11-28 Thread Urbieta Matias
Hi, i have some troubles with maven infrastructure. i have two machines, one is a deployment's machine and the other is an develop machine. With the last one, we develop maven plugins used in deployments so we have to publish those plugins in a way that the deployment machine can use them. i have

Maven 2 and Axis 1.2

2006-11-28 Thread Rémy Sanlaville
I would like to use Maven 2 for a Web Service project using Axis 1.2. It seems that : - either the Maven plugin for Axis 1.x is for Maven 1 cf. http://maven-plugins.sourceforge.net/maven-axis-plugin/index.html - or the Maven 2 plugins are for Axis 2 1.1 cf.

Re: Maven 2 and Axis 1.2

2006-11-28 Thread Raphaël Piéroni
you can found an axistools maven plugin on codehaus (mojo.codehaus.org) Raphaël 2006/11/28, Rémy Sanlaville [EMAIL PROTECTED]: I would like to use Maven 2 for a Web Service project using Axis 1.2. It seems that : - either the Maven plugin for Axis 1.x is for Maven 1 cf.

surefire-junit-2.1.jar

2006-11-28 Thread Timo Wolf
Hi All, I want to use junit TestSuites in the surefire plugin. I found a bug http://jira.codehaus.org/browse/MSUREFIRE-113 that says that the usage depends on surefire-junit-2.1-SNAPSHOT.jar Is there any plan to release surefire-junit-2.1.jar and include it in the surefire plugin? Thanks Timo

RE: servlet-api-2.5-6.0.0beta12.jar

2006-11-28 Thread Peter . Pilgrim
-Original Message- From: alexsil [mailto:[EMAIL PROTECTED] Sent: 28 November 2006 10:54 To: users@maven.apache.org Subject: servlet-api-2.5-6.0.0beta12.jar From this morning, when I try to run mvn install, maven try to update plugins from central repository but when

RE: surefire-junit-2.1.jar

2006-11-28 Thread Avegaart, Menno
You can just use the surefire-junit-2.1-SNAPSHOT plugin by specifying it as a dependency. You will also need to setup access to the snapshot repository: http://maven.apache.org/guides/development/guide-plugin-snapshot-repositories.html

Re: surefire-junit-2.1.jar

2006-11-28 Thread Timo Wolf
Thanks, The guide tells me to configure the settings.xml file ans use profiles. I don't want this. is there a way to add the snapshot repository to the pom? I added the following but it did not use the repository Cheers, Timo pluginRepositories pluginRepository

Re: multiple artefacts for a project?

2006-11-28 Thread Nathan Coast
Tom came back with the answer... there's a classifier node in pom dependencies that does exactly what I needed. The additional artefact is specified by build-helper-maven-plugin: plugin groupIdorg.codehaus.mojo/groupId artifactIdbuild-helper-maven-plugin/artifactId

RE: surefire-junit-2.1.jar

2006-11-28 Thread Avegaart, Menno
You don't need to use profiles. Just add the pluginRepositories section to your pom (as you already did). Secondly, you'll need to add a dependency to surefire-junit-2.1-SNAPSHOT (otherwise surefire-junit-2.0 will be used).

Re: surefire-junit-2.1.jar

2006-11-28 Thread Urbieta Matias
I have done, each of those steps but finally maven outputs the following lines: [INFO] Scanning for projects... [DEBUG] Skipping disabled repository internalSnapshot [INFO] artifact casino.plugins:maven-jpf-plugin: checking for updates from central [DEBUG] repository metadata for: 'artifact

Assembly and multi-module project

2006-11-28 Thread Julien HENRY
Hi, I have a multi-module project: pom.xml \_moduleA \_moduleB \_moduleC I want to create a release package with the following content: -- moduleA.jar moduleC.jar lib/moduleAdependency1.jar ... lib/moduleAdependencyN.jar lib/moduleCdependency1.jar ...

compile works only on commandline not within eclipse

2006-11-28 Thread Brigitte . Ilsanker
Folks, my projects build fine when starting maven from command line. When I try to use the maven-eclipse plugin and start the build within eclipse, I get the following error: Diagnosis: Compilation failure FATAL ERROR: Error executing Maven for a project org.apache.maven.BuildFailureException:

Re: surefire-junit-2.1.jar

2006-11-28 Thread Timo Wolf
Do I have to put the dependency to the main dependency list or to the buildpluginsplugindependencies...? On Nov 28, 2006, at 3:21 PM, Avegaart, Menno wrote: You don't need to use profiles. Just add the pluginRepositories section to your pom (as you already did). Secondly, you'll need to

RE: surefire-junit-2.1.jar

2006-11-28 Thread Avegaart, Menno
The http://people.apache.org/repo/m2-snapshot-repository/ plugin repository you've added only contains snapshot releases of maven2 plugins that have groupId org.apache.maven.plugins. You'll need to specify a plugin repository that contains casino.plugins:maven-jpf-plugin or add it to your local

Re: Maven and Sourceforge

2006-11-28 Thread Wim Deblauwe
Thanks for the input, I've updated the wiki page with it. This is unix notation for file permissions: r = 4 (read permission) w = 2 (write permission) x = 1 (execute permission) The first number is for user The second number is for group The third is for what's left ;-) So 7 = 4

repository artifact path shortcut

2006-11-28 Thread Nathan Coast
Hi, If I have declared a dependency to an artefact in my pom, is there a shortcut notation to reference the file path of that artefact? e.g. within some ant run script. dependency: dependency groupIdcom.codeczar.config/groupId

when subscribing to this list: spam score exceeded threshold

2006-11-28 Thread Dave Hodges
Hi, Apologies for mailing wide, but i wasn't able to find administrator contact details for this list. I've been intermittently trying to subscribe to this list over the past few days, but each time i send off a confirmation email it bounces with the following: The following message to

Re: surefire-junit-2.1.jar

2006-11-28 Thread Urbieta Matias
Sorry i didn't tell you that the internalRepository refers to my snapshot repository. I have deployed maven-jpf-plugin into : ~/.m2/repositorySnapshot/casino/plugins/maven-jpf-plugin/1.0-SNAPSHO T/maven-jpf-plugin-1.0-20061127.122645-2.jar and in settings.xml, i refer thar repository as

pathconvert and filemapping in maven.xml?

2006-11-28 Thread David Delbecq
Hello, i am facing a problem with maven (1.0.2) here. It seems the ant task 'pathconvert' ignores it content mapper elements, despite the ant documention. As a result, i can't map the filename in a fileset to other names, things i can do in pure ant scripts (build.xml) project ...

Re: Proxy vs. Repository URLs

2006-11-28 Thread Max Bowsher
Joakim Erdfelt wrote: One future feature for archiva is to manage the pom internal repositories to point to itself. In other words, if archiva is told to proxy central, and a pom gets pulled down pointing to a new repository of say ... repository idsf.net/id

Re : Maven and Sourceforge (Change report and issue tracking)

2006-11-28 Thread Julien HENRY
Here is how I configure changes report and issue tracking section with sourceforge: In the pom.xml: issueManagement systemsourceforge/system!--don't care-- url http://sourceforge.net/tracker/?atid=497982amp;group_id=61302 /url /issueManagement (Note

Re : Maven and Sourceforge (mailing lists and subversion)

2006-11-28 Thread Julien HENRY
Here is how I configure my pom with Sourceforge mailing list and subversion (need to be updated for CVS) : mailingLists mailingList nameJWebUnit Development Mailing list/name subscribe

Assembly-Plugin V2.2

2006-11-28 Thread Timo Wolf
Hi All, The Assembly plugin is in version 2.2. But it is not available. Is there any other repository that I do not know? Cheers, Timo Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/ maven-assembly-plugin/2.2/maven-assembly-plugin-2.2.pom [WARNING] Unable to get

Re: Assembly-Plugin V2.2

2006-11-28 Thread Wendy Smoak
On 11/28/06, Timo Wolf [EMAIL PROTECTED] wrote: The Assembly plugin is in version 2.2. But it is not available. Is there any other repository that I do not know? If you're referring to the statement Current Assembly Plugin Version is: 2.2 in the plugin docs [1], it is a mistake. The latest

Re: Assembly-Plugin V2.2

2006-11-28 Thread Timo Wolf
Hi, Yes, that was what I did. I hoped directory-single would help me in my multi-module project. When I use the assembly plugin in the pre-integration-test phase of a submodule a new lifecycle is created and is kill my buid. Thanks Timo On Nov 28, 2006, at 5:26 PM, Wendy Smoak wrote: On

Re: how to combine minijar with webstart ?

2006-11-28 Thread Valerio Schiavoni
Hello Jerome (sorry for this late answer, i got lost with too many mailing lists) many of the imported jars are imported transitively: On 11/17/06, Jerome Lacoste [EMAIL PROTECTED] wrote: [INFO] commons-logging-1.0.3.jar classes:17 dependencies:61 = 39,0% (31605-12396 bytes) Off Topic: You

Re: how to combine minijar with webstart ?

2006-11-28 Thread Valerio Schiavoni
only to make it more explicit, what i'm thinking of is some sort of assembly descriptor like: jar-with-minimal-dependencies where the minimal versions of the jars are actually already computed by minijar On 11/28/06, Valerio Schiavoni [EMAIL PROTECTED] wrote: Hello Jerome (sorry for this late

Use older/specific version of snapshot?

2006-11-28 Thread spamsucks
Sorry for the newbie question, but I deployed a new 1.0-SHAPSHOT of an artifact that broke a project that depends on this artifact. I would like this broken project to use a older version of the 1.0-SHAPSHOT... The older jar is in the repository, I just can't get my pom (of the broken

RE: Use older/specific version of snapshot?

2006-11-28 Thread Chris Hilton
Have you tried this? version1.0-20061023.215122-6/version Chris -Original Message- From: spamsucks [mailto:[EMAIL PROTECTED] Sent: Tuesday, 28 November, 2006 11:05 To: users@maven.apache.org Subject: Use older/specific version of snapshot? Sorry for the newbie question, but I

Re: Use older/specific version of snapshot?

2006-11-28 Thread Andrew Williams
if it is in the repo now then just delete your local copy from ~/.m2/repository and rebuild your project :) Andy spamsucks wrote: Sorry for the newbie question, but I deployed a new 1.0-SHAPSHOT of an artifact that broke a project that depends on this artifact. I would like this broken

Re: Use older/specific version of snapshot?

2006-11-28 Thread spamsucks
Hey, that worked! Thanks very much. - Original Message - From: Chris Hilton [EMAIL PROTECTED] To: Maven Users List users@maven.apache.org Sent: Tuesday, November 28, 2006 12:17 PM Subject: RE: Use older/specific version of snapshot? Have you tried this?

Retrieve Test Dependencies from an Artifact

2006-11-28 Thread m k
Hey all, Is there a way inside of a goal to retrieve the test dependencies of an

Re: Retrieve Test Dependencies from an Artifact

2006-11-28 Thread m k
Apologies for sending an incomplete message. Here is the message I was trying to send: I have a situation where I run a custom goal on a project. Using the project.getArtifacts() and the @requiresDependencyResolution test I am able to get all of the transitively resolved dependencies. Based

REMINDER - Vincent Massol Jason van Zyl - Conférence gratuite / Free Conference - Montréal, Canada

2006-11-28 Thread Vincent Siveton
Hi all, Feel free to contact Carmen Robert ([EMAIL PROTECTED]) to register: it is free. Cheers, Vincent -Original Message- From: Carmen Robert [mailto:[EMAIL PROTECTED] Sent: Monday, November 27, 2006 8:49 AM To: Carmen Robert Subject: RAPPEL : Vincent Massol Jason van Zyl -

Repackaging a snapshot dependency

2006-11-28 Thread Morgovsky, Alexander \(US - Glen Mills\)
Let us assume that there exists a snapshot dependency. This is a jar file with the usual packaging of a Maven 2 dependency, and the version of this is SNAPSHOT. Is it possible to repackage this dependency and change the version to something other than SNAPSHOT? If so, how? Let us assume that

Re: Repackaging a snapshot dependency

2006-11-28 Thread Wayne Fay
I haven't done this myself but I have spent some time looking at the repo structure etc... I think you should be able to unjar the file, find and replace all the SNAPSHOT versions and file names etc with the version number, and bundle it all back up with the proper name in the proper directory

Re: Repackaging a snapshot dependency

2006-11-28 Thread Tom Huybrechts
I don't think the contents of the file is very important (no need to repackage it), but you should take a local copy, change the version number in the POM, and use deploy:deploy-file to upload pom and artifact so the metadata files in the repository are updated properly. On 11/28/06, Wayne Fay

Re: Repackaging a snapshot dependency

2006-11-28 Thread Wayne Fay
My only concern with that, Tom, was the /META-INF/maven/ folder and its contents. If they are never used, you'll be fine, but I could see them being used at some point. Wayne On 11/28/06, Tom Huybrechts [EMAIL PROTECTED] wrote: I don't think the contents of the file is very important (no need

[ANN] Proximity RC7 is out!

2006-11-28 Thread Tamás Cservenák
Hi all, Proximity RC7 is out. The changes in brief (compared to broken RC6): - Indexer initialization is refactored and fixed (RC6 broke it). - Lifecycles of Indexer and Proximity beans are now cleaner. - Various Maven related problems are fixed: metadata merging and HTTP LastModified header is

Dependency problem

2006-11-28 Thread Petar Tahchiev
Hello everybody, here is my problem: I have a project that consists of many modules: let's say moduleA, moduleB, moduleC, etc. Now when I run mvn test-compile what happens is that maven's surefire plugin starts to compile the JUnit tests of the modules. But the problem is that moduleA has some

Re: Dependency problem

2006-11-28 Thread Wayne Fay
You will need to package those shared test files in a separate test-jar artifact, which you will then include as a dependency in modA, modB, and modC. There is additional information about creating and using test-jar modules on the Maven website. Wayne On 11/28/06, Petar Tahchiev [EMAIL

Re: Committer name in build report

2006-11-28 Thread Anoop kumar V
This is something that is not working for me too. When I read the features, I thot that this was included. We use CVS and the committer has never been displayed on the report. Anoop On 11/28/06, Ronald Pieterse [EMAIL PROTECTED] wrote: I do have english output and all developers are defined

Re: Assembly and multi-module project

2006-11-28 Thread Wendy Smoak
On 11/28/06, Julien HENRY [EMAIL PROTECTED] wrote: I think my xml file is well configured, but when I run mvn assembly:assembly, the plugin complains: [INFO] Failed to create assembly: Artifact: [moduleC] (included by module) does not have an artifact with a file. Please ensure the package

[ANN] StatSVN 0.2.0 released as well as a Maven 2 plugin for it.

2006-11-28 Thread Benoit Xhenseval
The StatSVN Team and ObjectLab are proud to announce v0.2.0 of StatSVN If you want to know what happened in your Subversion repository,this is the tool for you! Based on StatCVS, StatSVN retrieves information from a Subversion repository and generates various tables and charts describing the

Re: [ANN] StatSVN 0.2.0 released as well as a Maven 2 plugin for it.

2006-11-28 Thread Dan Tran
cool stuff, does the plugin get synced to maven central? Thanks -D On 11/28/06, Benoit Xhenseval [EMAIL PROTECTED] wrote: The StatSVN Team and ObjectLab are proud to announce v0.2.0 of StatSVN If you want to know what happened in your Subversion repository,this is the tool for you! Based

RE: [ANN] StatSVN 0.2.0 released as well as a Maven 2 plugin for it.

2006-11-28 Thread Andreas Guther
That looks great! Maven 1 had a similar plug-in and I was looking for something like this here. I can't wait to give it a try. Thanks, Andreas -Original Message- From: Benoit Xhenseval [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 28, 2006 4:05 PM To: maven Subject: [ANN]

Re: Dependency problem

2006-11-28 Thread Petar Tahchiev
On 28/11/06, Wayne Fay [EMAIL PROTECTED] wrote: You will need to package those shared test files in a separate test-jar artifact, which you will then include as a dependency in modA, modB, and modC. There is additional information about creating and using test-jar modules on the Maven website.