Character encoding for APT files

2009-01-12 Thread Trevor Harmon
When Doxia generates HTML from APT, it appears to force the HTML file to use ISO-8859-1, regardless of the original APT's encoding. I don't really understand why, since the Maven Doxia Converter supposedly generates all files in UTF-8:

Re: required artifact is missing ......

2009-01-12 Thread Jaikiran
To add to what Wendy posted; the screenshot shows that the artifact is under D:\Daten\maven2-local\. Is that your Maven repository? Have you configured Maven to use this as the repository (through settings.xml)? By default Maven uses the user's home directory as the repository. thomas2004

unable to set repo loc using maven release plugin 2.0-beta-8

2009-01-12 Thread Jane Young
Hi Release Plugin Gurus, I want to specify a local maven repo. Using maven release plugin 2.0-beta-8, I tried the combinations of -Darguments=-Dmaven.repo.local=..., -Darguments=-Dmaven.home..., -DlocalRepoDirectory=... and/or -DmavenHome=..., it always return

Re: Mvn eclipse:eclipse - strange M2_REPO settings

2009-01-12 Thread crowne
I am experiencing this too, and I found a jira for this issue which was closed but I think should be reopened. http://jira.codehaus.org/browse/MECLIPSE-408 Regards, Neil Crow. Ian Orford wrote: Maven 2.0.9 maven-eclipse-plugin 2.5.1 Eclipse 3.4.1 Some time ago, my mvn eclipse:eclipse

Maven Parameters

2009-01-12 Thread Saket Lakshminarayan Chiluveru
Hi, How can I pass a set of objects as parameters into a Mojo. e.g an Xml of the following format Order id123/id quant8/quant /Order Order id123453/id quant2/quant /Order I need to pass this into a collection of objects. How do

Cannot compile simple code

2009-01-12 Thread SamadLotia
Hello fellow Maven users, I have been trying to compile an OSGi project created using the PAX scripts. In the source file ConsoleTaskManager.java on line 15 I have written: System.out.println(java.lang.String.format(%s, Why will not this compile?)); When I type mvn install, I get the following

Re: Cannot compile simple code

2009-01-12 Thread SamadLotia
I apologize for the following typo: If I uncomment the offending line, which I meant to say, If I comment the offending line. SamadLotia wrote: Hello fellow Maven users, I have been trying to compile an OSGi project created using the PAX scripts. In the source file ConsoleTaskManager.java

Re: Cannot compile simple code

2009-01-12 Thread Jaikiran
What does the following command output: mvn -version especially the Java version -- View this message in context: http://www.nabble.com/Cannot-compile-simple-code-tp21412538p21412753.html Sent from the Maven - Users mailing list archive at Nabble.com.

Re: Maven Parameters

2009-01-12 Thread Johan Lindquist
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Add list of the objects to your mojo /** * List of Orders * * @parameter */ private ListOrder orders = new ArrayListOrder(); and in your pom.xml (within the config section of your mojo), specify the following: orders order

Re: Cannot compile simple code

2009-01-12 Thread Brett Randall
The missing symbol method was added in Java 1.5. Maven defaults to source level 1.4. Set your source/target to a minimum of 1.5 on the maven-compiler-plugin, see http://maven.apache.org/plugins/maven-compiler-plugin/examples/set-compiler-source-and-target.html. Brett On Mon, Jan 12, 2009 at

Older Versions of m2eclipse

2009-01-12 Thread Christian Kalkhoff
Hi, I cannot see the source of workspace projects in eclipse due bug http://jira.codehaus.org/browse/MNGECLIPSE-983 . It will get fixed in 0.9.8 but I need a workaround till then. Is it possible to install historic versions (I guess the problem stepped in 0.9.6) of m2eclipse? Where can I

release plugin only works with snapshot projects.

2009-01-12 Thread Tibor Kiss
Hi. If I try to prepare a multi-project whose version is a non-snapshot version, it throws an exception: You don't have a SNAPSHOT project in the reactor projects list. I don't understand why is a must to start releasing from a snapshot version? Regards, Tibor

