Re: Enforcer Plugin 1.0 release and requirePluginVersions rule

2008-02-11 Thread Ian Springer
+1 for not posting SNAPSHOT plugin docs on the website. The docs should correspond to the latest released version. If people need SNAPSHOT docs, they can checkout the source and generate the docs themselves. Or, as you suggest, Apache could setup a parallel SNAPSHOT website. Ben Lidgey wrote

Re: How to report Mangled MD5 file in http://repo1.maven.org/maven/batik/jars/

2008-01-28 Thread Ian Springer
File a bug under http://jira.codehaus.org/browse/MEV. sebb wrote: The directory of http://repo1.maven.org/maven/batik/jars/ looks like this to me: ... batik-1.5-fop-0.20-5.jar 22-Jan-2004 08:37 2.0M batik-1.5-fop-0.20-5.jar.md5 22-Jan-2004 08:37 33 ... However, when the md5 is

Re: Use 1.6 JRE globally

2008-01-16 Thread Ian Springer
set JAVA_HOME JRE_HOME correctly No, because doing this will make the build non-reproducible on other environments as I will lose the 1.6 requirement. You can use the enforcer plugin in your pom to specify that your project requires Java 1.6. See http://maven.apache.org/plugins/ma

Re: Adding resources to EAR

2008-01-08 Thread Ian Springer
Use the standard resources section of the pom, as you would for a jar artifact. Raghu Kasturi wrote: Hi, I am trying to add more resources to EAR, but unable to do so. Is there any way to add resources to my EAR package? I need to add some xml files to EAR/APP-INF/classes/ T

Re: maven-sar-plugin?

2008-01-07 Thread Ian Springer
Hi, Use the dependency plugin's copy goal: http://maven.apache.org/plugins/maven-dependency-plugin/copy-mojo.html Ian amit kumar wrote: Hi, I am using maven-sar-plugin and after the build its creating a lib folder. I want to put all the dependencies that I mentioned in the pom.xml to this fo

Re: Support of ant 1.6+ conditions

