Document project groupId, artifactId and version in javadocs?

2014-01-25 Thread Manos Batsis
Hey, long time. Is there some decently easy way of doing just that? Bonus points for magically applying to every maven build in the universe, now and for ever! Cheers, Manos - To unsubscribe, e-mail: users-unsubscr...@mave

Re: Version in one place

2013-08-20 Thread Manos Batsis
AFAIK, with xml entities not supported and mixins still unimplemented, your best bet is to use the release plugin to update the versions without going at it manually. hth, Manos - To unsubscribe, e-mail: users-unsubscr...@mav

Re: EAR as WAR dependency?

2011-10-18 Thread Manos Batsis
u build it and package it. Brian On Oct 18, 2011, at 11:50 AM, Manos Batsis wrote: Hello, I've got an EAR application for which I'm building a specific extension as an additional WAR. My question is, what is the best way to do this without the original EAR's POM knowing any

EAR as WAR dependency?

2011-10-18 Thread Manos Batsis
Hello, I've got an EAR application for which I'm building a specific extension as an additional WAR. My question is, what is the best way to do this without the original EAR's POM knowing anything about the extra WAR? Any examples would be appreciated. Many thanks, Manos --

Re: how generate additional artifacts from one project?

2011-08-22 Thread Manos Batsis
On 08/23/2011 01:13 AM, Sam Jiang wrote: Hi all I'm trying to generate additional artifact flavours for a single project. I checkout the assembly plugin but I'm still not quite sure where to start. Some help is really appreciated. right now I have artifact-sources.jar and artifact-javavdoc.jar.

Re: [ANN] DBUpgade Maven Plugin 1.0-beta-1 release

2011-08-10 Thread Manos Batsis
On 08/10/2011 06:13 AM, Dan Tran wrote: Hi, The Mojo team is pleased to announce the release of the DBUpgrade Maven Plugin version 1.0-beta-1 Site : http://mojo.codehaus.org/dbupgade-maven-plugin/ 404 but this works: http://mojo.codehaus.org/dbupgrade/dbupgrade-maven-plugin/ hth, Manos

Re: CA certificate issue while deploying via DAV

2011-07-12 Thread Manos Batsis
For me it was the same as http://www.jroller.com/agileanswers/entry/resolving_a_ca_key_usage On 07/12/2011 11:05 PM, Daniele Dellafiore wrote: Hi. maven 3.0.3, ubuntu linux 11.04 with both OpenJDK and Oracle JDK 6 Launching a mvn deploly on a dav:https repository gives me this: [ERROR] Faile

Re: Pretty-printing/compressing HTML in post-site phase

2011-05-31 Thread Manos Batsis
On 05/31/2011 04:06 PM, Andreas Sewe wrote: are there any plugins that can be used to prettify or compress the output of Doxia/the maven-site-plugin in the post-site phase? I found Kathryn Huxtable's htmlfilter-site-maven-plugin, but that only seems to be able fix ("tidy") malformed HTML. I'd

mvn dependency:tree

2010-09-19 Thread Manos Batsis
To whoever wrote this goal: THANK YOU. Manos - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org

Re: mvn execution from browser

2010-09-18 Thread Manos Batsis
On 09/18/2010 05:29 PM, Sridhar Laxmipuram Srinivasan wrote: Hi, I am trying to execute java maven command thru a php script from browser Php script: "; system("/home/y/bin/mvn -o -f /home/y/share/htdocs/ugc_cloud_qa/pom.xml clean"); print ""; ?> But I always get error like : NOTE: Maven is ex

Maven community maintaining popular JS lib deps? (was: Re: downloading JavaScript libraries)

2010-08-26 Thread Manos Batsis
On 08/26/2010 06:51 PM, Jacob Beard wrote: On 10-08-26 11:27 AM, Jesse Farinacci wrote: Making them proper Maven modules and populating them ONE time manually when you create the artifact would enable all of your users to automatically download the artifact which contains the javascript library.

Re: downloading JavaScript libraries

2010-08-26 Thread Manos Batsis
On 08/26/2010 05:54 PM, Manos Batsis wrote: On 08/26/2010 05:44 AM, Jacob Beard wrote: My project includes dependencies on several JavaScript libraries, including Dojo, RequireJS and beautify-js. I'm currently using Ant's get task to download these dependencies, but I'd like to

