Superfluous anchors in generated site?

2007-07-25 Thread Manos Batsis
Hi, No sure where the problem is located, which is also the reason i have not filed a bug report. mvn site generates anchors with baseUrl##anchorName, while relative URLs are generated like baseURL#relativePath. The workaround for the latter is to prefix the lelative URL with ./. Anyone

Re: Superfluous anchors in generated site?

2007-07-25 Thread Manos Batsis
Lukas Theussl wrote: Are you using a SNAPSHOT of the current site plugin and/or doxia? The anchor generation is currently broken/inconsistent after my fix of http://jira.codehaus.org/browse/DOXIA-47. I'm working on it, as a workaround, you should use the the latest stable versions (...wait,

Re: Setting jar order in maven.compile.classpath

2007-07-26 Thread Manos Batsis
Come on guys let us not give too much attention to eachother :-) I dont think Maven's behaviour regarding the order of JARs in the classpath is random; that would be impossible. My guess is the order is predictable and based on the dependencies configuration and the algorithm that goes

Re: Generating EJB home/remote interfaces with maven

2007-08-17 Thread Manos Batsis
For the OP: you can also find an example using ejbdoclet (xdoclet-maven-plugin) at the bottom of [1]. Generates local and remote interfaces, as well as util objects. [1] http://fisheye1.cenqua.com/browse/~raw,r=1.3/md4j/md4j-quickstarter-ejb/pom.xml Cheers, Manos

Re: plugin for executing shell script/batch files ?

2007-08-17 Thread Manos Batsis
Hmm. Try the maven-exec-plugin :-) Manos Batsis wrote: Farhan Sarwar wrote: Whats the plugin to use in maven to execute/invoke shell scripts or a batch file? Maybe a more appropriate plugin exists but how about antrun and the exec task? Cheers, Manos

Re: plugin for executing shell script/batch files ?

2007-08-17 Thread Manos Batsis
Farhan Sarwar wrote: Whats the plugin to use in maven to execute/invoke shell scripts or a batch file? Maybe a more appropriate plugin exists but how about antrun and the exec task? Cheers, Manos - To unsubscribe,

Access own POM property from mojo?

2007-09-16 Thread Manos Batsis
Sorry if this sounds too basic: Suppose I use something like the maven-properties-plugin in my plugin pom, how can I access this property from within my mojo? Many thanks, Manos - To unsubscribe, e-mail: [EMAIL PROTECTED]

Re: Access own POM property from mojo?

2007-09-17 Thread Manos Batsis
Wayne Fay wrote: You should generally be able to get that kind of property from MavenProject.getProperties(). If I understand correctly, this would be a reference to the MavenProject the mojo is used at runtime and not it's *own* POM, correct? Thanks, Manos

Confused about doxia/reporting APIs

2007-09-18 Thread Manos Batsis
Hello, Creating basic report plugins is rather easy; I've patched up a couple of custom Maven report Mojos within a day. Now i would like to move those to the next level and integrate them with the look and feel of the generated site (follow the skin used etc). My problem is i really cannot

Report API and lifecycle questions

2007-09-25 Thread Manos Batsis
Hello, Hope someone can help me with two basic questions :-) A) I use org.apache.maven.reporting.AbstractMavenReport#getOutputName() for the site renderer to create an appropriate link but could not find any way to provide the file extension. How can i tell it to point to foo.htm instead of

Re: Using maven for JavaScript projects

2007-09-26 Thread Manos Batsis
I've worked with Ross Simpson on a Maven Javascript Tools Plugin [1]. Currently the plugin has two reporting mojos, for JSDoc Toolkit and JSLint respectively. We intent to add support for stuff like JSUnit, ECMAUnit etc. I just shared the code on CVS two days ago. It needs more work but it

Re: Using maven for JavaScript projects

2007-09-27 Thread Manos Batsis
nicolas de loof wrote: To Manos : how do you integrate with jsDoc ? AFAIK this is a JS based tool, not really simple to invoke from a Java Mojo. Or maybe you use a JS Mojo ? Through Rhino. A simple way is to call his Main.exec, the other is a bit more complicated and involves putting java

