Re: Multi-module project: One jar with dependencies

2010-10-14 Thread timb89
Hello Matthew Horridge, I am interested in your way generating one zip-file in a multi-module-project. Can Post the affected part of the pom, where you generate the zip-file? Thank you! Tim -- View this message in context:

Error transferring file: sun.security.validator.ValidatorException:

2010-10-14 Thread wang xiao
Hi,all I don't know how to do it correctly. the log as follows: Error transferring file: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.Sun CertPathBuilderException: unable to find valid certification path to requested t arget thanks

Re: maven is a swamp

2010-10-14 Thread Rick Mangi
Flexible and elegant aren't necessarily the same thing... Any language that prides itself on its ability to be obfuscated can't be elegant ;-) That said, I do love it. As far as Maven goes, the elegance of maven is that it does 90% of what you need it to do with very little or no effort and the

Re: Multi-module project: One jar with dependencies

2010-10-14 Thread Antonio Petrelli
2007/4/20 Matthew Horridge matthew.horri...@cs.man.ac.uk:        project.jar   -  This jar file contains all classes from ModuleA, ModuleB and ModuleC I suggest you to create an additional module that uses Shade plugin to create an uberjar:

AW: Error transferring file: sun.security.validator.ValidatorException:

2010-10-14 Thread Jens.Baitinger
Hi, Are you trying to download an artifact from an repository via https? It seems, that your certificate is not valid for Java (e.g. it is an self signed certificate). Add your certificate to an keystore and pass that keystore to maven (e.g. -Djavax.net.ssl.trustStore=%M2_HOME%\conf\trust.jks

Re: Java is a swamp

2010-10-14 Thread Sam Wun
Haha :D On Wed, Oct 13, 2010 at 7:38 PM, Jörg Schaible joerg.schai...@gmx.de wrote: Hi Kenneth, now, after your mail, I realize that Java is also a swamp, too: = % = import javax.script.ScriptEngine; import javax.script.ScriptEngineManager; import javax.script.ScriptException;

Re: Multi-module project: One jar with dependencies

2010-10-14 Thread timb89
Thank you! Works fine ! -- View this message in context: http://maven.40175.n5.nabble.com/Multi-module-project-One-jar-with-dependencies-tp86011p3211811.html Sent from the Maven - Users mailing list archive at Nabble.com. - To

+ [ Detail ] display in Surefire reports - malfunction?

2010-10-14 Thread torsten . reinhard
Hi, I´ve generated a Surefire report about my TestNG results and wondered why the + [ Detail ] Link (javascript:toggleDisplay('methodname') does not work, either in Mozilla Firefox nor in Windows Explorer I found (SUREFIRE-260) Detail display doesn't work if there are tests with the same name

Re: Heap overflow in deploy:deploy

2010-10-14 Thread Phillip Hellewell
On Wed, Oct 13, 2010 at 8:31 PM, Wayne Fay wayne...@gmail.com wrote: You probably want to look at the following lines in particular: 457         transfer( resource, input, output, requestType, Integer.MAX_VALUE ); 480         int remaining = maxSize; //maxSize is Integer.MAX_VALUE 483    

Re: Heap overflow in deploy:deploy

2010-10-14 Thread Phillip Hellewell
On Wed, Oct 13, 2010 at 11:45 PM, Dan Tran dant...@gmail.com wrote: It is a known problem where maven (wagon) uses jvm's httpclient to do the upload. Good to know, thanks. So it is actually a bug in sun.net.www.http.PosterOutputStream you say? So what is the game plan? Just wait for Sun

Site plugin version management

2010-10-14 Thread Benson Margulies
Site:site says this over and over, in addition to running the javadoc over and over. INFO] Generating Project License report. [WARNING] Deprecated API called - not org.apache.maven.doxia.sink.Sink instance and no SinkFactory available. Please update this plugin. What should I be specifying, and

Retry failed artifact deployments during release

2010-10-14 Thread C. Benson Manica
Is it possible to configure Maven to retry artifact deployments that fail during the release process? Artifactory seems to have a habit of returning 502s and I'd like Maven to at least try to upload the artifacts several times before giving up on a lengthy build process. -- C. Benson Manica

Re: Site plugin version management

2010-10-14 Thread Lukas Theussl
Did you google for it? http://jira.codehaus.org/browse/MSITE-490 Why the javadoc doesn't work I don't know... -Lukas Benson Margulies wrote: Site:site says this over and over, in addition to running the javadoc over and over. INFO] Generating Project License report. [WARNING] Deprecated

Maven SQL plugin

2010-10-14 Thread Chris Odney
Hi, I am facing some problem in ordering the sql execution. We have one sql script file for each table under one directory. Ex: There is user.sql and role.sql in the directory c:\SqlScripts. We are using the sql maven plugin to execute these sql files. The role table has a Foriegn key to the

Re: Maven SQL plugin

2010-10-14 Thread John Singleton
Hi Chris, #2 is probably the best to ensure repeatability in the order you want. It also prevents inadvertent re-ordering if a new sql file is introduced into the sql directory. In our project, we use srcFiles rather than fileset: srcFiles srcFile[file1]/srcFile srcFile[file2}/srcFile

Re: maven is a swamp

2010-10-14 Thread Wayne Fay
As much fun as all this commentary is, unless Ken comes back and posts a reply, I feel like we're simply the victims of a drive-by trolling... As such, I recommend letting this thread die, at least until Ken comes back and adds something to the discussion... Ken??? Wayne On Wed, Oct 13, 2010 at

Re: Heap overflow in deploy:deploy

2010-10-14 Thread Wayne Fay
I don't know.  To me it looks like the code limits it to sending DEFAULT_BUFFER_SIZE (4K) at a time. Heh, you're right... doh. In my defense, I was looking for a place where maybe the code had a bug and was reading entirely too much into memory. Oh well, guess its just jvm's httpclient bug then

Re: Maven SQL plugin

2010-10-14 Thread Chris Odney
Hi John, I never noticed the option of srcFiles as against fileset My understanding is the list of files specified using srcFiles are executed in the order they are specified whereas it is not so in the case of fileset(this is when orderFile attribute is not specified). Am I wrong? Thanks for

Missing menus in leaf projects with current site plugin

2010-10-14 Thread Benson Margulies
I just spend the morning setting up the site plugin and reporting for a new project. It is a parent with children. The parent has a site.xml with some custom navigation to add additional pages to the menu. The site specified 2.1.1 for the maven-site-plugin in the build/pluginManagement, and

mavenicing bpel module

2010-10-14 Thread José Vicente
Hi: I’m mavenicing a BPEL Module but i has this error: Embedded error: The following error occurred while executing this line: C:\caps\NETBEA~1\EchoDeAfirma\BpelConexions\nbproject\build-impl.xml:79: taskdef class org.netbeans.modules.bpel.project.anttasks.cli.CliValidateBpelProjectTask cannot be

Re: mavenicing bpel module

2010-10-14 Thread Milos Kleint
I don't know what the actual problem you are facing is, but you might want to consider starting with maven from scratch and only add tasks (or better convert tasks to plugins) as the need arises. Milos On Thu, Oct 14, 2010 at 5:08 PM, José Vicente jvia...@gmail.com wrote: Hi: I’m mavenicing

Checkstyle/maven/parent POM

2010-10-14 Thread Stefan Zier
Consider the following hierarchy: |-- module1 |`-- pom.xml | |-- checkstyle-exclusions.xml |-- module2 | `-- pom.xml | |-- checkstyle-exclusions.xml |-- ... ` pom.xml ` checkstyle.xml The goal is to have a centrally shared

RE: naming now that Maven 3 is out..

2010-10-14 Thread Haszlakiewicz, Eric
-Original Message- From: Wendy Smoak [mailto:wsm...@gmail.com] On Wed, Oct 13, 2010 at 10:13 AM, Nayan Hajratwala na...@chikli.com wrote: Kind of a random thought -- now that Maven 3 is out, are all those M2 based names going to be changed to M3, or more preferably a non-version specific

RE: naming now that Maven 3 is out..

2010-10-14 Thread Neil Hunt
It looks like he's also using the luminary jar, do you have that one too? On Thu, 2010-10-14 at 11:33 -0500, Haszlakiewicz, Eric wrote: -Original Message- From: Wendy Smoak [mailto:wsm...@gmail.com] On Wed, Oct 13, 2010 at 10:13 AM, Nayan Hajratwala na...@chikli.com wrote: Kind of

Re: naming now that Maven 3 is out..

2010-10-14 Thread Paul Benedict
Eric, you can look at these: http://jira.codehaus.org/browse/MNG-4483 http://maven.40175.n5.nabble.com/Setting-goals-for-upcoming-releases-td2801569.html Paul On Thu, Oct 14, 2010 at 11:33 AM, Haszlakiewicz, Eric ehas...@transunion.com wrote: -Original Message- From: Wendy Smoak

Re: maven is a swamp

2010-10-14 Thread Leon Rosenberg
Hello, On Wed, Oct 13, 2010 at 10:53 PM, Graham Leggett minf...@sharp.fm wrote: On 13 Oct 2010, at 8:52 PM, Leon Rosenberg wrote: Many traditional programming languages are declarative and not procedural or are based on declarative concepts, most of the time the declarative nature of such

RE: naming now that Maven 3 is out..

2010-10-14 Thread Haszlakiewicz, Eric
Thank you. So, based on the three different urls below, plus the installation instructions at http://maven.apache.org/download.html#Installation, it seems like a summary of the current status is: The Maven 3 user directory is still .m2 The Maven 3 environment variable is still M2_HOME

Re: maven is a swamp

2010-10-14 Thread Kenneth McDonald
On Oct 14, 2010, at 9:11 AM, Wayne Fay wrote: As much fun as all this commentary is, unless Ken comes back and posts a reply, I feel like we're simply the victims of a drive-by trolling... As such, I recommend letting this thread die, at least until Ken comes back and adds something to

RE: mavenicing bpel module

2010-10-14 Thread GALLAGHER, RON (ATTSI)
Two suggestions, 1) Use a more recent version of the antrun plugin. Version 1.1 is kind of out dated. 1.6 was recently released. 2) Read the documentation on Using tasks not included in Ant's default jar [1] [1] http://maven.apache.org/plugins/maven-antrun-plugin/examples/customTasks.html