Re: Block level elements do not appear in output

2009-01-12 Thread Lukas Theussl
You use 'mvn site' to generate apt files from apt source files? I guess you mean html? In this case the title and author end up in the html head, so you don't see them when you view the file with a browser. -Lukas Trevor Harmon wrote: Hi, My APT file declares block level elements such as

Re: release plugin only works with snapshot projects.

2009-01-12 Thread Stephen Connolly
Functions as designed. You should only ever do development work on a project that has a -SNAPSHOT version. The -SNAPSHOT version indicates that this is the version we are working towards... Maven does not allow re-deploying a non-SNAPSHOT version, so that if you are doing development with a pom

war dependency not being picked up?

2009-01-12 Thread Ben Avery
hi all, I've searched, but can't see a suitable answer. apols if I've missed one. I have a project which has two modules which compile with war packaging, and I need to perform integration testing using both these wars. the project contains a web service and WS client on both sides, I need to

Re: Cannot compile simple code

2009-01-12 Thread SamadLotia
That fixed it. Thank you! Brett Randall-2 wrote: The missing symbol method was added in Java 1.5. Maven defaults to source level 1.4. Set your source/target to a minimum of 1.5 on the maven-compiler-plugin, see

Qualifier

2009-01-12 Thread buters
Hi, what can I do, that after a build of my snapshot the artifact is named version-qualifier.jar instead of version-snapshot.jar Thanks beforehand, Best regards. -- View this message in context: http://www.nabble.com/Qualifier-tp21414940p21414940.html Sent from the Maven - Users mailing list

Re: Block level elements do not appear in output

2009-01-12 Thread Trevor Harmon
On Jan 12, 2009, at 8:14 AM, Lukas Theussl wrote: You use 'mvn site' to generate apt files from apt source files? I guess you mean html? In this case the title and author end up in the html head, so you don't see them when you view the file with a browser. Yes, sorry, I meant that I'm

maven-archetype-plugin does not exist error when creating new project, non-working link in FAQ

2009-01-12 Thread Sandy.Verfaille
Hello, When I try to create a new projects with my new installed maven, I get the error 'org.apache.maven/lifecycle.LifecycleExecutionException: the plugin org.apache.maven.plugins:maven-archetype-plugin' does not exist or no valid version could be found. I used this syntax to create it: mvn

Re: maven-archetype-plugin does not exist error when creating new project, non-working link in FAQ

2009-01-12 Thread Nicolas Dordet
No problem for me to lauch this goal (mvn archetype:create -DgroupId=com.roularta.app -DartifactId=my-app -e) on maven 2.0.9. But first of all, maven say : This goal is deprecated. Please use mvn archetype:generate instead Are you using a proxy? 2009/1/12 sandy.verfai...@roularta.be Hello,

RE: maven-archetype-plugin does not exist error when creating new project, non-working link in FAQ

2009-01-12 Thread Sandy.Verfaille
Thanks for the fast reply. archetype:generate doesn't work either. This is my output: C:\Documents and Settings\sverfailmvn archetype:generate -DgroupId=com.roularta .app -DartifactId=my-app [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'archetype'. [INFO]

Re: maven-archetype-plugin does not exist error when creating new project, non-working link in FAQ

2009-01-12 Thread Martin Höller
On Monday 12 January 2009 sandy.verfai...@roularta.be wrote: Hello, When I try to create a new projects with my new installed maven, I get the error 'org.apache.maven/lifecycle.LifecycleExecutionException: the plugin org.apache.maven.plugins:maven-archetype-plugin' does not exist or no valid

Re: maven-archetype-plugin does not exist error when creating new project, non-working link in FAQ

2009-01-12 Thread Nicolas Dordet
Have you configure the file settings.xml for your proxy ? http://maven.apache.org/guides/mini/guide-proxies.html 2009/1/12 sandy.verfai...@roularta.be Thanks for the fast reply. archetype:generate doesn't work either. This is my output: C:\Documents and Settings\sverfailmvn

Re: maven-archetype-plugin does not exist error when creating new project, non-working link in FAQ