Re: Using maven for JavaScript projects

2007-09-27 Thread Manos Batsis
Dan Tran wrote: any plan to deploy a site? There is a snapshot online [1] but the documentation is simply non-existent. I intent to make a release after a few code changes and when the documentation is acceptable (just need a week or so). [1] http://dev.abiss.gr/mvn-jstools/ Manos

Re: recommandation for JS packaging ? (was Using maven for JavaScript projects)

2007-09-28 Thread Manos Batsis
nicolas de loof wrote: What would be the better way to package JS libs ? - option 1 : use existing WAR packaging with war overlay good : Works today with no change, just requires us to agree on a common folder for scripts bad : cannot be used with jetty:run as the weapp is not packaged -

[ANN] Maven JS Tools Plugin v0.1

2007-09-30 Thread Manos Batsis
Following the recent threads on JavaScript tools for Maven, we are pleased to announce the 0.1 release of our Maven JS Tools Plugin. Tools currently supported: JSDoc Toolkit, JSLint License: Apache License v2 More info: http://dev.abiss.gr/mvn-jstools

Optional Mojo Execution?

2007-09-30 Thread Manos Batsis
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. Many thanks, Manos

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]

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

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 configuration

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
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 the default

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
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 reportSet configuration in the

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

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
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

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 reportSet 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

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]

[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

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

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

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
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 for online

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

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: 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, breaking my distributions along the way

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. plugin groupIdmy.groupId/groupId artifactIdmy.artifactId/artifactId configuration

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]

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 entry

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

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

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: plugin artifactIdmaven-antrun-plugin/artifactId executions execution idantrun-copy-js-to-site/id phasepre-site/phase

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 copywasted to code for my Canoo WebTest plugin

Refer to overridden parent POM properties?

2007-02-01 Thread Manos Batsis
Hello, In multiproject modules i would like to refer to (soon to be) overridden parent POM properties. For exampe, how can i do something like artifactId${parent.project.artifactId}artifactId When i try using the pre-overridden value like artifactId${project.artifactId}artifactId i get

Re: Refer to overridden parent POM properties?

2007-02-01 Thread Manos Batsis
Manos Batsis wrote: In multiproject modules i would like to refer to (soon to be) overridden parent POM properties. For exampe, how can i do something like artifactId${parent.project.artifactId}artifactId Obviously this does not make sense, i meant something like artifactId

Re: Building ejb with Maven 1.1

2007-02-04 Thread Manos Batsis
Wayne Fay wrote: Most people who are just getting started with Maven are going with M2 simply because it is newer, has more developers working on it regularly, and has more users at this point as compared to M1. However there are still plenty of people using M1 and its far from a dead project.

Re: Maven2+Hibernate3 Annotation Problem

2007-02-06 Thread Manos Batsis
build extensions extension groupIdmysql-connector-java/groupId artifactIdmysql-connector-java/artifactId version5.0.4/version /extension /extensions hth, Manos Quoting lemon dumpling [EMAIL PROTECTED]: Hi Johann, Yes, I tried that thing but it

EAR libs and MANIFEST.MF generation

2007-02-06 Thread Manos Batsis
Hello, Back in my Ant-based projects i used the pathconvert to generate manifest files from myruntime.classpathref. I also filtered all those jars out of my WARs/WEB-INF/lib and put them in the EAR/lib, where (thanks to the manifests) both EJBs and WAR classes could access them, avoiding

Re: EAR libs and MANIFEST.MF generation

2007-02-06 Thread Manos Batsis
manifest? I used to create the manifest for those modules with Ant for this structure to work. Many thanks, Manos hth marco On 2/6/07, Manos Batsis [EMAIL PROTECTED] wrote: Hello, Back in my Ant-based projects i used the pathconvert to generate manifest files from

Re: EAR libs and MANIFEST.MF generation