2008-01-03 Thread Ian Springer
According to the Ant docs (http://ant.apache.org/manual/CoreTasks/conditions.html), the syntax is: EJ Ciramella wrote: Is there a newer version of the maven-antrun-plugin? We would like to pass long a true/false property. If I have: I get this error: Class org.

Re: what is ?

2007-12-21 Thread Ian Springer
dependencyManagement is basically a way to standardize versions for dependencies across descendant modules. For example, if I put the following in the root pom of my multi-module project: ... gnu-getopt getopt 1.0.13 ... Then in any

Re: Include library (jar file) in sar

2007-12-05 Thread Ian Springer
Use the copy goal from the dependency plugin: http://maven.apache.org/plugins/maven-dependency-plugin/usage.html ferry97 wrote: Hi, I need to put a jar file in a sar file, myfile.sar +-- com (classes) +-- lib +-- mylib.jar +-- META-INF +-- jboss-service.xml I ha

Re: jspc precompiler error

2007-11-05 Thread Ian Springer
I'm not sure about the solution to your problem, but you may want to try using the Jetty jspc plugin, rather than the Codehaus one... http://www.mortbay.org/jspc-maven-plugin/ [EMAIL PROTECTED] wrote: hi, i have a difficult problem with precompiling jsp with jspc-maven-plugin (v1.4.6) i ge

Re: Is there a way to restrict the version of maven used?

2007-10-31 Thread Ian Springer
Yes, you can use the enforcer plugin. See http://maven.apache.org/plugins/maven-enforcer-plugin/usage.html. Jim Sellers wrote: Hi all. I know that there is a way to express a version range for a plugin, but is there a way to do that with a pom? So that if someone checks out the source and it'

Re: How to override an activeByDefault profile?

2007-10-25 Thread Ian Springer
I recall reading somewhere in the Maven docs or wiki that activeByDefault has higher precedence than even properties specified on the command line. Have you tried using: ... dev ... ? Nick Stolwijk wrote: I thought I had a solution, but it didn't work. I think it should work, but

Re: QAR question - generate JAR from classes and include into WEB-INF/lib

2007-07-31 Thread Ian Springer
Eugeny N Dzhurinsky wrote: Hello! Could somebody please explain how is it possible to create WAR file from WEB application, but instead of having Java sources compiled and placed into WEB-INF/classes - package those classes as a JAR file and place it into WEB-INF/lib/? true in the plugin co

Re: Maven Idea Plugin

2007-07-25 Thread Ian Springer
Hi, Looks like there's already an issue for this. http://jira.codehaus.org/browse/MIDEA-94 You should vote for it if you want to increase the chances of it being added. -Ian Kannan Ekanath wrote: Hi, I have a problem with Maven Idea plugin. I have a local repository and my project refers t

Re: WARs: Including a dependency in WEB-INF/lib but not in the manifest classpath

2007-07-23 Thread Ian Springer
What manifest classpath are you referring to? The war plugin does not add a classpath to the manifest - it only adds dependencies to WEB-INF/lib. It's the jar plugin that will add classpaths to manifests. Then the ear plugin will copy any jars in the manifest classpaths of each of its modules

Re: EL Dependency

2007-07-18 Thread Ian Springer
Those deps are both available from the java.net Maven1 repo (http://download.java.net/maven/1/). Add this to the repositories section of your POM: java.net-m1-releases Java.net Maven1 Repository - for javax.faces, javax.el, com.sun.el, and com.sun.facelets releases

Re: local repositories and mirrorOf

2007-06-25 Thread Ian Springer
I am planning on setting up a Maven proxy for my development team this week. Which of Artifactory, Proximity, Archiva, etc. do people recommend? Thanks, Ian Wayne Fay wrote: Realistically you should set up a Maven proxy solution (Artifactory, Proximity, Archiva, etc) and allow it to function a

Re: [M2] List of pom configuration properties

2007-06-07 Thread Ian Springer
Also, see: http://docs.codehaus.org/display/MAVENUSER/MavenPropertiesGuide Vandermeeren, Jo wrote: Checkout Jason's exhaustive list at the sonatype website: http://www.sonatype.com/book/properties.html On 6/7/07, Jux <[EMAIL PROTECTED]> wrote: Hi Can anybody give me information about config

Re: where is xml-apis-1.0.b2.jar coming from ?

2007-05-29 Thread Ian Springer
What they meant is that you can exclude the xml-apis transitive dep, i.e.: commons-logging commons-logging 1.1 xml-apis xml-apis See the docs: http://maven.apache.org/guides/introduction/intro

Re: Maven 2.0.6 using JDK 1.3

2007-05-04 Thread Ian Springer
Nope, that doesn't sound crazy at all. Both of your points make perfect sense. I retract my earlier +1 :-) One minor quip - the docs should be updated to state the default is 1.3... http://maven.apache.org/plugins/maven-compiler-plugin/compile-mojo.html#source http://maven.apache.org/plugins/ma

Re: Maven 2.0.6 using JDK 1.3

2007-05-04 Thread Ian Springer
+1 Dan Tran wrote: I totally agree with Paul here, any one else? On 5/4/07, Paul Gier <[EMAIL PROTECTED]> wrote: It seems like a better default behavior for the compiler plugin would be to use the current jvm version. If I'm running maven with jdk1.5 I would expect the compiler plugin to defa

Re: Dynamic jar manifest classpath based on groupId, artifactId and version in repository

2007-04-23 Thread Ian Springer
Hi, Add: ../../../../org/ggg/ggg-core/1.0/ as a child element of the element. Ian Geoffrey De Smet wrote: Hi all, With the assembly plugin I can put all my module jars in repository like structure: /repo/org/ggg/ggg-core/1.0/ggg-core-1.0.jar /repo/org/ggg/ggg-ftp-app/1.0/ggg-ftp-app-1.0

Re: M2 enforcer plugin 1.0-alpha-2

2007-04-16 Thread Ian Springer
My bad. Thanks! Jerome Lacoste wrote: On 4/16/07, Ian Springer <[EMAIL PROTECTED]> wrote: Would someone please upload alpha-2 to the snapshots repo? http://people.apache.org/maven-snapshot-repository/org/apache/maven/plugins/maven-enforcer-plugin/ alpha-2 is a release not a snapshot

M2 enforcer plugin 1.0-alpha-2

2007-04-16 Thread Ian Springer
Would someone please upload alpha-2 to the snapshots repo? http://people.apache.org/maven-snapshot-repository/org/apache/maven/plugins/maven-enforcer-plugin/ Thanks. Ian - To unsubscribe, e-mail: [EMAIL PROTECTED] For addition

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

2007-02-08 Thread Ian Springer
Hi, Put it in src/main/application/. -Ian Manos Batsis wrote: 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 i

RE: Standard directory layout

2007-01-15 Thread Ian Springer
nt: Monday, January 15, 2007 10:57 AM | To: Maven Users List | Subject: Re: Standard directory layout | | Maven 2. | Is there any particular specification about that ? | | | 2007/1/15, Ian Springer <[EMAIL PROTECTED]>: | > | > Are you using Maven 1 or Maven 2? | > | > | -Original M

RE: Standard directory layout

2007-01-15 Thread Ian Springer
Are you using Maven 1 or Maven 2? | -Original Message- | From: Fred Foucart [mailto:[EMAIL PROTECTED] | Sent: Monday, January 15, 2007 5:47 AM | To: users@maven.apache.org | Subject: Standard directory layout | | Hello everybody, | | I need to define a specific Maven layout for the foll

RE: enabling logging

2007-01-11 Thread Ian Springer
for it, so they'll add something in 1.2. | -Original Message- | From: Dmitry Beransky [mailto:[EMAIL PROTECTED] | Sent: Thursday, January 11, 2007 12:08 PM | To: Maven Users List | Subject: Re: enabling logging | | On 1/11/07, Ian Springer <[EMAIL PROTECTED]> wrote: | > Ha

RE: enabling logging

2007-01-11 Thread Ian Springer
Have you tried running mvn with -X ? | -Original Message- | From: Dmitry Beransky [mailto:[EMAIL PROTECTED] | Sent: Thursday, January 11, 2007 11:22 AM | To: Maven Users List | Subject: enabling logging | | Hi, | | How can I enable debug level logging for maven's plugins. | I'd like

RE: Any interest in a maven-properties-plugin?

2006-10-26 Thread Ian Springer
I'd also find very useful a goal (or an option to the existing write-properties goal) that echoes all properties, or a set of specified properties, to the console - along the same line as the echoproperties Ant task (http://ant.apache.org/manual/OptionalTasks/echoproperties.html). This would be han

RE: Ant Mojo Resources

2006-10-26 Thread Ian Springer
Pass ${settings.localRepository} as a param to your Ant mojo. Then unzip the file(s) you need from the plugin jar (e.g. ${settings.localRepository}/com/xyz/foo-m2-plugin/1.0/foo-m2-plugin-1.0. jar) to a temp dir. Ugly, I know, but it works :-) | -Original Message- | From: SlinnHawkins, Jo

RE: Downloading Maven 2 documentation

2006-10-18 Thread Ian Springer
There are a number of good tools for downloading entire web sites, or subtrees of web sites, for offline browsing. I recommend HTTrack (http://www.httrack.com/), or if you prefer a command line tool, you can use wget or curl. | -Original Message- | From: Carlos A. Carnero Delgado [mailto:[

RE: maven-resources-plugin StringIndexOutOfBoundsException

2006-10-02 Thread Ian Springer
| -Original Message- | From: Ian Springer [mailto:[EMAIL PROTECTED] | Sent: Monday, October 02, 2006 10:41 PM | To: Maven Users List | Subject: RE: maven-resources-plugin StringIndexOutOfBoundsException | | | | | Hi! | | | | I am migrating a project from m1 to m2. | | | | I have two

RE: maven-resources-plugin StringIndexOutOfBoundsException

2006-10-02 Thread Ian Springer
| | Hi! | | I am migrating a project from m1 to m2. | | I have two modeules, one to make a jar from jaxb generated | and compiled | source and another module that must create a war and which | have a dependency | with the previous jar cretaed in my jaxb module. | | Well, my jaxb module works

RE: Is it possible to access the Users settings from a Mojo??

2006-09-29 Thread Ian Springer
Laura, If it's an Ant mojo, you can do something like the following in the foo.mojos.xml: M2 local repo dir settings.localRepository true ${settings.localRepository} the path to the M2 local repository

[M2] stripping versions from filenames in classpath or fileset returned by artifact:dependencies task

2006-09-28 Thread Ian Springer
Based on the docs (http://maven.apache.org/ant-tasks.html), it doesn't look like the dependencies task provides a way to strip versions off filenames in the returned classpath or fileset. Does anyone know if there's a way to do this and it's just not documented? Thanks, Ian --

RE: [M2] list of built-in properties

2006-09-21 Thread Ian Springer
This question was posted a while back - see http://www.nabble.com/Where-can-I-find-list-of-properties--tf1432052.htm l#a3862582. Note, you can search the maven-users list archives at http://www.nabble.com/Maven---Users-f178.html. In addition to the pom/project elements, the following are also mad

RE: Compiler plugin: trying to set compileSourceRoots

2006-08-09 Thread Ian Springer
| -Original Message- | From: Denis Cabasson [mailto:[EMAIL PROTECTED] | Sent: Wednesday, August 09, 2006 11:07 AM | To: users@maven.apache.org | Subject: Re: Compiler plugin: trying to set compileSourceRoots | | Alexander Hars wrote: | > | > Hi, | > | > I am trying to specify multiple s

RE: Getting the ear plugin to recognise har files

2006-08-02 Thread Ian Springer
Doug, Does jboss-packaging-maven-plugin have any relation to jboss-sar-maven-plugin [1], or are these just two competing plugins for creating SARs? One feature which I require which doesn't seem to be provided by either plugin is the ability to have jar/war/ear/etc. dependencies packaged within th

RE: [M2] Equivalent of ant dist in Maven

2006-08-01 Thread Ian Springer
The assembly plugin is what you're looking for. See http://maven.apache.org/guides/mini/guide-assemblies.html. | -Original Message- | From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] | Sent: Tuesday, August 01, 2006 12:23 PM | To: users@maven.apache.org | Subject: [M2] Equivalent of an

RE: deploying jars without version information

2006-07-25 Thread Ian Springer
| -Original Message- | From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On | Behalf Of Trent Albright | Sent: Tuesday, July 25, 2006 3:41 PM | To: Maven Users List | Subject: Re: deploying jars without version information | | > Note you can change the names of jars/wars | > within an ear

RE: deploying jars without version information

2006-07-25 Thread Ian Springer
Isn't that what MANIFEST.MF files are for? | -Original Message- | From: Mike Perham [mailto:[EMAIL PROTECTED] | Sent: Tuesday, July 25, 2006 2:23 PM | To: Maven Users List | Subject: RE: deploying jars without version information | | Why? Removing version info is very dangerous. You t

RE: Excluding jars from my ear

2006-07-21 Thread Ian Springer
Hi, Try the following syntax: groupId:artifactId ... For example: commons-logging:commons-logging log4j:log4j Ian | -Original Message- | From: David Smiley [mailto:[EMAIL PROTECTED] | Sent: F

RE: assembly - renaming files

2006-07-05 Thread Ian Springer
Here's a link - http://mojo.codehaus.org/dependency-maven-plugin/introduction.html Unfortunately, I haven't used it yet myself, so I can't offer any tips. Ian | -Original Message- | From: Wojciech Biela [mailto:[EMAIL PROTECTED] | Sent: Wednesday, July 05, 2006 11:08 AM | To: Maven Use

RE: jaxp

2006-06-28 Thread Ian Springer
Sounds like you mean JAX-RPC or JAX-WS, not JAXP. | -Original Message- | From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On | Behalf Of Mykel Alvis | Sent: Wednesday, June 28, 2006 4:24 PM | To: Maven Users List | Subject: Re: jaxp | | Wrap the ant tasks for apt, wscompile and wsdeplo

RE: Precompiling JSPs with Maven 2

2006-06-23 Thread Ian Springer
Yes, there's a jspc plugin - http://mojo.codehaus.org/jspc-maven-plugin/usage.html | -Original Message- | From: Justin Akehurst [mailto:[EMAIL PROTECTED] | Sent: Friday, June 23, 2006 6:30 PM | To: users@maven.apache.org | Subject: Precompiling JSPs with Maven 2 | | Hello, I'm trying to

RE: Re: Unversioned jars revisted

2006-06-22 Thread Ian Springer
| On Thu, 22 Jun 2006 12:30:32 +0200, Jeff Mutonho wrote: | | > Hmmm...so it means there's no way M2 takes unversioned jars | , like M1 | > could? | | No idea, but if that's really the case everybody trying to | bundle WAR/RARs | and using javamail-1.4 (which is now in java.net's maven | repo)

RE: forking the report plugins

2006-06-20 Thread Ian Springer
I don't know about the fork options for each of those plugins, but another way to go would be to increase the max heap size for the Maven JVM. For either Maven 1 or Maven 2, this can be accomplished by setting the MAVEN_OPTS environment variable. For example: set MAVEN_OPTS=-Xms128M -Xmx512M Ia

RE: Goal to grab dependencies

2006-06-15 Thread Ian Springer
Try: mvn validate 'validate' is the earliest phase in the build lifecycle; it will pull down the project dependencies without too much additional overhead. -Original Message- From: Simon Bates [mailto:[EMAIL PROTECTED] Sent: Thursday, June 15, 2006 10:29 AM To: users@maven.apache.org

RE: Where to report home page documentation error(s)

2006-06-14 Thread Ian Springer
I'd create an issue at http://jira.codehaus.org/browse/MNG under the "Documentation: Guides" component. Note, you'll need to first create a Codehaus JIRA account if you don't already have one. -Original Message- From: Jimisola Laursen [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 14, 20

RE: War.bundle equivalent in maven 2

2006-06-13 Thread Ian Springer
In Maven 2, you create a separate pom of type war, and then all dependencies in that pom that are scoped at runtime (the default) are bundled in the war. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 13, 2006 9:30 AM To: users@maven.apache.org S

RE: install:install-file

2006-06-08 Thread Ian Springer
Try using the deploy plugin instead, and specify the path to your repo as a file URL via the 'url' parameter (see http://maven.apache.org/plugins/maven-deploy-plugin/deploy-file-mojo.htm l). -Original Message- From: SlinnHawkins, Jon (ELS) [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 0

RE: can maven use junit 4?

2006-06-08 Thread Ian Springer
Right, M2 doesn't support it yet, but there is an issue open for it - http://jira.codehaus.org/browse/SUREFIRE-31. I don't know about the Maven 1 test plugin. -Original Message- From: shen kai [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 07, 2006 9:23 PM To: Maven Users List Subject:

RE: package classes of a WAR as jar with war-plugin

2006-06-06 Thread Ian Springer
I recently filed a JIRA for this - http://jira.codehaus.org/browse/MWAR-45. Please vote for it. Ian -Original Message- From: Martin Goldhahn [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 06, 2006 7:44 AM To: users@maven.apache.org Subject: package classes of a WAR as jar with war-plugin

RE: forking surefire VM

2006-06-01 Thread Ian Springer
I think the default should be the same JVM that launched Maven (i.e. System.getProperty("java.home") + File.pathSeparator + "bin" + File.pathSeparator + "java"). This seems more intuitive. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Carlos Sanchez Sen

RE: Stopping Surefire from running base classes as tests

2006-06-01 Thread Ian Springer
Yes, use the excludes config param. See http://maven.apache.org/plugins/maven-surefire-plugin/test-mojo.html. Note, the default excludes include Abstract*Test[Case] so you could also just rename your base classes to begin with Abstract. Ian -Original Message- From: Martin Aspeli [mailto:[

RE: [m2] what plugin versions are used

2006-05-31 Thread Ian Springer
It probably wouldn't be too hard to write a plugin to do it. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lee Meador Sent: Wednesday, May 31, 2006 4:09 PM To: Maven Users List Subject: Re: [m2] what plugin versions are used Is there a more concise way

[M2] not being able to connect to secondary repo causes build to fail

2006-05-24 Thread Ian Springer
In addition to the central repo, I have an internal repo configured. This repo is on a VPN. When I am not connected to this VPN and I run mvn, if there are any deps that are not already in my local repo, the build fails as follows: Downloading: http://jbonqa04.staging.atl.jboss.com/jon/maven2/java