Re: Maven build for compiling JavaScript project

2010-08-26 Thread Manos Batsis
On 08/25/2010 11:43 PM, Jacob Beard wrote: On 10-08-25 02:41 PM, Manos Batsis wrote: The way I get this, you don't have to change the behavior of Maven's compiler plugin. If you check out [1], you'll see there are plenty of lifecycle phases to hook your ant tasks (or whatnot) an

Re: downloading JavaScript libraries

2010-08-26 Thread Manos Batsis
On 08/26/2010 05:44 AM, Jacob Beard wrote: My project includes dependencies on several JavaScript libraries, including Dojo, RequireJS and beautify-js. I'm currently using Ant's get task to download these dependencies, but I'd like to integrate this with my Maven build. The way I thought I would

Re: packaging php files in jar

2010-08-25 Thread Manos Batsis
On 08/25/2010 09:04 PM, john redden wrote: Peer Maven users, I have a new project where the top scheduling half is a Java app that executes php scripts on various criteria. I want to package the php files in the jar along with all the usual suspects. I can get my php files into the target dire

Re: Maven build for compiling JavaScript project

2010-08-25 Thread Manos Batsis
On 08/25/2010 06:05 PM, Jacob Beard wrote: I'm working on a Commons sandbox component which is written mostly in JavaScript. I currently have an ant build which includes tasks to do the following: 1. combine all of the JavaScript modules into a single file 2. minify the combined JavaScript file

Re: force maven to redownload/refresh "released" dependencies

2010-07-30 Thread Manos Batsis
On 07/30/2010 07:16 PM, Wayne Fay wrote: is there a way to force a project to refresh certain dependencies every build? i.e. replicate SNAPSHOT behaviour with "released" artifacts Absolutely not. Released artifacts MUST NOT CHANGE. +1, never ever ;-) Released artifact versioning is supposed

Re: [Help wanted] YUI Doc support in Maven JSTools Plugin

2010-07-27 Thread Manos Batsis
On 07/27/2010 09:05 PM, Manos Batsis wrote: Anyone willing to test the YUI Doc Mojo now in CVS? Philip Guerrant made the initial contribution ages ago but either forgot about it or just noticed :-/ Just to be clear, I meant it was me that either forgot or had just noticed! Anyway, made

[Help wanted] YUI Doc support in Maven JSTools Plugin

2010-07-27 Thread Manos Batsis
Anyone willing to test the YUI Doc Mojo now in CVS? Philip Guerrant made the initial contribution ages ago but either forgot about it or just noticed :-/ Anyway, made some changes for it to work on windows machines but I dont really use YUI Doc so I would be really happy if someone could ver

Re: Maven Meetup Locations

2010-06-21 Thread Manos Batsis
On 06/21/2010 10:55 PM, Jason van Zyl wrote: The Maven Meetups Sonatype puts on have been very popular in the past. We're starting to take input from users on where they should be in the future: Sonatype’s coming to a city near you FWIW, we would be happy to host one in Athens Greece ;-) Che

Re: using javascript dependencies in a webapp (war packaging)

2010-06-14 Thread Manos Batsis
On 06/15/2010 01:55 AM, Haszlakiewicz, Eric wrote: -Original Message- From: Manos Batsis [mailto:manos_li...@geekologue.com] There is no standard convention yet AFAIK. Including the JS libs in the war is one thing, making it accessible to the browser through a specific URL is another

Re: using javascript dependencies in a webapp (war packaging)

2010-06-14 Thread Manos Batsis
On 06/15/2010 01:23 AM, Haszlakiewicz, Eric wrote: I've got a webapp that uses javascript files from third party projects. For instance, one of the files we use is prototype.js. It seems like this must be something that many people have done in the past, but I can't seem to find much informatio

Re: Building standalone jars

2010-03-23 Thread Manos Batsis
Wayne Fay wrote: I guess my general question is: How do you build standalone executable jars that don't depend on other jars moving along with them? Shade plugin. It is also very easy to do with the uberjar plugin http://maven.apache.org/maven-1.x/plugins/uberjar/ --

Working locally, building remotely?

2010-03-03 Thread Manos Batsis
Hello, Sorry if this sounds dumb, but I was wondering what is the best way to iteratively work on a multiproject locally, have it build remotely, then deploy locally again. Any ideas welcome! Cheers, Manos - To unsubscribe