War plugin renaming jars in WEB-INF/lib to jarname-RELEASE.jar

2010-10-14 Thread Loren Kratzke
When I look in WEB-INF/lib dir of my exploded war I see that some (but not all) of my jars are missing their version number. A jar that should be named mybiglib-1.0.4.jar is named mybiglib-RELEASE.jar. It is the right jar but the wrong name. I have seen some old bugs on the issue but they were

Re: maven is a swamp

2010-10-14 Thread Kenneth McDonald
On Oct 14, 2010, at 9:11 AM, Wayne Fay wrote: As much fun as all this commentary is, unless Ken comes back and posts a reply, I feel like we're simply the victims of a drive-by trolling... As such, I recommend letting this thread die, at least until Ken comes back and adds something to

RE: maven is a swamp

2010-10-14 Thread Yanko, Curtis
To me, the answer is yes,yes, yes but then I don't see Maven as a *programming* language. To me I can quickly see what we are trying to do and what it needs to do it. In a world where Source + Tools = Product (where tools = tools + libraries) I see documentation about the tools.

RE: Maven SQL plugin

2010-10-14 Thread Martin Gainty
Chris and Company i tried 12 ways from sunday and I could not get this plugin.xml to work for me debug statements display NPEs on any/all references to srcFiles I discovered the srcFiles array is not initted and not allocated Source file: org.codehaus.mojo.sql.SqlExecMojo parameter