2007-02-06 Thread Manos Batsis
Finaly got it: http://maven.apache.org/plugins/maven-war-plugin/examples/skinny-wars.html Cheers, Manos Quoting Manos Batsis [EMAIL PROTECTED]: Hey Marco, Thanks for your email. Quoting Marco Mistroni [EMAIL PROTECTED]: any particular reason for not using maven-ear-plugin, since

[solved] Re: EAR libs and MANIFEST.MF generation

2007-02-06 Thread Manos Batsis
Thanks for the help all, Manos Quoting Stephane Nicoll [EMAIL PROTECTED]: Hi, On 2/6/07, Manos Batsis [EMAIL PROTECTED] wrote: Hey Marco, Thanks for your email. Quoting Marco Mistroni [EMAIL PROTECTED]: any particular reason for not using maven-ear-plugin, since

Re: [M2]: how to pass maven properties to ant build using antrun?

2007-02-06 Thread Manos Batsis
Marcos Silva Pereira wrote: how to pass maven properties to Ant build file. This can be found in a frillion places, including googling for your subject ;-) configuration tasks property name=foobar value=${foobar}/ You can use other attributes instead of value, check the docos around.

log4j.properties in EAR/APP-INF/classes?

2007-02-08 Thread Manos Batsis
Hi, I'm looking for the best way to configure log4j for my EAR. I currently have all my library jars (including log4j.jar) in EAR/APP-INF/lib and figured out that having log4j.properties in EAR/APP-INF/classes will actually make it visible to all application modules. Now, the funny thing is, i

Deploy datasource with jboss-maven-plugin?

2007-02-18 Thread Manos Batsis
Hello, Is there any proper way to do that along with jboss:harddeploy? Many thanks, Manos - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

POM deps to Antlib markup?

2007-02-18 Thread Manos Batsis
Subject says it all. Maybe an command line tool or XSLT is available? I'd like the ability to synch an archetype with an Ant-based project template. Thanks in advance, Manos - To unsubscribe, e-mail: [EMAIL PROTECTED] For

MD4J: J2EE Code Generation Tutorial with Maven

2007-02-19 Thread Manos Batsis
MD4J is an extensible J2EE webapp generator. One of the main features is that it allows you to work on your model (in the form of Hibernate mappings) iteratively, providing a complete J2EE application following your model changes. So, each time you edit your model and build your project,

Re: [ANN] Transcoder Maven2 plugin - check completeness of your multilingual resources

2007-02-19 Thread Manos Batsis
Aleksei Valikov wrote: I've recently release the Transcoder plugin: https://transcoder.dev.java.net/ Awesome! I was actually getting ready to work on something like this for md4j-quickstarter [1], although more webapp oriented. Can this be extended to: * Parse a set of JSP (or other

Artifact for Javascript libraries?

2007-02-19 Thread Manos Batsis
I'm trying to figure out a good enough way to package javascript libraries with Maven, for use with projects producing WAR artifacts. The closest related resource i have found is Using Maven to modularize JavaScript but it is rather outdated (M1). Perhaps it could be a good idea to

Re: [ANN] Transcoder Maven2 plugin - check completeness of your multilingual resources

2007-02-19 Thread Manos Batsis
Aleksei Valikov wrote: You are welcome to join the project and do the JSP parsing as you see it. Request sent, thanks for sharing :-) Cheers, Manos - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Re: Deploying to an application server

2007-02-20 Thread Manos Batsis
Brad O'Hearne wrote: 2. What is the generally accepted means of doing this? That would be the jboss-maven-plugin [1]. you can see a basic example (i use mvn jboss:harddeploy) at [2]. [1] http://mojo.codehaus.org/jboss-maven-plugin/ [2]

Re: tools.jar path

2007-02-22 Thread Manos Batsis
Borut Bolčina wrote: I guess all developers have JDK installed and not only JRE. Am I missing something? I *think* OS X has no separate tools.jar. Manos - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Arbitary directory/package names with archetype:create?

2007-02-24 Thread Manos Batsis
Hello, Apologies if the following is too trivial but i haven't completely wrapped my head around archetype plumbing so please bear with me. I'm preparing to convert a maven project with modules into an archetype. This archetype has some basic java and resource files in it. My questions:

Scope and type in dependencyManagement?

2007-02-24 Thread Manos Batsis
Besides version, does dependencyManagement make scope and type elements in modules redundant? Thanks, Manos - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [mvn test] log4j config path

2007-02-24 Thread Manos Batsis
It is quite likely that i am wrong and/or better solutions exist but at this time and day you have very few options. Anyway, how about throwing your log4j config in a jar file and adding it to the test classpath? The downside to this is that if you want to do this properly, you need a

RE: Problems with maven

2007-02-27 Thread Manos Batsis
Quoting Brendon Matheson [EMAIL PROTECTED]: Oh man, I just missed this. ISA is a nasty proxy server. +1. I was working for an M$ shop years ago and the darn thing only allowed IE to get out. Plain evil :-) Manos - To

Re: [ANN] native2ascii-maven-plugin-1.0-alpha-1 released

2007-02-28 Thread Manos Batsis
Dan Tran wrote: The Mojo team is pleased to announce the first alpha release of the Native2Ascii Maven Plugin The site is at: http://mojo.codehaus.org/native2ascii-maven-plugin Awesome, i was getting ready to antrun this, but the plugin worked like a charm. If you could provide an example in

Re: maven-assembly-plugin converts com.xxx - packages to COM.xxx - packages

2007-03-02 Thread Manos Batsis
Schoenen, Holger wrote: these are my demendencies: [...] My be, it is implicite. You can see the actual dependencies used with mvn help:effective-pom hth, Manos - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: Archetype: create resources as companions to java source files

2007-03-03 Thread Manos Batsis
Howard Lewis Ship wrote: I'm trying to create a archetype where some of my Java source files have related resources. Thus, if I have a Java source as src/main/java/pages/Start.java, I would like to have a companion src/main/resources/pages/Start.properties. In the generated application, these

Re: EAR plugin: dependent libraries location

2007-03-03 Thread Manos Batsis
Ron Piterman wrote: I have an EAR project, which includes an EJB project as module, say Foo. Foo is dependant on Bar, and bar is included in the EAR, but not in the root directory of the EAR instead in the /lib directory. This results in a class-not-found exception when deploying in jboss.

Re: Archetype: create resources as companions to java source files

2007-03-03 Thread Manos Batsis
? Manos On 3/3/07, Manos Batsis [EMAIL PROTECTED] wrote: Howard Lewis Ship wrote: I'm trying to create a archetype where some of my Java source files have related resources. Thus, if I have a Java source as src/main/java/pages/Start.java, I would like to have a companion src/main/resources

Re: Generate sources using program in same project

2007-03-13 Thread Manos Batsis
For an example of maven-antrun-plugin used to generate sources see the ear and web module POMs of md4j-quickstarter [1]. MD4J [2] does not yet provide a maven plugin so the Ant task is used instead. [1] http://md4j.cvs.sourceforge.net/md4j/md4j-quickstarter-mvn/ [2]

Re: Maven : Patch tools ?

2007-03-13 Thread Manos Batsis
I remember something about a WAR overlay mechanism in this list that probably belongs to a plugin, you may want to search using that as keyword instead of patch. hth, Manos Wayne Fay wrote: I don't know of any such patch tools, plugins, etc which will help you construct the WAR patch you

Re: ear-plugin : modifying manifest.mf in ejb projects

2007-03-16 Thread Manos Batsis
Jan Kroken wrote: Unfortunately, the ear plugin doesn't update the META-INF/MANIFEST.MF of the included ejb projects. The EJB project will only have access to libraries properly refered to from the manifest file, leaving the EJB projects with missing dependencies runtime. You have to

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: module javapath/to/my/myapp-ds.xml/java /module Now, to include this in the EAR during the build is another issue. You could add the file in

[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

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

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

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,

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 other

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]

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 the

Re: Parent project version

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

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. data.6541237895.field1field one val/data.6541237895.field1 data.6541237895.field2field two val/data.6541237895.field2 This is well formed XML alright. Element names start with a

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

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: 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

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: 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

FML and stripped XML entities?