Re: Javascript zip dependency management

2010-01-15 Thread Manos Batsis
John Ericksen wrote: This seems very promising, are there any repositories for javascript dependencies? There is no reason for special repos - the main repo or any others work just fine. For example sarissa is released through maven's central. If there is a tinymce dependency and the tinymc

Re: Javascript zip dependency management

2010-01-12 Thread Manos Batsis
John Ericksen wrote: I have what might be a basic question, but I haven't been able to find a way to accomplish it using Maven. The project I am working on (Braintrain: http://code.google.com/p/braintrain/) uses Maven as the build framework. What I want to do is basically unzip 2 zip files an

Re: JAR Project type of some sort

2009-11-10 Thread Manos Batsis
Quintin Beukes wrote: Is there any way to create a new project, but effectively have it's "sources" be a group of JAR files, and when doing "mvn install" on that project, install those JAR files as if they were built with maven? I think there is a plugin for that nowdays, but in the past i just

Re: Maven JavaScript Plugin

2009-10-23 Thread Manos Batsis
Neil Chaudhuri wrote: A colleague at work expressed an interest in doing a lot of Maven-like things in the JavaScript realm. I did some research and discovered the Maven JavaScript plugin. It looks neat, but it is an alpha version and seems to have little activity. I was simply hoping to find s

Re: Manual plugin installation

2009-10-14 Thread Manos Batsis
Radhakrishnan, Tamilselvan (GE Capital, Non-GE) wrote: Hi, I'm new to Maven. When I configure maven, it is not automatically downloading plugings as I'm using automatic proxy settings and I may not get the Host/port details due to security. Is there any way I can manually download all plugins?

Re: Javascript support

2009-09-22 Thread Manos Batsis
Sluis, M. van der (Minto) wrote: It seems I misunderstood the functionality. I thought .js files were pulled from outside the delivered EAR/WAR file straight from the maven repository. Truth is I need to make this clearer in the documentation. To provide an example, suppose you wanted to inc

Re: Javascript support

2009-09-22 Thread Manos Batsis
Hi Minto, Minto van der Sluis wrote: Hi Manos, JavascriptDependencyFilter is a nice feature and a technical showcase, but I would not allow a feature like that to be activated in projects I control. With this feature I have no absolute control over my deliverables. As far as I can tell th

Re: Javascript support

2009-09-21 Thread Manos Batsis
Minto van der Sluis wrote: Oeps, it seems I stepped on some to toes, sorry guys ... and that I am spoiled ;-) Aren't we all ;-) Lack of users has IMHO multiple causes: 1) Javascript source management is an afterthough on many project. They include it as resources in their WAR project. (I've

Re: Javascript support

2009-09-21 Thread Manos Batsis
Minto van der Sluis wrote: What's the best way to handle javascript using Maven? I have searched the ML archive but it seems all projects have sort of died I have looked at javascript-maven-pluging [1]. But: - svn activity is near to none for the last year. - sources and web-site seem to be out

Re: Maven2 with JBoss Cache

2009-08-27 Thread Manos Batsis
Stuff_Me wrote: I am using maven2, with almost defaults. Now I want to have the JBossCache/Gridgain Dependency (which are normally not available in default maven2 repo) to my project. Please suggest me on this as i am new maven i am unable to proceed further. use the jboss repo [1] or insta

Re: Converting .properties to UTF8

2009-07-20 Thread Manos Batsis
daniel.green wrote: Upon the packaging of my war, I want to convert all .properties files to utf8. Can I do this with straight maven or will I need to run an ant task OR write my own plugin? what is your original encoding? why not use UTF-8 directly when editing files? We usually want exactl

Re: Vote for more Maven documentation

2009-07-16 Thread Manos Batsis
Peter Horlock wrote: I've started an online Poll, and to be fair, you can vote for all 4 books. Tell Tim from Sonatype which book he should focus on next. It should be fair to assume that if Tim needed opinions, he would just ask for them. Once. Cheers, Manos --

Re: Lifecycle for javascript

2009-06-02 Thread Manos Batsis
Nitin Verma wrote: Do we have lifecycle defined for javascript? Like: concatenate static-check (run jslint) test minify install deploy Last time I checked in our company we just used the normal life cycle along with our own maven-jstools-plugin [1] and the maven-js-plugin by Mobilvox [2].

