Re: why my own plugin's version cant be SNAPSHOT?

2008-11-19 Thread Stephen Connolly
In ~/.m2/settings.xml http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd";> ... ... ...

Re: why my own plugin's version cant be SNAPSHOT?

2008-11-19 Thread sean.chen(陈思淼)
Im sure not config plugin management segment. 2008/11/20 Stephen Connolly <[EMAIL PROTECTED]> > is the pluginrepository section of your settings.XML restricting tge repo > to releases only? > > Sent from my iPod > > > On 20 Nov 2008, at 06:01, "sean.chen(陈思淼)" <[EMAIL PROTECTED]> wrote: > > My p

Re: why my own plugin's version cant be SNAPSHOT?

2008-11-19 Thread Stephen Connolly
is the pluginrepository section of your settings.XML restricting tge repo to releases only? Sent from my iPod On 20 Nov 2008, at 06:01, "sean.chen(陈思淼)" <[EMAIL PROTECTED]> wrote: My plugin run without pom, and I use this command to run it: mvn com.mycompany.maven.plugins:maven-m

why my own plugin's version cant be SNAPSHOT?

2008-11-19 Thread sean.chen(陈思淼)
My plugin run without pom, and I use this command to run it:mvn com.mycompany.maven.plugins:maven-myplugin-plugin:1.0-SNAPSHOT:exec here is the error message: > GroupId: com.mycompany.maven.plugins > ArtifactId: maven-myplugin-plugin > Version: 1.0-SNAPSHOT > > Reason: Unable to download

Re: Missing resource error

2008-11-19 Thread vdk
Thanks actually i had not given proxy settings in setting.xml, now it's working vdk Walid "jo" Gedeon wrote: > > Hello vdk, > 1) Can you try checking the network connectivity from where you're running > maven to the repository? For example: > > wgedeon:~$ ping

ordering of tasks in and

2008-11-19 Thread Noah Levitt
Hello maven users, User wsmoak on irc, after helping me to solve this issue, asked me to share my little story with you guys. Basically we have some documentation that is maintained in a wiki, and we want to include it in plain text in our software distribution. So I put a section in that u

Re: maven and jboss

2008-11-19 Thread Wayne Fay
> can anybody helps me for stating jboss and deploying one app using maven? > thanks The cargo plugin was made for exactly this purpose. Google it. Wayne - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mai

Re: generate PDF site

2008-11-19 Thread Arnaud HERITIER
I just re-uploaded all our doxia artefacts in the SNAPSHOTs repository Arnaud On Wed, Nov 19, 2008 at 7:23 PM, Wendy Smoak <[EMAIL PROTECTED]> wrote: > You can check out Doxia from > https://svn.apache.org/repos/asf/maven/doxia/trunks > > The doxia-doc-renderer module is under doxia-sitetools.

maven and jboss

2008-11-19 Thread Koxkorrita
hello i am trying to deploy one app into one jboss. my jboss is into c:\jboss can anybody helps me for stating jboss and deploying one app using maven? thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Re: Not happy with maven

2008-11-19 Thread Trevor Harmon
On Nov 19, 2008, at 1:44 PM, Martin von Gagern wrote: I would much prefer some kind of lib directory, where I could simply drop the library and start using it, to see if it is fit for the job I want to use it for in the first place. You can accomplish that by specifying the dependency with a "

Re: error into pom.xml file into one spring webapp. SOS

2008-11-19 Thread Simone Gianni
Hi Koxkorrita, have you tried to build the project from the command line instead? I have seen this problem other times when creating projects inside eclipse, seems like from inside eclipse it is not downloading some plugins. But after you run it from outside eclipse, maven will download the plugin

Re: Not happy with maven

2008-11-19 Thread Barrie Treloar
>> Regarding "writing your own build tool" -- I think this is probably a >> bad idea, but of course, you are welcome to disagree. If you have >> decided to abandon Maven, perhaps take a look at "buildr" and other >> tools (you already mentioned ivy) that have taken ideas from Maven and >> incorpora

Re: error into pom.xml file into one spring webapp. SOS

2008-11-19 Thread msclovis
Koxkorrita.. You are using the AppFuse archetypes. (obviously). I have used them successfully. But if I remember properly there were some issues at first. What was the error that you were getting? (You may also want to start this on another thread) or see the AppFuse forum specifically for issues

Re: Help creating Multi-Module Project