2009-01-12 Thread Martin Höller
On Monday 12 January 2009 Martin Höller wrote: I just tried to update the wiki-page, but I always get a page not found error :-( This seems to be a problem with konqueror. Updateing in firefox worked. - martin signature.asc Description: This is a digitally signed message part.

RE: maven-archetype-plugin does not exist error when creating new project, non-working link in FAQ

2009-01-12 Thread Sandy.Verfaille
oh crap, ofcourse :) I searched for the previous question and then read the question after it, but that didn't 'work'. Thank you very much, my project is created! Regards, Sandy -Original Message- From: Martin Höller [mailto:mar...@xss.co.at] Sent: maandag 12 januari 2009 16:16 To:

Re: Qualifier

2009-01-12 Thread Wendy Smoak
On Mon, Jan 12, 2009 at 7:00 AM, buters franzi2...@mail.ru wrote: what can I do, that after a build of my snapshot the artifact is named version-qualifier.jar instead of version-snapshot.jar An example would help here... where are you looking, and what is the actual filename vs. the one you

RE: maven-archetype-plugin does not exist error when creating new project, non-working link in FAQ

2009-01-12 Thread Sandy.Verfaille
Now I have, thank you very much! -Original Message- From: Nicolas Dordet [mailto:dorde...@gmail.com] Sent: maandag 12 januari 2009 16:16 To: Maven Users List Subject: Re: maven-archetype-plugin does not exist error when creating new project, non-working link in FAQ Have you configure

Re: war dependency not being picked up?

2009-01-12 Thread Wendy Smoak
On Mon, Jan 12, 2009 at 6:37 AM, Ben Avery b...@youthnet.org wrote: so I have created a functional-testing module, which contains the tests, but the tests have dependencies on classes in the other modules. I have listed the [war] modules as dependencies of the funtional test pom, but the

Re: Block level elements do not appear in output

2009-01-12 Thread Lukas Theussl
Trevor Harmon wrote: On Jan 12, 2009, at 9:31 AM, Lukas Theussl wrote: The information is there but as meta information, it's not content- information. Eg the maven site has 100s of documents written by different people at different times, you don't want to see all that when you browse

Re: Older Versions of m2eclipse

2009-01-12 Thread Eugene Kuleshov
Christian, We don't delete previous versions from the release update site and you should be able to install them from there (e.g. unselect show only last version checkbox in the update manager UI). You can also try the dev build that should fix for the most of MNGECLIPSE-983. The update

Project documentation (with Doxia)

2009-01-12 Thread Trevor Harmon
I'm getting started with Doxia but have run into some issues. 1) mvn site converts my APT files to HTML, but I want them converted to PDF as well. I know PDF generation is possible with the aptconvert utility, but how can I do it with Maven, preferably as part of the site phase? 2) Many

RE: release plugin only works with snapshot projects.

2009-01-12 Thread Tibor Kiss
Thank You! I asked because I would like to match with our current development aproaches. Maybe it worst looking into detail, because here are working subcontractors and only module managers are deploying. The separation of workspace is realised by SVN authorization on different branches.

Re: release plugin only works with snapshot projects.

2009-01-12 Thread Stephen Connolly
You can always write your own release plugin... most of the primitives needed are in a separate module and the maven-release-plugin is just a thin wrapper on top. -Stephen 2009/1/12 Tibor Kiss tibor.k...@indgroup.eu Thank You! I asked because I would like to match with our current

Question about component descriptors and reuse

2009-01-12 Thread Ryan Moquin
With the advice I've seen from you all, I've been working on learning how to better decouple my builds by bundling resources and then sharing them out with projects, and void the tendency to want to include paths between dependencies, which can lead to broken builds. This leads me to a question

Re: war dependency not being picked up?

2009-01-12 Thread Ben Avery
thank you Wendy, that's wonderful :) for anyone else wanting to do this, here's what I did: I went for the second option. details on both are on the maven-war-plugin's FAQ. it's the second part here: http://maven.apache.org/plugins/maven-war-plugin/faq.html#attached this only works in the