Re: Access to the class path

2009-05-07 Thread Manos Batsis
James Crawford wrote: I did look at dependency:build-classpath but I could only see how it outputs the class path to a file. Probably not the best idea as I've been up straight wy too long, but it should take you 15 minutes to change the source so that an env property is stored. Manos

Re: Challenge: Find a plugin combo that achieves what 4 lines of bash script can do...

2009-04-23 Thread Manos Batsis
Thomas Marti wrote: Now all is well & nice and this script even performs sufficently given about 1.6 million dictionary entries (~38MB). But of course it's not really the Maven way to do things, especially because it's not portable. You need to have some kind of Unix-like enviroment in place f

Re: Adding system scope jars to the manifest class path

2009-04-17 Thread Manos Batsis
Manos Batsis wrote: Kogel, Jonck-van-der wrote: I'm trying to get Maven to correctly set my class path entry in the Jar manifest file. It's all working as it should except for my system scoped jars, these get excluded from the manifests class path for some reason. Sounds right; sys

Re: Adding system scope jars to the manifest class path

2009-04-17 Thread Manos Batsis
Kogel, Jonck-van-der wrote: I'm trying to get Maven to correctly set my class path entry in the Jar manifest file. It's all working as it should except for my system scoped jars, these get excluded from the manifests class path for some reason. Sounds right; system scoped stuff are supposed to

Re: Ideal File Placement

2009-03-27 Thread Manos Batsis
Sammy wrote: Hello, In a multi-module maven project, a webapp module has java, resources and WEB-INF folders. In which folder should jsp, css, web.xml, spring XML configurations and other files go? In a war module, src/main/webapp usually contains: WEB-INF jsp css images index.html -

Re: How to integrate xhtml files into a maven generated site?

2009-03-26 Thread Manos Batsis
Sorry if this is out of context, haven't followed the thread. For now the best way AFAIK is to just add (X)HTML files in src/site/resources and link as appropriate. hth, Manos - To unsubscribe, e-mail: users-unsubscr...@mav

Re: JS maven project

2009-03-06 Thread Manos Batsis
Ricky wrote: I am trying to create a JS maven project, is there any archetype or a plugin that I must know about? I tried http://mojo.codehaus.org/javascript-maven-tools/ and unfortunately the maven plugin for the same doesn't work. Any suggestions? This project will be part of a larger project w

Re: SourceForge.net shell changes and repository syncing

2008-09-25 Thread Manos Batsis
Mirko Nasato wrote: Lots of syncing failures reported to the maven-repo-maintainers list today... this answers my question I guess. This has happened a number of times in the past during scheduled (or not) outages. I also think they are still in the process of moving datacenters so... hth,

Re: WEB-INF vs web-inf

2008-09-03 Thread Manos Batsis
Tamsin wrote: Won't it be a problem when deployed on a case sensitive server? Yep. My guess is the OP's POM contains or links to an Ant script (i.e. antrun plugin) that generates some descriptors or something (for example through webdoclet) and has the case wrong in some path reference. h

Re: [POLL] Default Value for Reports Output Encoding

2008-08-06 Thread Manos Batsis
[a] Use UTF-8 Cheers, Manos - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: maven 2 version says - ( generics are not supported in -source 1.3)

2008-08-04 Thread Manos Batsis
sandyg wrote: Hi all, Am using maven 2 version. And when am running mvn compile , i am getting error that generics are not supported in -source 1.3 (try -source 1.5 to enable generics). But in my system i had only java 1.5 version. Then where it had gone for

Re: [POLL] Default Value for File Encoding

2008-04-30 Thread Manos Batsis
Benjamin Bentmann wrote: Manos Batsis wrote: I hate this! Someone finally agrees with me but in a misquoted email; I never wrote that :-) As I said, that was my fault of getting the reply header wrong, I apologize for this confusion. I didn't want to upset you Manos. No prob, sorry

Re: [POLL] Default Value for File Encoding

2008-04-29 Thread Manos Batsis
Roger Ye wrote: On 4/29/08, Benjamin Bentmann <[EMAIL PROTECTED]> wrote: Manos Batsis wrote: Having all files stick to a given (default) encoding will mean a nightmare to all platforms where such encoding is not the system one when it comes to modifying or > editing files. I can

