+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
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
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
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
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
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.
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
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
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
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'
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
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
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
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
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
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
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
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
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
+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
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
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
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
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
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
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
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
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
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
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
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:[
| -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
|
| 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
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
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
--
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
| -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
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
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
| -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
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
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
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
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
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
| 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)
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
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
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
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
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
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:
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
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
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:[
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
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
57 matches
Mail list logo