2008-11-19 Thread msclovis
Wendy, Thanks for catching my typo... I also now see the issue.. In step ONE .. I needed to create a project using a mvn archetype:create command (in this case with archetypeId=multi) It would have created DIRECTORY named multi and pom.. , then I should change that packaging from jar to pom an

error into pom.xml file into one spring webapp. SOS

2008-11-19 Thread Koxkorrita
Hello i have one great problem with my maven. i am working into one eclipse and maven. i am trying to create one web proyect (basic spring archetype) but always into the pom file appears the same error. During 5 days i am trying to solve this problen an i dont solve it. Can you help me? 1.rs a

Re: Help creating Multi-Module Project

2008-11-19 Thread Wendy Smoak
On Wed, Nov 19, 2008 at 2:46 PM, msclovis <[EMAIL PROTECTED]> wrote: > 5. Changed pom.xml in persist to show dependency: > > ${project.groupId} > model > ${product.version} > > Unless you've introduced a property somewhere, do you mean ${project.version} instead o

Re: Help creating Multi-Module Project

2008-11-19 Thread msclovis
Brett, Thanks for the quick reply.. The errors are different depending on what you do. 1. Command line mvn install. [ERROR] BUILD ERROR [INFO] [INFO] Failed to resolve artifact. Missing: -- 1) us.holdinghan

maven - clearcase integration with release:perform

2008-11-19 Thread Amit Rajpurkar
Hi All, I am getting a peculiar problem with running mvn release:perform i have my scm url configured to clearcase snapshotview. release:prepare is working successfully and even clearcase is showing the tag i provide during "prepare" phase. the pom files in my project are getting updated s

Re: Not happy with maven

2008-11-19 Thread Martin von Gagern
Wayne Fay wrote: > We see "rants" like this every few months from someone. And the fact > that this is your 4th email to this group suggests that you have > generally been "going it alone" rather than leaning on this group as > needed for help. (Note: this is not an open call for n00bs to blast > t

Re: Help creating Multi-Module Project

2008-11-19 Thread Brett Porter
Your steps look correct. Can you paste the exact error you got in step 6? Thanks, Brett On 20/11/2008, at 8:46 AM, msclovis wrote: Hi to all maven users! I thank you for your help in advance, I am a relatively inexperienced Maven user, so I apologize for any questions that may have been

Re: Not happy with maven (suggestion)

2008-11-19 Thread Martin von Gagern
Michael McCallum wrote: > You have put a lot of effort into this email and its really important to > spread the ideas around, > could you put these issues into jira with suggested solutions? To give more > visiblity. I might, for some of them, if I find the time. I guess some of my ideas concern

Help creating Multi-Module Project

2008-11-19 Thread msclovis
Hi to all maven users! I thank you for your help in advance, I am a relatively inexperienced Maven user, so I apologize for any questions that may have been advanced. I created a multi-module project from the command line the following manner: 1. Created a directory named maven-multi. 2. cd mave

Re: Not happy with maven (suggestion)

2008-11-19 Thread Michael McCallum
You have put a lot of effort into this email and its really important to spread the ideas around, could you put these issues into jira with suggested solutions? To give more visiblity. cheers -- Michael McCallum Enterprise Engineer mailto:[EMAIL PROTECTED]

Re: How does maven-compiler-plugin choose its defaults?

2008-11-19 Thread Trevor Harmon
On Nov 18, 2008, at 4:50 PM, Stephen Connolly wrote: 1.3 Ah... There is indeed a file in the Maven sources, JavacCompiler.java, that sets -source to 1.3 and -target to 1.1. It is in a "bootstrap" package, but I assume it somehow propagates to maven-compiler-plugin as well. Thanks for the

Re: A question about "-DarchetypeArtifactId=maven-archetype-webapp"

2008-11-19 Thread Wayne Fay
> anything you need... set the web descriptor to the version you want, add any > filters or other elements you use on every project. Add your organisational > POM to the POM template as a parent. Add dependencies on standard > frameworks, and so on. If this wasn't clear, Brett is suggesting that y

Re: A question about "-DarchetypeArtifactId=maven-archetype-webapp"

2008-11-19 Thread Brett Porter
On 20/11/2008, at 7:21 AM, thomas2004 wrote: For example? :-) anything you need... set the web descriptor to the version you want, add any filters or other elements you use on every project. Add your organisational POM to the POM template as a parent. Add dependencies on standard frame

Re: A question about "-DarchetypeArtifactId=maven-archetype-webapp"