Plugin warning (was: Re: [POLL] Default Value for File Encoding)

2008-04-29 Thread Manos Batsis
Benjamin Bentmann wrote: e the two possible directions to go: a) Use the current platform encoding, aka the system property "file.encoding". b) Use a static/fixed value that is defined by convention, i.e. is not platform-dependent. My vote is certainly b. However and IMHO, plugins that g

Re: support for development of a pure javascript library

2008-04-22 Thread Manos Batsis
Hello Richard, Richard Chamberlain wrote: Does anyone on the list develop JavaScript with Maven? What tools do you use? You might also want to take a look at our maven-jstools-plugin. It does have JSDoc and deps support, as well as a resolution mechanism for those in webapps. http://dev.a

Re: Oracle drivers dependencies

2008-04-16 Thread Manos Batsis
The repo has it [1], here the pom fragment: com.oracle ojdbc14 9.0.2.0.0 [1] http://repo1.maven.org/maven2/com/oracle/ojdbc14/9.0.2.0.0/ No idea whats wrong :-/ Manos Ricky wrote: Hi, I am trying to add: * com.oracle ojdbc14 9.0.2.0.0

Re: sql-maven-plugin and UTF-8

2008-04-16 Thread Manos Batsis
Maybe you just need to append a couple of JDBC url params jdbc:mysql://${db-host}:3306/portal?useUnicode=yes&characterEncoding=UTF-8 hth, Manos Borut Bolčina wrote: Hello, is anyone having problems with http://mojo.codehaus.org/sql-maven-plugin/when trying to insert data in utf8 encodi

Re: Making a Jar for a launchable Swing app

2008-04-14 Thread Manos Batsis
Lally Singh wrote: Thanks for the quick response. I tried it, but I couldn't figure out how to: 1. Get my .class files in there either. 2. Set up the manifest. Here a sample conf we use that tell the plugin to: 1: Put all class files in one jar (including classes from dependencies) 2: Set the

Re: ejb3 jboss persistence problem

2008-04-12 Thread Manos Batsis
true Manos Batsis wrote: Hey Neo. Cool Name. Maybe repository.jboss.org JBoss Repository http://repository.jboss.org/maven2 snapshots.jboss.org JBoss Snapshot Repository http

Re: ejb3 jboss persistence problem

2008-04-12 Thread Manos Batsis
Hey Neo. Cool Name. Maybe repository.jboss.org JBoss Repository http://repository.jboss.org/maven2 snapshots.jboss.org JBoss Snapshot Repository http://snapshots.jboss.org/maven2 should do the trick

Re: Multiple CPUs

2008-04-09 Thread Manos Batsis
Benedikt Thelen wrote: Hi there, i am sort of a maven newbee, At our workplce we have a quite big Coccon project in developenet and we use maven to build it. Building takes usually 5-6 minutes which is quite a while. I noticed using gkrellm and htop that maven only uses one of the two processors

Re: mvn install ignore hibernate hbm.xml files

2008-03-06 Thread Manos Batsis
MPF wrote: Hi! If I wanna install my project on my local repository the hibernate hbm.xml files always get ignored - No hbm.xml file is in the generated JAR! If I use mvn package the hbm.xml files are there - whats going wrong with mvn install I assume you have those along with your java sourc

Re: compress & obfuscate js files

2008-03-01 Thread Manos Batsis
[EMAIL PROTECTED] wrote: I am still working on moving a big legacy project from Maven 1 to Maven2. Next step is compression of javascript files. What's the best plugin for this task? http://mojo.codeha us.org/javascript-maven-tools/ We use the MobilVox Maven JavaScript Plugin [1] to compress

Re: Javascript support

2008-02-18 Thread Manos Batsis
Insitu wrote: Hello, I would like to know what is the current status/plans of the various javascript handling plugins out there. Few months ago there has been some discussions on this topic and some talks about merging projects. I am currently using jstools plugin, with jsunit for test execution,

Re: NSIS plugin

2008-02-14 Thread Manos Batsis
Julien Graglia wrote: I am looking for an install framework able to create Windows install. I currently have selected 3 possibilities : InstallShield, InnoSetup and NSIS (1) We are very happy with IZPack [a]. Using it from Ant is a breeze. A JIRA ticket with a Maven2 plugin is also available