Re: unable to set repo loc using maven release plugin 2.0-beta-8

2009-01-12 Thread Sahoo
Even I faced similar issue while using release-plugin. Since I do parallel builds, I can't rely on ~/.m2/repository for all my builds, so I must different local repo. Any help is appreciated. Thanks, Sahoo Jane Young wrote: Hi Release Plugin Gurus, I want to specify a local maven repo.

Re: Qualifier

2009-01-12 Thread buters
Example: Ist: foo-3.0-SNAPSHOT.jar Soll: foo-3.0-20090110.064228-1.jar Wendy Smoak-3 wrote: On Mon, Jan 12, 2009 at 7:00 AM, buters franzi2...@mail.ru wrote: what can I do, that after a build of my snapshot the artifact is named version-qualifier.jar instead of

Re: Qualifier

2009-01-12 Thread Wendy Smoak
On Mon, Jan 12, 2009 at 10:36 AM, buters franzi2...@mail.ru wrote: Example: Ist: foo-3.0-SNAPSHOT.jar Soll: foo-3.0-20090110.064228-1.jar I assume you are looking in your remote repository? This is normal. You're seeing a timestamped snapshot. This is the default naming convention for

Re: Mvn eclipse:eclipse - strange M2_REPO settings

2009-01-12 Thread Barrie Treloar
On Mon, Jan 12, 2009 at 9:32 PM, crowne crown...@gmail.com wrote: I am experiencing this too, and I found a jira for this issue which was closed but I think should be reopened. http://jira.codehaus.org/browse/MECLIPSE-408 I've re-opened it. I haven't had the chance to look in detail at the

Re: Qualifier

2009-01-12 Thread buters
Sorry, Wendy, but I doesn't know, that qualifier is used only for remote repository. Wendy Smoak-3 wrote: On Mon, Jan 12, 2009 at 10:36 AM, buters franzi2...@mail.ru wrote: Example: Is: foo-3.0-SNAPSHOT.jar Should be: foo-3.0-20090110.064228-1.jar I assume you are looking in your

[ANN] Maven Stylus Skin 1.1 Released

2009-01-12 Thread Vincent Siveton
The Maven team is pleased to announce the release of the Maven Site Skin, version 1.1 http://maven.apache.org/skins/maven-stylus-skin You should specify the version in your site.xml: project ... skin groupIdorg.apache.maven.skins/groupId artifactIdmaven-stylus-skin/artifactId

Nexus 1.2.0.3 released

2009-01-12 Thread Brian E. Fox
Nexus 1.2.0.3 is now available for release. This is primarily a bug fix release: Release Notes - Open Source Nexus - Version 1.2.0.3 ** Bug * [NEXUS-1195] - On fresh install, Nexus Deployment Role has a single priv, which is Nexus Anonymous Role * [NEXUS-1203] - Nexus is not

RE: Nexus 1.2.0.3 released

2009-01-12 Thread Brian E. Fox
Whoops, wrong user list. From: Brian E. Fox Sent: Monday, January 12, 2009 4:37 PM To: users@maven.apache.org Subject: Nexus 1.2.0.3 released Nexus 1.2.0.3 is now available for release. This is primarily a bug fix release: Release Notes - Open Source Nexus - Version 1.2.0.3 **

RE: Nexus 1.2.0.3 released

2009-01-12 Thread Durbha, Praveen (GE Healthcare)
How can I configure this in my pom.xml file? Via a proxy? Thanks! -Original Message- From: Brian E. Fox [mailto:bri...@reply.infinity.nu] Sent: Monday, January 12, 2009 6:38 PM To: Maven Users List Subject: RE: Nexus 1.2.0.3 released Whoops, wrong user list. From: Brian E. Fox

RE: Nexus 1.2.0.3 released

2009-01-12 Thread Brian E. Fox
Hi, The recommended way is via a mirror. The Maven book walks you through it at [1] and there's a short video at [2]. If you need extra assistance, we are on #nexus on irc.codehaus.org and have a user list at nexus-u...@sonatype.org [1]