2008-11-19 Thread thomas2004
For example? :-) brettporter wrote: > > Archetype's are just a very simple starting point. I suggest if you > are doing this frequently, you create your own that has more than just > the standard web.xml in it anyway. > > Cheers, > Brett > > On 20/11/2008, at 7:11 AM, thomas2004 wrote: >

Re: A question about "-DarchetypeArtifactId=maven-archetype-webapp"

2008-11-19 Thread Brett Porter
Archetype's are just a very simple starting point. I suggest if you are doing this frequently, you create your own that has more than just the standard web.xml in it anyway. Cheers, Brett On 20/11/2008, at 7:11 AM, thomas2004 wrote: Hi all, I use the following mvn command to create a web

A question about "-DarchetypeArtifactId=maven-archetype-webapp"

2008-11-19 Thread thomas2004
Hi all, I use the following mvn command to create a web project, but the generaed web.xml uses "web-app_2_3.dtd". But what I want is "web-app_2_4.xsd" or even "web-app_2_5.xsd". Someone knows is there a new maven artifact to do so? Regards Thomas -- View this message in context: http://www.

Re: Not happy with maven

2008-11-19 Thread David C. Hicks
Wayne Fay wrote: Regarding "writing your own build tool" -- I think this is probably a bad idea, but of course, you are welcome to disagree. There is a contingent at my office that believes they should write their own build system. They manage a HUGE project using a directory full of Ant scr

Re: Interjectign a plugin in a life-cycle phase

2008-11-19 Thread Wayne Fay
> To achieve this, should I create a enterprise level POM and have all > developers extend it? Yes, this pom would be the parent for all projects in your organization. > I have an enterprise-wide setting.xml file. Can I somehow use the > settings.xml file to enforce the use of this enterprise-wid

Re: Not happy with maven

2008-11-19 Thread Wayne Fay
> I guess many of the issues I don't like about maven could be helped with > more knowledge about Maven, customized plugins, hackish workarounds, or > any other kind of additional work. It's the sum of all together and the > amount of work required which lead me away from Maven. I list these > issu

Re: Not happy with maven

2008-11-19 Thread nicolas de loof
Just my pesonnal conviction : Maven is not the golden bullet tool. It has many issues (some you describe), and can't cover all requirements. Many project choosed some complex building (like the sign / assembly process you describe) that does not match maven conventions. Maven is a toll for project

Re: Not happy with maven

2008-11-19 Thread Graham Leggett
Martin von Gagern wrote: On the whole, I spent way too much time tweaking Maven, time I'd rather spend working on my project code. One of the most fundamental things about maven that you need to do to have a pleasant user experience, is to submit to maven. In other words, you shouldn't spen

Not happy with maven

2008-11-19 Thread Martin von Gagern
Hi everybody! I've been using Maven 2 for a few projects now, and found that, although it provides some nice features, it doesn't seem to be the right tool for most of my applications. I'll write down some of my experiences here, so that they might help improving development tools in general. I'm

Interjectign a plugin in a life-cycle phase

2008-11-19 Thread Pankaj Tandon
Hello, I'd like to interject a plugin in a certain phase (say validate) that is always executed for all developers who use maven within the enterprise. To achieve this, should I create a enterprise level POM and have all developers extend it? I have an enterprise-wide setting.xml file. Can I so

Re: generate PDF site

2008-11-19 Thread Wendy Smoak
You can check out Doxia from https://svn.apache.org/repos/asf/maven/doxia/trunks The doxia-doc-renderer module is under doxia-sitetools. If you need help building it (and better, if you want to help Lukas fix it!) please join us on the development mailing list. :) -- Wendy On Wed, Nov 19, 2008

Assembly plugin not filtering parent.parent-version

2008-11-19 Thread Pablo Saavedra
Hi, I have a file in a project which contains the following: projectname--${parent.parent.version} The project structure is the following: main (packaging:pom) dev (packaging:pom) project-where-the-file-is-located (packaging:jar) other-project (packaging:jar) war-projec

Re: specifying "latest" for a dependency

2008-11-19 Thread Stephen Connolly
OK, I'll clarify want I meant. There are two "special" version numbers: LATEST and RELEASE. AFAIK Where LATEST corresponds to "the latest version according to the Maven Repository Metadata (and I don't mind snapshots)" and RELEASE corresponds to "the latest released version according to the Mave

RE: specifying "latest" for a dependency

2008-11-19 Thread Todd Thiessen
Well, all builds are fixed. Thus all builds are snapshots, including released builds. There is nothing intrinsic in the definition of the word snapshot which indicates that it is meant for developers only. I am sure you are used to it by now, but I have little doubt that this is a source of co