2007-04-02 Thread Manos Batsis
Hello, Just created a FAQ for my project that includes XML snippets using entities like amp; and lt;. The less-than and greater-than (lt;, gt;) entities are stripped from the result HTML document, while entities like quot; are unaffected. Any ideas? Thanks, Manos

Re: WAR Archiver: avoiding JAR files in WEB-INF/lib

2007-04-02 Thread Manos Batsis
Gonzalo Vásquez Sáez wrote: Perhaps some other scope / other than compile provided - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

CDATA bug in site plugin? (was: Re: FML and stripped XML entities?)

2007-04-03 Thread Manos Batsis
in a recent beta, see http://jira.codehaus.org/browse/MSITE-156?page=all Cheers, Manos Quoting franz see [EMAIL PROTECTED]: Good day to you, Manos, Try using ![CDATA[...]]. Cheers, Franz Manos Batsis wrote: Hello, Just created a FAQ for my project that includes XML snippets

antrun: Could not create task or type of type: scriptdef

2007-04-04 Thread Manos Batsis
Hello, I'm trying to execute a scriptdef task through antrun as follows but get the error in the subjectline. I have included BSF as a plugin dependency and have tried to use inheritrefs/maven.plugin.classpath but no dice. Err, heeelp? Many thanks, Manos pom.xml fragment:

Re: integrate JavaScript dev tools in maven build ?

2007-04-04 Thread Manos Batsis
nicolas de loof wrote: I just discovered jsDoc 2 (http://code.google.com/p/jsdoc-2/) that is written in JavaScript and can (?) run inside Rhino engine, so could be packaged as a maven report plugin. Actually a guy in the jsdoc forum/mailinglist said he will donate such a maven plugin for

Lost CSS/header? (was: Re: [M2] Problens generation class diagram using UmlGraph-4.7)

2007-04-04 Thread Manos Batsis
Just made it work as well with the POM fragment below. However, my stylesheetfile and header are now ignored, any ideas? docletgr.spinellis.umlgraph.doclet.UmlGraphDoc/doclet docletArtifact groupIdgr.spinellis/groupId artifactIdUmlGraph/artifactId version4.6/version /docletArtifact

Create zip from site with mvn package?

2007-04-04 Thread Manos Batsis
Hello, Essentially i need to make my POM's generated artifact to be a zip file with a folder containing the generated website: zip + ${project.name}-${project.version} (directory) + Contents of ${project.reporting.outputDirectory}, i.e. target/site My understanding is i need to use the

Re: Create zip from site with mvn package?

2007-04-04 Thread Manos Batsis
Manos Batsis wrote: Hello, Essentially i need to make my POM's generated artifact to be a zip file with a folder containing the generated website: zip + ${project.name}-${project.version} (directory) + Contents of ${project.reporting.outputDirectory}, i.e. target/site My understanding is i

Javadoc configuration lost with UmlGraph doclet?

2007-04-05 Thread Manos Batsis
When using the UmlGraph doclet to include UML diagrams in my javadocs some parts of the config (header, stylesheet) are ignored. Does anyone have the slightest idea of why this happens? I cant figure where to attack this and hoped someone can point me to the right direction

Expanded EAR and components for flexible and fast (re)-deployment

2007-04-09 Thread Manos Batsis
Back in my Ant days i used to deploy the whole EAR in expanded (unzipped) form. That allowed building and deploying components such as WAR or EJB JAR files in the EAR structure within the J2EE container without rebuilding the whole project, thus reducing the time for re-deployment during

yDoc in Maven 2?

2007-04-09 Thread Manos Batsis
Is anyone using yDoc for javadoc UML in M2 without help from Ant? Many thanks, Manos - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Is this a javadoc plugin bug? (was: Re: yDoc in Maven 2?)

2007-04-09 Thread Manos Batsis
Mick Knutson wrote: I actually used Graphiz instead of yDoc in M2 and it works great on Windows only. UMLGraph is also working for me and i managed to make yDoc work as well after setting the javadoc plugin version to 2.0 (there is a bug in ater versions). However, i have the same problem

  1   2   >