Re: ejb classpath and ear plugin

2008-02-12 Thread Manos Batsis
nicolas de loof wrote: The ejb plugin has the option to generate the EJB classpath in MANIFEST based on the declared dependencies Is there any support in the ear plugin to automagically package thoses dependencies as jarModules ? My objective in a probably similar situation was to package EJB

Re: [M2] Are pom.xml settings.xml really well-formed?

2008-02-09 Thread Manos Batsis
Roger Ye wrote: The problem is that, the XML is not really well-formed, the tags actually contains data, e.g. field one val field two val This is well formed XML alright. Element names start with a letter and not with any case combo of "xml". Whether the design is good or bad is another m

Re: Parent project version

2008-01-29 Thread Manos Batsis
I never actually managed to do that. IMHO that should be as easy as ${project.parent.version} Oh well :-) Cheers, Manos Mick Knutson wrote: I am actually trying to use a property: 1.0.2 Then use that property in my child pom's: ${org.delta.esp.dap.version} When I do an install and deplo

Re: How to include the dependencies in the built jar?

2008-01-26 Thread Manos Batsis
Wendy Smoak wrote: On Jan 25, 2008 10:48 PM, Thomas Chang <[EMAIL PROTECTED]> wrote: assumed we have a project with packaging jar. When we build the project with "mvn package", a jar is build. But the dependencies in the project are not included in the built jar. Is it possible to include t

Re: jboss data-source not included in jboss-app.xml

2008-01-24 Thread Manos Batsis
elaroche wrote: > I'm trying to generate a ear containing a jboss-app.xml would > file which declare the datasource to use. AFAIK you don't need to use jboss-app.xml, you can add a module in application.xml [1]. Also check out [2]. [1] http://www.theserverside.com/discussions/thread.tss?t

Re: Packaging HTML/JavaScript files into WAR from outside project

2008-01-12 Thread Manos Batsis
David Harkness wrote: When building the java webapp, I'd like some HTML and JS files to be packaged into the WAR, but those files live in the "html" and "javascript" directories instead of in "java/src/main/webapp". What's the appropriate plugin to use in this case? On a side note, there are ot

Re: Filtering POMs

2008-01-05 Thread Manos Batsis
To the OP: there is also a maven-properties-plugin that may be useful. http://arsenalist.com/2007/02/07/maven-properties-plugin-download/ hth, Manos - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

Re: [m2] release snapshot errors

2007-12-28 Thread Manos Batsis
Mick Knutson wrote: My project version is *E1B-1.0-SNAPSHOT* I suppose your version should just be "1.0-SNAPSHOT" (i.e. begin with a number) without the quotes. The "EJB" part should be the artifactId. hth, Manos - To unsu

M2 Repo for Apache Sandbox stuff?

2007-12-27 Thread Manos Batsis
Is there a repository for sandbox artifacts publicly available? I'm trying to play a bit with some sandbox stuff like the maven-linkcheck-plugin and really want to avoid the manual labour of checking dependencies out from SVN manually to build and install in my local repo. Thanks! Manos -

[ANN] Maven JSTools Plugin 0.4

2007-12-07 Thread Manos Batsis
About: The Maven JSTools Plugin provides a Maven interface to a set of JavaScript reporting and documentation tools like JSDoc Toolkit and JSLint, along a simple approach for building JS artifacts and use them as dependencies in your Maven-based projects. New in this release: The JavascriptD

Re: Maven ear problem: Jboss can't find datasource file

2007-11-26 Thread Manos Batsis
CasMeiron wrote: Any help guys? I would suggest using application.xml to point in the datasource file in the EAR with: path/to/my/myapp-ds.xml Now, to include this in the EAR during the build is another issue. You could add the file in ear-project/src/main/application/APP-INF/classes, I

Re: How to create a Mojo that controls an ANT task

2007-11-12 Thread Manos Batsis
maven-antrun-plugin? Siegfried Goeschl wrote: Hi Pedro, I faced a similar task and it took a while to find a plugin invoking ANT within a Maven build - unfortunately I can't remember what plugin I looked at (oehaus?!) but I copy&wasted to code for my Canoo WebTest plugin http://people.apac

Binding an Antrun execution to post-site does not work?