Re: maven is a swamp

2010-10-14 Thread Ron Wheeler
On 14/10/2010 3:32 PM, Kenneth McDonald wrote: On Oct 14, 2010, at 9:11 AM, Wayne Fay wrote: As much fun as all this commentary is, unless Ken comes back and posts a reply, I feel like we're simply the victims of a drive-by trolling... As such, I recommend letting this thread die, at least

Re: Checkstyle/maven/parent POM

2010-10-14 Thread Wayne Fay
* In checkstyle plugin 2.6, it appears that the suppressionsLocation/ suppressionsFileExpression don't work. I spent a significant amount of time trying all manner of settings for those, but the exclusions file was never found. Did you check the source code for the plugin and maybe add some

Re: Maven SQL plugin

2010-10-14 Thread John Singleton
Hi Chris, It has been my experience of ~2.5 years that the order is maintained with a srcFile list, though I see nothing in the plugin docs that specifically mentions this, nor have I had the time (or inclination) to read the source... We have a relatively small number of sql files, 4 in one

Re: Maven SQL plugin

2010-10-14 Thread Brian Topping
Hi gang, I can help with the plugin. There have been a few authors on it over the years, and there may be some gaps in coverage. Apologies for that. Would it be too difficult to get a small project in HSQL that demonstrates the issue? I don't use the plugin any more, but am happy to help

