I would like to compile my code as source and target for JDK 1.3.
However, I use some JDK 1.5 stuff in my tests; I would like to
configure my tests differently.
Looking at the configuration mechanism, it appears that the
granularity is at the plugin level. I can't see how to configure one
goal
Is there a way to control what the local repository is? I've done
some searching found -Dmaven.repo.local, but it doesn't work:
$ mvn install -Dmaven.repo.local=~/.m2/alt-repository
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO] Mediabank Liberte Master Project
[INFO]
I'm working on some library code which will be driven by a manifest
entry in client JARs.
I need to be able to set some mainfest entries in my JAR files.
I can't see where to do this. It seems likely for the jar plugin, but
nothing in the source or documentation indicates how to do this.
I
Missed that documentation.
You can see how the description, The maven archiver to use. is misleading.
On 7/4/06, Grégory Joseph [EMAIL PROTECTED] wrote:
Hi,
On 04/07/06, Howard Lewis Ship [EMAIL PROTECTED] wrote:
I'm working on some library code which will be driven by a manifest
entry
Does anyone know how to generate a code coverage report when using
AspectJ in a project?
The Clover plugin wants to rewrite and recompile the code, which
probably won't play well with all things aspect.
Is there a Maven2 plugin for emma or cobetura?
--
Howard M. Lewis Ship
TWD Consulting, Inc.
PROTECTED] wrote:
Hi
2006/7/26, Howard Lewis Ship [EMAIL PROTECTED]:
Does anyone know how to generate a code coverage report when using
AspectJ in a project?
Sorry, I dunno
The Clover plugin wants to rewrite and recompile the code, which
probably won't play well with all things aspect
I often would like to skip report generation under mvn site and especially
under mvn site:run, but this doesn't work.
The documentation appears to state that -DgenerateReports=false will skip
report generation.
http://maven.apache.org/plugins/maven-site-plugin/site-mojo.html
However, in
alternative if possible.
- Brett
On 05/09/06, Howard Lewis Ship [EMAIL PROTECTED] wrote:
I often would like to skip report generation under mvn site and
especially
under mvn site:run, but this doesn't work.
The documentation appears to state that -DgenerateReports=false will
skip
report
I'm trying to get my site and artifacts to deploy onto apache.org.
I'm using Mac OS X.
Here's my pom.xml entry:
distributionManagement
site
idtapestry/id
urlscpexe://people.apache.org/www/tapestry.apache.org/tapestry5//url
/site
repository
Adding -Duser.name=hlship to the command line seems to make it work when
using scpexe:
I'd prefer if there was a way to set that permenantly inside, say, my
settings.xml file.
On 11/26/06, Howard Lewis Ship [EMAIL PROTECTED] wrote:
I'm trying to get my site and artifacts to deploy onto
filePermissions775/filePermissions
/server
On 11/26/06, Howard Lewis Ship [EMAIL PROTECTED] wrote:
Adding -Duser.name=hlship to the command line seems to make it work when
using scpexe:
I'd prefer if there was a way to set that permenantly inside, say, my
settings.xml file.
On 11/26
I'm getting ready to make an initial release of Tapestry 5.
I'm having trouble finding the right incantation for building my
assemblies, signing them with GPG, and uploading them for distribution
to Apache. is there a good example for this?
So far, I have:
plugin
I'm using javadoc to scrape a set of classes and annotations to form
an XML file that, in turn, will generate some Doxia documentation as
part of my site.
I'm copying a lot of stuff from maven-javadoc-plugin.
Here's my issue: I need to run Javadoc against a doclet defined
within the plugin.
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 would both be qualified
=x.y.z to place the various
Java places in the right place under src/main/java.
But I can't find the equivalent for a resource file.
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
Any point in me looking at it at this point? The structure you have
in the quickstart matches what I'm trying to do.
On 3/3/07, Wendy Smoak [EMAIL PROTECTED] wrote:
On 3/3/07, Wendy Smoak [EMAIL PROTECTED] wrote:
Howard, can you take a look at it? It demonstrates your use case with
a
?
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
Carlos
Sanchez
Sent: mercredi 26 juillet 2006 17:29
To: Maven Users List
Subject: Re: Code coverage with AspectJ?
On 7/26/06, Howard Lewis Ship [EMAIL PROTECTED] wrote
I would like to create a Maven Report that generates a set of documents.
I've succeeded in the past with a Maven Report that generates a single
document. However, that document is getting very large.
I would like to split this document (it is a Tapestry component
report) into one document per
The direction for using the GPG plugin are:
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-gpg-plugin/artifactId
executions
execution
idsign-artifacts/id
phaseverify/phase
goals
goalsign/goal
Thanks, I'll give it a shot. Thanks for the quick reply.
On 4/25/07, Wendy Smoak [EMAIL PROTECTED] wrote:
On 4/25/07, Howard Lewis Ship [EMAIL PROTECTED] wrote:
However, this is going to run the GPG plugin every time I run install (I
tested).
...
How can I ensure that the GPG plugin
/plugin
/plugins
/build
/profile
/profiles
This works for the parent POM (mvn install does not do PGP, mvn install
-P deploy does). It does not seem to be inherited by child modules. Is
there a way to do that?
On 4/25/07, Howard Lewis Ship [EMAIL PROTECTED] wrote
My mistake; appears to be inherited!
On 4/25/07, Howard Lewis Ship [EMAIL PROTECTED] wrote:
build
pluginManagement
plugins
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-gpg-plugin/artifactId
executions
execution
I have a project with multiple modules.
I'm keeping the version numbers synced.
This ends up with a lot of repetition of the version number:
artifactIdtapestry-core/artifactId
packagingjar/packaging
version5.0.5-SNAPSHOT/version
parent
groupIdorg.apache.tapestry/groupId
When will there be a version of surefire that lets me use the current TestNG
(5.5) that is not an alpha?
On 5/3/07, Martin Gilday [EMAIL PROTECTED] wrote:
The TestNG docs have been updated to cover the current state of play in
getting Maven, Surefire and TestNG working together.
I do what I can to test and provide useful feedback, but I'm generally using
Maven in the context of my own open source project (Tapestry) and so it is
difficult for me to stray beyond full releases to snapshots for more than a
quick check. I don't want to check in anything that depends on a
So, I'm missing something about reports.
I want to include a clover report in my site documentation.
I've added an entry to my pom.xml:
plugin
artifactIdmaven-clover-plugin/artifactId
/plugin
And my site.xml includes ${projects} (the standard set do
: Howard Lewis Ship [mailto:[EMAIL PROTECTED]
Sent: vendredi 18 novembre 2005 18:02
To: users@maven.apache.org
Subject: Missing something about reports
So, I'm missing something about reports.
I want to include a clover report in my site documentation.
I've added an entry to my
. Although I haven't
used Tapestry or Hivemind, I've heard a lot of good things. So I hope that
my reading of a Ship-Maven rapprochement are correct.
Thanks,
Ken
-Original Message-
From: Howard Lewis Ship [mailto:[EMAIL PROTECTED]
Sent: Friday, November 18, 2005 2:15 PM
To: Maven Users
Is there a built in goal for creating a tarball (.tar.gz) from a site
(i.e., the result of the site goal?).
This is for deployment onto hosts that don't support direct login or
ssh copy (I'm thinking either my hosted home page, or javaforge.com).
In those cases, you can upload a .tar.gz and have
I'm in the process of converting my project (HiveMind) from an Ant
build to Maven 2.0.
We have a compile-time dependency on Groovy.
I've tried the following:
dependency
groupIdgroovy/groupId
artifactIdgroovy-all/artifactId
version1.0-jsr-03/version
Things suddenly clicked for me:
dependency
groupIdgroovy/groupId
artifactIdgroovy-all-1.0-jsr/artifactId
version03/version
scopecompile/scope
/dependency
On 12/10/05, Howard Lewis Ship [EMAIL PROTECTED] wrote:
I'm in the process
I have a parent POM that includes the following plugin
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-assembly-plugin/artifactId
executions
execution
phasepackage/phase
-
De : Howard Lewis Ship [mailto:[EMAIL PROTECTED]
Envoyé : vendredi 24 février 2006 22:05
À : users@maven.apache.org
Objet : Overriding parent plugin configuration in a module
I have a parent POM that includes the following plugin
plugin
OK, I'm getting very twisted up on configuration.
I want to compile my production code for JDK 1.3, and my test code for JDK 1.5.
As I understand it, the following should do that:
plugin
groupIdorg.apache.maven.plugins/groupId
OK, moving the plugin element from the parent POM to the module POM
fixes things; it works as expected.
So my question is: How can I set this behavior in the parent POM?
On 3/19/06, Howard Lewis Ship [EMAIL PROTECTED] wrote:
OK, I'm getting very twisted up on configuration.
I want to compile
: http://jira.codehaus.org/browse/MCOMPILER-15 as a result. You
might like to watch/vote for it. It should be something we are able to
support properly, but that workaround should work in either parent or
individual module in the mean time.
On 3/20/06, Howard Lewis Ship [EMAIL PROTECTED] wrote:
OK
When you get a chance, you can pull the latest HiveMind source from
SVN and build and experiment.
On 3/19/06, Brett Porter [EMAIL PROTECTED] wrote:
On 3/20/06, Howard Lewis Ship [EMAIL PROTECTED] wrote:
Does skiptrue/skip mean skip the normal mojo? I can't quite track
why one skip is false
Here's what I want to do:
Compile some of the classes under src/main using JDK 1.3
Compile the remainder of the classes under src/main using JDK 1.5 (for
annotations).
The goal is to have a single JAR that provides support for JDK 1.3 and
annotation support when JDK 1.5 is present. The JDK
.
The compiler plugin needs to be made more flexible. I'll make a note
to revisit entirely. It would make a good use case for a rethink of
lifecycle declaration in Maven 2.1.
In the mean time, I'd suggest using the antrun plugin to compile your
annotation sources.
Cheers,
Brett
On 3/27/06, Howard Lewis
Yes, a 2.0.4 release is now available. I'm sure there's some
differences between 2.0.3 and 2.0.4 but I can't find any documentation
about what those are. Why sould I upgrade?
--
Howard M. Lewis Ship
Independent J2EE / Open-Source Java Consultant
Creator, Jakarta Tapestry
Creator, Jakarta
Found it:
http://mail-archives.apache.org/mod_mbox/maven-announce/200604.mbox/browser
Would it be too hard to include this information on the web site as well?
On 4/11/06, Howard Lewis Ship [EMAIL PROTECTED] wrote:
Yes, a 2.0.4 release is now available. I'm sure there's some
differences
It seems to me that a lot of documentation in the site.xml file
duplicates data from the pom.
I've tried putting things like ${project.version} and ${project.url}
in site.xml, but it is not expanded.
Are there any other magic markers like ${reports}? Is there a way to add others?
--
Howard M.
What are the differences between ${pom.foo} and ${project.foo}? Is
${pom.foo} a reference to something in the local module, and
${project.foo} a reference to the containing project? Head's kind of
spinning on this.
--
Howard M. Lewis Ship
Independent J2EE / Open-Source Java Consultant
Creator
There doesn't seem to be an equivlant to pluginManagement and
dependencyManagement for configuring reports in child projects.
--
Howard M. Lewis Ship
Independent J2EE / Open-Source Java Consultant
Creator and PMC Chair, Apache Tapestry
Creator, Jakarta HiveMind
Professional Tapestry training,
I think there needs to be some additional POM elements that allows a
parent POM to provide defaults to a child POM that are different from
the values used by the parent POM itself.
Here's an example:
In my parent POM, I want to say
urlhttp://tapestry.apache.org/tapestry5//url
But I want all
Recently, the Maven archetype plugin has broken in an incompatible
way. Documented here http://jira.codehaus.org/browse/ARCHETYPE-236.
New archetypes (generated from the same source as previously working
ones) no longer work.
The problem is wide spread:
Yes, that's the bug I added and mentioned in my posting to this mailing list.
On Fri, Apr 3, 2009 at 5:22 PM, Martin Gainty mgai...@hotmail.com wrote:
http://jira.codehaus.org/browse/ARCHETYPE-236
Martin
__
Disclaimer and confidentiality note
helplessness upon its users.
-Original Message-
From: Howard Lewis Ship [mailto:hls...@gmail.com]
Sent: Friday, April 03, 2009 8:31 PM
To: Maven Users List
Subject: Re: Maven Archetype Plugin is Hosed --- and nobody cares
Yes, that's the bug I added and mentioned in my posting
Thanks to Raphaël Piéroni the error was found: there was an extra
directory element in my archetype-metadata.xml. This was not
reported at all by Maven.
You should convert:
fileSet filtered=true packaged=false
directorysrc/test/resources/directory
49 matches
Mail list logo