Re: generate PDF site

2008-11-19 Thread Marc Lustig
The build fails due to missing artifact org.apache.maven.doxia:doxia-doc-renderer:jar:1.0-beta-1-SNAPSHOT Do you know where to get this snapshot? Lukas Theussl-3 wrote: > > > There is a pdf plugin in the sandbox [1] but it only works (or worked, I > haven't tested) with doxia-beta-1 which is

Re: specifying "latest" for a dependency

2008-11-19 Thread David Delbecq
En l'instant précis du 19/11/08 17:01, Todd Thiessen s'exprimait en ces termes: > > I think my biggest confusion was the naming convension here. The term > "SNAPSHOT" typically means a fixed state of something at a particular > point in time. However, in Maven it isn't fixed at all. It is in > cons

RE: specifying "latest" for a dependency

2008-11-19 Thread Yanko, Curtis
Maven supports the idea of latest if you use version ranges no? So at least for a given milestone you can grab the latest release of a given component. == Curtis Yanko Application & Developer Infrastructure Services Source->Build->Deploy W: 860.702.9059 M: 860.881.2050 -Original Mes

Re: specifying "latest" for a dependency

2008-11-19 Thread Stephen Connolly
Those special values, AFAIK are for plugin versions only and are depricated 2008/11/19 Todd Thiessen <[EMAIL PROTECTED]> > Thanks for the reply. I do understand that SNAPSHOT is meant for > developers only. I did read here: > > http://books.sonatype.com/maven-book/reference/pom-relationships

RE: specifying "latest" for a dependency

2008-11-19 Thread Todd Thiessen
Thanks for the reply. I do understand that SNAPSHOT is meant for developers only. I did read here: http://books.sonatype.com/maven-book/reference/pom-relationships.html#d0 e9801 that LATEST means the latest SNAPSHOT or RELEASED version and a version of RELEASED means the latest RELEASED version.

Re: maven-site-plugin-doxia-beta-1 fails to build

2008-11-19 Thread Lukas Theussl
Marc Lustig wrote: I am trying to get a PDF-export of the site runing. I built maven-2.0.11-trunk and checked out doxia-beta1 from https://svn.apache.org/repos/asf/maven/plugins/branches/maven-site-plugin-doxia-beta-1 Unfortunately I cannot build the plugin, even not with maven-2.0.11-trunk:

Re: generate PDF site

2008-11-19 Thread Lukas Theussl
There is a pdf plugin in the sandbox [1] but it only works (or worked, I haven't tested) with doxia-beta-1 which is still not released, and probably won't work with any published version of maven anyway. It's been a while since I worked on it, and a lot of stuff has changed since on maven tru

maven-site-plugin-doxia-beta-1 fails to build

2008-11-19 Thread Marc Lustig
I am trying to get a PDF-export of the site runing. I built maven-2.0.11-trunk and checked out doxia-beta1 from https://svn.apache.org/repos/asf/maven/plugins/branches/maven-site-plugin-doxia-beta-1 Unfortunately I cannot build the plugin, even not with maven-2.0.11-trunk: [INFO] [invoker:run {

Re: specifying "latest" for a dependency

2008-11-19 Thread Simone Gianni
Hi Todd, SNAPSHOT is different from latest, because a SNAPSHOT is unstable, pre-alpha stuff, not the latest known working released version. This is a critical distinction, many projects use and publish SNAPSHOTS for internal use (for example, if I have three modules, they all evolve simultaneously,

RE: modifying goals executed during release

2008-11-19 Thread Edelson, Justin
Did you read the documentation for the perform goal (http://maven.apache.org/plugins/maven-release-plugin/perform-mojo.html)? From: Nathan Coast [mailto:[EMAIL PROTECTED] Sent: Wed 11/19/2008 7:42 AM To: users@maven.apache.org Subject: modifying goals executed du

Re: maven copy jars from one folder to other apart using ant-plugin as i have already usedHi,

2008-11-19 Thread Stephen Connolly
I'm sorry, I can neither decipher nor decode your use of grammar. -Stephen 2008/11/19 partha_ctc <[EMAIL PROTECTED]> > > Hi , > i have already using multiple executions. > 1) ant-plugin > generate-resources > run > > >copy jars > copy xml > >

maven metadata documentation

2008-11-19 Thread Thierry Boileau
Hello all, I would like to know if there is an official documentation about the format of the maven repositories, especially (and almost) regarding the format of the maven-metadata.xml files. best regards, Thierry Boileau -

Re: Why does Maven supress com.sun.image.codec.jpeg?

2008-11-19 Thread Geoffrey Wiseman
On Wed, Nov 19, 2008 at 4:52 AM, Juergen Lorenz Simon <[EMAIL PROTECTED]>wrote: > Hi, > thanks for the replies. I checked the command line and it worked out > alright. So I went back to Eclipse and tried more things. After removing the > JRE library and re-adding it, the problem vanished. I'm conf

modifying goals executed during release

2008-11-19 Thread Nathan Coast
Hi, Is there a mechanism to modify the goals executed during release:perform? We use the release plugin to manage regular builds to our QA environments, the release process itself is excellent however we'd like to remove documentation generation and deployment from these builds. For our more

Antwort: RE: Build error at site-plugin => The skin does not exist

2008-11-19 Thread Ole Laurisch
I don't know exactly why, but the problem has disappeared as silent as it came. We are using nexus as a repository manager and yesterday I had another problem with its repositories. Maybe the fix of that problem has fixed the build problem too. Von: "Vogelsang, Jeff" <[EMAIL PROTECTED]> An: "

RE: Using an internal central repository without changing settings.xml

2008-11-19 Thread Vogelsang, Jeff
Hello, We aren't using Eclipse, but we solved a similar problem by explicitly disabling Central, and enabling our own local repository in the project pom. Example below. false false

Re: maven copy jars from one folder to other apart using ant-plugin as i have already usedHi,

2008-11-19 Thread partha_ctc
Hi , i have already using multiple executions. 1) ant-plugin generate-resources run copy jars copy xml copy war and properties file if we have several execution statement , can i control the executio

RE: Build error at site-plugin => The skin does not exist

2008-11-19 Thread Vogelsang, Jeff
I get this error if the central repository is not available when running the site command. In our environment, we use Artifactory with the mirrors setting. We have also disabled the central repository that is defined in the super pom. This prevents our builds from ever needing to go to the Inter

Re: Includes files in a war

2008-11-19 Thread Rémy
Hello, It's works with "maven-dependency-plugin". http://www.developpez.net/forums/d645553/java/edi-outils-java/maven/include-fichiers-war/#post3795257 maven-dependency-plugin 2.0 copy prepare-package copy f

Re: Why does Maven supress com.sun.image.codec.jpeg?

2008-11-19 Thread Juergen Lorenz Simon
Hi, thanks for the replies. I checked the command line and it worked out alright. So I went back to Eclipse and tried more things. After removing the JRE library and re-adding it, the problem vanished. I'm confused... Thanks :-) On 19.11.2008, at 08:43, "Geoffrey Wiseman" <[EMAIL PROTEC

Re: Why does Maven supress com.sun.image.codec.jpeg?

2008-11-19 Thread Juergen Lorenz Simon
Hi, thanks for the replies. I checked the command On 19.11.2008, at 08:43, "Geoffrey Wiseman" <[EMAIL PROTECTED]> wrote: On Tue, Nov 18, 2008 at 6:59 AM, Juergen Lorenz Simon <[EMAIL PROTECTED] >wrote: the underlined fail. What drives me insane is, that all of those classes reside in

Re: maven copy jars from one folder to other apart using ant-plugin as i have already usedHi,

2008-11-19 Thread Stephen Connolly
use multiple executions 2008/11/19 partha_ctc <[EMAIL PROTECTED]> > > hi, > i have already used ant-run plugin a followed > >org.apache.maven.plugins >maven-antrun-plugin >1.1 > > >prepare-dep

Re: maven copy jars from one folder to other apart using ant-plugin as i have already usedHi,

2008-11-19 Thread partha_ctc
hi, i have already used ant-run plugin a followed org.apache.maven.plugins maven-antrun-plugin 1.1 prepare-dependencies-repackage-copy generate-resources

Re: maven copy jars from one folder to other apart using ant-plugin as i have already usedHi,

2008-11-19 Thread partha_ctc
hi, i have already used ant-run plugin a folloed org.apache.maven.plugins maven-antrun-plugin 1.1 prepare-dependencies-repackage-copy generate-resources

generate PDF site

2008-11-19 Thread Marc Lustig
For Maven 1, there was the PDF-plugin to export the site into PDF-format. What is the replacement for Maven 2? The Doxia-docs are not very straightforward... -- View this message in context: http://www.nabble.com/generate-PDF-site-tp20575798p20575798.html Sent from the Maven - Users mailing list