Assemblies and filtering

2010-10-14 Thread Jon Paynter
Im trying to construct an assembly descriptor to replicate the output of our ant tasks. Ive run into a few issues with filtering 1) is there a way to do a mass rename on filter? the current setup gives a special *.vpp extention to files that need to be filtered with velocity. after filters

Re: maven is a swamp

2010-10-14 Thread Kenneth McDonald
Hi Wayne, I'll post one more response to your well-thought-out question. Here is the pom file I'm currently using: and just so you don't have to scroll all the way to the bottom to see the comments, I'll put them here :-) - Is there _anything_ in the structure of this file which leads

Re: maven is a swamp

2010-10-14 Thread Frederic Camblor
Hi Kenneth ! Drawback of using a Python/YAML like solution is code completion. I remember some discussion where Jason was planning to add XML namespaces for plugins, allowing to define specific schemas for configuration tags. We are OK, this is not done yet, but the perspective is interesting to

Re: maven is a swamp

2010-10-14 Thread Stephen Connolly
On 14 October 2010 22:56, Kenneth McDonald kenneth.m.mcdon...@sbcglobal.net wrote: Hi Wayne, I'll post one more response to your well-thought-out question. Here is the pom file I'm currently using: and just so you don't have to scroll all the way to the bottom to see the comments, I'll put

Re: Maven SQL plugin

2010-10-14 Thread John Singleton
http://jira.codehaus.org/browse/MSQL-53 addresses exactly this issue... On Thu, Oct 14, 2010 at 5:12 PM, John Singleton john.te...@gmail.comwrote: Hi Chris, It has been my experience of ~2.5 years that the order is maintained with a srcFile list, though I see nothing in the plugin docs that

Re: maven is a swamp

2010-10-14 Thread Kenneth McDonald
On Oct 14, 2010, at 5:09 PM, Frederic Camblor wrote: Hi Kenneth ! Drawback of using a Python/YAML like solution is code completion. But the payoff is you don't need code completion! You just put in a )/}/] or so, and your code is completed! Any yes, any competent text editor can check

Re: maven is a swamp

2010-10-14 Thread Wayne Fay
And yes, I specifically intend this to apply to XML. I can't see how moving to a YAML model would be anything but a win for maven. It feels like your entire complaint about Maven boils down to the use of XML in the pom... You can't simply accept this as a trade-off for the other benefits

Re: maven is a swamp

2010-10-14 Thread Frederic Camblor
I won't argue about closing tag, it's obvious a } is cleaner than a /myTag But I insist about code completion that is : - I'm in build section, I don't remember how my tag for target directory is named, I hit ctrl+space (under eclipse *cough*) and it provide me with all available tags in the

Re: maven is a swamp

2010-10-14 Thread Benson Margulies
Step 1: even fairly straightforward POMs that need more than the default conventions rapidly get verbose and hard to read due to XML. Step 2: Hiding behind that, though, there are, I claim, areas of genuine confusion. For the simple cases, it's fine to say 'convention over configuration'. Lots

Re: maven is a swamp

2010-10-14 Thread Jason van Zyl
On Oct 14, 2010, at 6:30 PM, Kenneth McDonald wrote: On Oct 14, 2010, at 5:09 PM, Frederic Camblor wrote: Hi Kenneth ! Drawback of using a Python/YAML like solution is code completion. But the payoff is you don't need code completion! You just put in a )/}/] or so, and your code is

Re: maven is a swamp

2010-10-14 Thread Ron Wheeler
On 14/10/2010 7:01 PM, Wayne Fay wrote: And yes, I specifically intend this to apply to XML. I can't see how moving to a YAML model would be anything but a win for maven. It does not seem like anything to consider since IDE's can provide a nice GUI editor. It feels like your entire complaint