2007-11-07 Thread Manos Batsis
Hello, My project's packaging is jar. I'm trying to bind two antrun executions to the pre-site and post-site phase respectively with: maven-antrun-plugin antrun-copy-js-to-site pre-site

Re: Complete Maven Noob, Is this possible?

2007-10-13 Thread Manos Batsis
A major issue if you are new, is how many artifacts (WAR, EAR, whatever) your current build produces. You may have to do a lot of refactoring due to this as Maven wants one artifact per project. This often leads into more modules/projects than one may think. Cheers, Manos Quoting Quakky <[EMAI

Re: Custom plugin not found

2007-10-10 Thread Manos Batsis
On a similar issue, I just noticed that my custom plugin works fine in the site lifecycle but breaks when calling a goal directly as M2 thinks it's a maven plugin; my understanding is M2 uses the wrong groupId when trying to check the repo for it (should be gr.abiss.mvn.plugins:maven-jstools

Re: How to add menu entries to Project Information

2007-10-10 Thread Manos Batsis
Martin Hoeller wrote: I've set up a simple site for a project following the documentation on maven.apache.org. I basically have a "Welcome Page" and the usual "Project Documentation" links with "Project Information" and "Project Reports" on the left side. What I want to do is add another menu

Re: Best approach to implement includes/excludes in Mojo?

2007-10-08 Thread Manos Batsis
Tim Kettler wrote: the plugins provided by the maven team use plexus-utils for this [1]. The relevant classes are DirectoryScanner and FileUtils. Have a look at the resources-plugin for how it's done. Thanks Tim, looks like DirectoryScanner is the perfect util class for this. [1] http://sv

Best approach to implement includes/excludes in Mojo?

2007-10-08 Thread Manos Batsis
What would be the best approach to implement something like Ant's includes/excludes in M2 mojos? Currently i'm only using a very basic subclass of DirectoryWalker + Commons IO FileFilterUtils. my.groupId my.artifactId src/main **/*.ext1 **/*.ext2 Many thanks

Re: Plugin to verify generated artifact structure?

2007-10-07 Thread Manos Batsis
Quoting Wendy Smoak <[EMAIL PROTECTED]>: > On 10/6/07, Manos Batsis <[EMAIL PROTECTED]> wrote: > > > ... maybe based on an XML descriptor or something? Or even ideas on > what > > to reuse here? I really need this (I keep messing around with my > builds, >

Plugin to verify generated artifact structure?

2007-10-06 Thread Manos Batsis
... maybe based on an XML descriptor or something? Or even ideas on what to reuse here? I really need this (I keep messing around with my builds, breaking my distributions along the way) and will probably write it if not available. Any suggestions welcome. Thanks in advance, Manos

Re: [ANN] maven-jstools-plugin 0.2: JS packaging/dependency tools

2007-10-06 Thread Manos Batsis
Dan Tran wrote: to get a wider audience, it is best that you file a JIRA to MAVENUPLOAD to get it to maven central. I've thought of that as well (most of our OS builds are M2 based now) but we dont want to loose the SF download statistics. I've filed a feature request there [1] but no respon

Re: Linkcheck plugin for M2

2007-10-05 Thread Manos Batsis
Dennis Lundberg wrote: Manos Batsis wrote: Tim Kettler wrote: there is one in the plugin sandbox [1] but I don't know if it's in a usable state. -Tim [1] https://svn.apache.org/repos/asf/maven/sandbox/trunk/plugins/maven-linkcheck-plugin/ Thanks Tim! Err, I tried to search

Re: [ANN] maven-jstools-plugin 0.2: JS packaging/dependency tools

2007-10-05 Thread Manos Batsis
Note: The artifactId in the installation instructions [1] was wrong (it now follows the conventions: maven-jstools-plugin). Just updated the site :-) [1] http://www.dev.abiss.gr/mvn-jstools/ Manos Batsis wrote: The Maven JS Tools Plugin provides a Maven2 interface to a set of JavaScript

Re: Linkcheck plugin for M2

2007-10-05 Thread Manos Batsis
Tim Kettler wrote: there is one in the plugin sandbox [1] but I don't know if it's in a usable state. -Tim [1] https://svn.apache.org/repos/asf/maven/sandbox/trunk/plugins/maven-linkcheck-plugin/ Thanks Tim! Err, I tried to search for online resources on sandbox plugins but no dice (mainl

Re: maven properties

2007-10-05 Thread Manos Batsis
Ashley Williams wrote: Is it possible to specify pom properties in a properties file? I found a reference here: http://maven.apache.org/pom.html#Properties but this just refers to other ways of setting properties. I actually want to use a property for the version in my parent and child poms as

[ANN] maven-jstools-plugin 0.2: JS packaging/dependency tools

2007-10-05 Thread Manos Batsis
The Maven JS Tools Plugin provides a Maven2 interface to a set of JavaScript development tools. New in this release: Besides JSDoc and JSLint support, this version features a new JavascriptDependencyFilter (along with documentation/howto), a Servlet Filter that loads Javascript files or oth

Linkcheck plugin for M2

2007-10-05 Thread Manos Batsis
... or equivalent: is there anything like that available? Many thanks, Manos - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Optional Mojo Execution?

2007-10-02 Thread Manos Batsis
Manos Batsis wrote: The proper way of excluding certain reports from rendering is however, to specify a configuration in the plugin configuration. See the example in the project-info-reports [2]. I was looking at exactly this about an hour ago and, going over the xref pages, could not

Re: How do people handle installers/exe/bat/sh in maven?

2007-10-02 Thread Manos Batsis
Thanks for all the info, definitely useful for me as well. Cheers, Manos Vincent Massol wrote: Hi, I use 2 installers: * IzPack to generate a generic JAR installer * launch4j to wrap the generic JAR installer into an EXE for windows platforms I got the IzPack maven plugin from http://

Re: How do people handle installers/exe/bat/sh in maven?

2007-10-02 Thread Manos Batsis
John Coleman wrote: Funny you should mention this as I was just pondering this yesterday, so many thanks for posting about IZPack. We send WARs to our clients, but it would be nice to be able to edit the config files embedded in the WARs, prior to dropping the WAR into the container. At present

Re: How do people handle installers/exe/bat/sh in maven?

2007-10-02 Thread Manos Batsis
Wim Deblauwe wrote: I have a question for the people that use maven to create an application (as opposed to a library). How do you provide an easy start point for your application? Do you use webstart? Do you use the assembly plugin and add .bat and .sh files to it? Do you create an installer (w

Re: Optional Mojo Execution?

2007-10-01 Thread Manos Batsis
Hello Tim, Many thanks for your email. Tim Kettler wrote: Ah, it wasn't clear from you original mail that you are talking about report plugins. Yeah sorry about that :-/ The proper way of excluding certain reports from rendering is however, to specify a configuration in the plugin config

Re: Optional Mojo Execution?

2007-10-01 Thread Manos Batsis
Manos Batsis wrote: According to the documentation, this seems irrelevant to my original question, which is, how to make reporting mojo execution optional, i.e. not happen unless the user specifies an execution for it. Maybe i need to override canGenerateReport[1] for this and try to figure

Re: Optional Mojo Execution?

2007-10-01 Thread Manos Batsis
Manos Batsis wrote: Suppose i bundle several mojos under one plugin artifactId, how can i make their execution optional? In other words, I only want to run a specific mojo when there is an execution element is present for it's goal in the plugin configuration. Isn't that t

Re: Maven JavaScript Plugin 1.2 released

2007-10-01 Thread Manos Batsis
Adam Altemus wrote: Can you give me some information on your environment? I'm pretty sure I know what the error is but, I need to make sure. Looks like a java 1.4 environment trying to compile java 1.5 to me ;-) Manos - To

Re: Optional Mojo Execution?

2007-10-01 Thread Manos Batsis
Tim Kettler wrote: Hi, Manos Batsis schrieb: Suppose i bundle several mojos under one plugin artifactId, how can i make their execution optional? In other words, I only want to run a specific mojo when there is an execution element is present for it's goal in the plugin configur

Re: Including JavaScript in xdoc

2007-10-01 Thread Manos Batsis
This is probably useless to the OP, but we also wanted to use scripts and went directly for a custom site skin. Cheers, Manos Lukas Theussl wrote: That doesn't work either, we have already opened some JIRA tickets: http://jira.codehaus.org/browse/DOXIA-154 http://jira.codehaus.org/browse/

Do WAR overlays merge web.xml entries?

2007-10-01 Thread Manos Batsis
Subject says it all :-) Thanks, Manos - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

  1   2   >