Generated files should go in a subdirectory of the target directory,
which should be in .cvsignore (and is automatically ignored goals which
use Maven SCM, IIRC).
There are a variety of code generation plugins around. Most of these are
built around specific types of generation (e.g. javacc,
You need to create a new packaging type. See
http://stackoverflow.com/questions/1427722/how-do-i-create-a-new-packagi
ng-type-for-maven
Justin
-Original Message-
From: nsowatsk [mailto:nsowa...@cisco.com]
Sent: Tuesday, October 27, 2009 8:53 AM
To: Maven Users List
Subject: Creating a
in the dar file, so I
think that I need to add some other code also.
I'll do that and report back.
Thanks
Nathan
On 27/10/2009 16:21, Edelson, Justin justin.edel...@mtvstaff.com
wrote:
You need to create a new packaging type. See
http://stackoverflow.com/questions/1427722/how-do-i-create-a-new
The war plugin doesn't support useTransitiveDependencies. It does,
however, support packagingIncludes and packagingExcludes, which can be
used to limit which files get placed into the WAR file. See
http://maven.apache.org/plugins/maven-war-plugin/examples/skinny-wars.ht
ml
Justin
-Original
You can do this with a second execution of the jar plugin, assuming
there's some easy way to identify the DTO and Interface classes (i.e. by
package/path or file name). See
http://maven.apache.org/plugins/maven-jar-plugin/usage.html. There was
some discussion last week about potential issues with
Without an extensive amount of work, I suspect you could bind a custom
execution of the clean plugin in the post-site phase to remove all the
html files from target/site/cobertura EXCEPT for index.html,
frame-packages.html, frame-summary.html, frame-sourcefiles.html, and
help.html. This would lead
is
confidential...
that way your links will still work ;-)
2009/10/23 Edelson, Justin justin.edel...@mtvstaff.com
Without an extensive amount of work, I suspect you could bind a custom
execution of the clean plugin in the post-site phase to remove all the
html files from target/site/cobertura
Gotta love how Nabble removes the context, forcing people to go to the
site...
Anyway, one-jar isn't a built-in descriptor:
http://maven.apache.org/plugins/maven-assembly-plugin/descriptor-refs.ht
ml
There is one here:
http://binkley.blogspot.com/2006/12/making-one-jar-with-maven.html
But I
It doesn't really make sense for src/main/webapp to be a source folder -
it doesn't contain compilable source files.
Justin
-Original Message-
From: Vincent F [mailto:vincent.fu...@sgcib.com]
Sent: Wednesday, October 21, 2009 1:22 PM
To: users@maven.apache.org
Subject:
Not quite the answer to your question, but mvn dependency:sources will download
all available source jars for a project's dependencies (including transitive
dependencies). There's no dependency:javadocs AFAIK, but it probably wouldn't
be that hard to do (based on the source of the sources
Quintin Beukes wrote:
OK, firstly you can only produce one artifact per POM.
This is not true. A POM has one GAV, but you can produce multiple artifacts
with different classifiers. For example, most Java projects using the release
plugin will have a source JAR file produced from the same POM
Those are Maven properties, not environment variables. You can't set
environment variables for the current process in Java at all, let alone
in Maven. If you're forking a new process, you may be able to set
environment variables on the subprocess via ProcessBuilder.
Justin
-Original
Here's two examples:
http://svn.apache.org/repos/asf/sling/trunk/launchpad/base/pom.xml -
creates artifacts with app and webapp classifiers which are then
used as dependencies in other projects.
http://kenai.com/projects/boxspring/sources/main/content/trunk/boxspring
-core/pom.xml?rev=125 -
Ha! I hadn't seen this. But yes, as with anything else, Maven simply
provides the tools - how you use (or abuse) them, is up to you. I think
the two examples I provided are appropriate cases for classifiers, but
reasonable people can disagree.
Justin
-Original Message-
From:
I've seen projects that do this and I don't like it. To my mind stage is a
runtime concept that your application (or, better yet, the framework your
application uses) should adapt itself to, not something which requires
different build artifacts.
Justin
-Original Message-
From: Martin
Wim-
I'm pretty sure Spring won't be doing this for 3.x, so you might want to go
ahead and migrate to the discreet artifacts now.
Justin
-Original Message-
From: Jamie Whitehouse [mailto:basil.whiteho...@genesyslab.com]
Sent: Tuesday, October 13, 2009 12:59 PM
To: Maven Users List
Did you read this thread:
http://www.nabble.com/-Maven%27s-memory--How-to-avoid-adding-the-MAVEN_OPTS-variable--td25788729.html
This should answer most of your question. As for setting it on the command
line, that's not possible AFAIK. What you can do is create multiple mvn.bat
files which
If you question is - can I use a WAR file as a dependency and get the classes
inside the WAR file added to the classpath, the answer is no. This has nothing
to do with Maven - it's Java.
-Original Message-
From: Chris Bredesen [mailto:cbrede...@redhat.com]
Sent: Wednesday, October 07,
No. Nor could their be, at least for the case you're describing. Maven's JVM
has already started by the time it parses the POM. For plugins which fork a new
VM, you may be able to provide these options. For example:
Not with wagon-scm, but you can with https://wagon-svn.dev.java.net/.
From: Open Source Dept [mailto:o...@openmaximo.net]
Sent: Mon 10/5/2009 7:14 AM
To: users@maven.apache.org
Subject: Wagon protocol 'scm' doesn't support directory copying
Hi everyone,
I'm
As far as I know, Windows has no facility for executing batch scripts
(or anything else for that matter) which are inside a JAR file. So, what
you'll need to do is copy the script to a temp directory and execute it
from there. I'm not sure how you'd do this with Ant. In a Java-based
Mojo, you
Not directly. But you can use the gmaven plugin for this type of thing.
Something like this:
plugin
groupIdorg.codehaus.groovy.maven/groupId
artifactIdgmaven-plugin/artifactId
version1.0-rc-5/version
executions
That's just how Maven works. If A depends upon B and B depends upon C, A
depends upon C transitively. It's, of course, not always this simple
because there are different dependency scopes. See the matrix in
http://maven.apache.org/guides/introduction/introduction-to-dependency-m
echanism.html.
PM, Damon Silver damon.sil...@diio.net
wrote:
For common images, say, are you putting those in a shared jar or in
a war?
If the former, how do you reference them at runtime?
- Damon
-Original Message-
From: Edelson, Justin [mailto:justin.edel...@mtvstaff.com]
Sent: Monday, September
To my mind, the only way to solve this problem is to use a repository manager
which supports routing. You would configure Maven to direct all traffic to the
repository manager and configure the repository manager with explicit rules
regarding which repositories to search for which artifacts.
You need to specify the archetype repository:
http://maven.apache.org/plugins/maven-archetype-plugin/generate-mojo.html#archetypeRepository
Justin
From: Manuel Grau [mailto:mang...@gmail.com]
Sent: Tue 9/22/2009 5:47 PM
To: users@maven.apache.org
Subject:
This is a bit of a misunderstanding. There's no restriction in Maven that only
one artifact be generated per project (also, in Maven 2, it's pom.xml, not
project.xml). There must be one primary artifact, but many (if not most) Maven
projects actually produce multiple artifacts. source and
By default, Maven will only check for updated snapshots once per day.
Are you overriding this in the settings.xml file?
Justin
On Sep 16, 2009, at 4:09 AM, Quintin Beukes quin...@last.za.net
wrote:
Everytime I build I get the following (and a couple of others,
including JARs, but all for
, 2009 at 2:37 PM, Edelson, Justin
justin.edel...@mtvstaff.com wrote:
By default, Maven will only check for updated snapshots once per day. Are
you overriding this in the settings.xml file?
Justin
On Sep 16, 2009, at 4:09 AM, Quintin Beukes quin...@last.za.net wrote:
Everytime I build I get
build. The exact same set of files.
Q
On Wed, Sep 16, 2009 at 2:37 PM, Edelson, Justin
justin.edel...@mtvstaff.com wrote:
By default, Maven will only check for updated snapshots
once per day.
Are you overriding this in the settings.xml file?
Justin
On Sep 16, 2009
I don't think it's possible to do this automatically - that would require the
war project to be aware that it was going to be included in the ear project.
There is a way to do manually. See
http://maven.apache.org/plugins/maven-war-plugin/examples/skinny-wars.html (or
using the provided scope
The pom is what's trying to be deployed:
Uploading:
https://maven.atlassian.com/contrib-snapshot/com/mtvnet/crowd/mock-crowd-server/1.0.0-alpha-3-SNAPSHOT/mock-crowd-server-1.0.0-alpha-3-20090914.161335-1.pom
It's being installed in my local repository, the deploy is what's failing.
Justin
Is there something special I need to do to get WebDAV artifact
deployment working with 2.2.1? When trying to do a deploy, I get the
error below. In looking at the release notes for 2.1.x and 2.2.x,
there's discussion of using different wagons for HTTP (httpclient vs.
lightweight), but my
Martin-
This doesn't make any sense to me. SCP and WebDAV should have nothing to do
with each other. In any case, there is an id in the distributionManagement
section and a corresponding entry in settings.xml. If not, the deploy wouldn't
have worked with 2.0.10.
Oh, an Tortoise is a SVN
if it's exactly the same - after upgrading to a
newer Maven (newer than 2.0.x), I had to specify dav:
for deployments to succeed again.
Kalle
On Mon, Sep 14, 2009 at 10:51 AM, Edelson, Justin justin.edel...@mtvstaff.com
wrote:
Martin-
This doesn't make any sense to me. SCP and WebDAV should have
It's atypical to use the install-file goal in the build lifecycle like
this. Instead, just run it on the command line one time. The plugin
docs only show that usage pattern, at least for install-file, IIRC.
Justin
On Sep 8, 2009, at 6:28 PM, rehanwmu rehan...@hotmail.com wrote:
I am
Well, you can automate with other tools (e.g. shell scripts), but why
would you automate something that happens one time?
On Sep 8, 2009, at 6:56 PM, rehanwmu rehan...@hotmail.com wrote:
thanks for quick reply but I don't want to run manually. its a part of
automation
justinedelson wrote:
repo1.maven.org blocks requests from wget. That's not a good test.
Justin
On Aug 27, 2009, at 5:50 PM, Hilco Wijbenga
hilco.wijbe...@gmail.com wrote:
2009/8/27 Alexander the.malk...@gmail.com:
Wow, maybe you should talk with your sysops?
That feels too much like fighting windmills. :-)
no.
From: solo1970 [mailto:sonia.lodoviche...@ericsson.com]
Sent: Tue 8/25/2009 11:15 AM
To: users@maven.apache.org
Subject: Can aggregator be other type than pom?
Hello,
I have the followng scenario: Currently I have 1 POM that generates a jar
file. I
When trying to run mvn site on a multi-module project which contains a Maven
plugin project, I'm getting the Error extracting plugin descriptor: 'Goal: XXX
already exists in the plugin descriptor for prefix: YYY error. This is
described in http://jira.codehaus.org/browse/MJAVADOC-224 and
http://maven.apache.org/guides/mini/guide-proxies.html
-Original Message-
From: Pilgrim, Peter [mailto:peter.pilg...@lloydsbanking.com]
Sent: Wednesday, August 12, 2009 7:17 AM
To: users@maven.apache.org
Subject: Maven 2.2.1 and NTLM Proxy
Hi
I am back on the Maven 2.2.1 list
I think you need to set failOnMissingWebXml to false in the plugin
configuration. See
http://maven.apache.org/plugins/maven-war-plugin/war-mojo.html#failOnMissingWebXml
Justin
-Original Message-
From: arungupta [mailto:arun.gu...@gmail.com]
Sent: Monday, August 10, 2009 2:15 PM
To:
It's no different than any other plugin. Something like this should
work:
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-install-plugin/artifactId
executions
execution
problem Needa try..
2009/7/30 Edelson, Justin justin.edel...@mtvstaff.com
It's no different than any other plugin. Something like this
should
work:
plugin
groupIdorg.apache.maven.plugins/groupId
I should also say that I personally think using install-file is a bad
idea when there are good repository managers available.
Justin
-Original Message-
From: Edelson, Justin
Sent: Thursday, July 30, 2009 1:13 PM
To: Maven Users List
Subject: RE: How to use mvn install but have all
build-helper:attach-artifacts attaches artifacts to the build, i.e. so
that they will be installed/deployed at the appropriate stage. This is
almost the opposite of that - the artifacts are dependencies of the
project, not part of the output of it.
Justin
From:
I think the best way to do this is through properties where you set a
default in the corporate POM and allow children to override it. If it
helps you, the open-source version of our corporate poms are on kenai:
http://kenai.com/projects/mtvn-master-pom/sources/source/show/trunk.
These are not
PM
To: Edelson, Justin
Cc: Maven Users List
Subject: RE: Corporate Parent POM
Importance: High
Hi Justin,
Thanks for your input and it is very helpful in understanding how this
can be worked out. Have another question - I am having 100 applications
in 100 different SVN repositories
/spring config
Hi Justin,
What is the license? http://www.box-spring.org/license.html doesn't yet
list one .
Brett
Edelson, Justin wrote:
This is getting a little off-topic, but I feel obliged to mention that
we recently open sourced our generalized solution for dealing with the
problem
As to your second question, m2eclipse will only index the repositories you tell
it to. Open up the Index View and you'll see the list of repos.
Justin
From: Harper, Brad [mailto:brad.har...@fiserv.com]
Sent: Fri 7/10/2009 6:00 PM
To: Maven Users List
Subject:
This is getting a little off-topic, but I feel obliged to mention that we
recently open sourced our generalized solution for dealing with the problem of
environmental-specific Spring configuration, known as BoxSpring. Our experience
with both Spring and our prior DI container lead to the
That error message means what it says - you can't create a sub-project of a
project which doesn't have a packaging of pom. When you run the
archetype:generate goal and Maven sees that there's a existing project in the
current directory, it assumes you are trying to create a sub-project
You would have to build that logic into your plugin. You could do this
with a skip parameter which would be set to true in a-maven-proj2 or by
adding some code which determines that a-maven-proj2 isn't an
appropriate target for the plugin.
Justin
-Original Message-
From: ksachdeva
It appears to me that your property name doesn't match how you have the
compiler plugin configured.
Property:
maven.target.source1.5/maven.target.source
Plugin Config:
target${maven.compiler.target}/target
Using the -X command line option or help:effective-pom is helpful in
diagnosing this
Can you use -fae to do this?
On May 18, 2009, at 12:17 PM, Stephen Connolly stephen.alan.conno...@gmail.com
wrote:
Hey, before you think this guy is crazy, surefire will do that for
you...
pre-integration-test: jetty:run daemon=true
integration-test: surefire:test testFailureIgnore=true
1) Put the binaries in src/main/resources. (make sure resource filtering isn't
enabled)
2) Watch them get compiled into your plugin's JAR file.
3) use Class.getResourceAsStream() to get an InputStream to each binary.
4) copy the bytes from the InputStream to a FileOutputStream.
No need to use
The useTestClasspath configuration option adds test classes and
resources to the classpath used by jetty:run.
Justin
-Original Message-
From: Todd Orr [mailto:torr0...@gmail.com]
Sent: Friday, May 01, 2009 11:39 AM
To: Maven Users List
Subject: Re: Jetty and using src/test/webapp
This
As Brett said below, this file would be in
/src/main/webapp/WEB-INF/applicationContext.xml. Files in
/src/main/resources ultimately end up as classpath resources, not
servlet context resources and XmlWebApplicationContext defaults to
ServletContextResource if not resource prefix is provided. To
Did you read the comment thread on that page?
From: sigi9009 [mailto:sigi9...@web.de]
Sent: Tue 4/7/2009 3:29 AM
To: users@maven.apache.org
Subject: RE: Maven - POM repository, Freemind, Confluence
and why doesn't it work?
I tried to follow this
http://maven.apache.org/POM/4.0.0 is a namespace URI, not a link.
From: sigi9009 [mailto:sigi9...@web.de]
Sent: Mon 4/6/2009 6:58 AM
To: users@maven.apache.org
Subject: Maven - POM repository, Freemind, Confluence
Hi forum,
Does somebody know the link to the
Don't use the LATEST version identifier. If you use LATEST or RELEASE,
Maven needs to access the repository to discover what the latest
version is.
But is Central really down? Working for me.
Justin
-Original Message-
From: logachandru.x.rajamanic...@jpmchase.com
Move the concrete impls of your API interfaces into a seperate module.
The only solution to cyclical dependencies is not to have them.
Justin
On Mar 25, 2009, at 8:21 AM, Giovanni Azua brave...@hotmail.com
wrote:
hi,
I have the following setup:
ProjectX-API: pure abstract layer
+10
From: B Smith-Mannschott [mailto:bsmith.o...@gmail.com]
Sent: Wed 3/25/2009 5:49 PM
To: Maven Users List
Subject: Re: Possible problem when multiple developers depend on SNAPSHOT
versions
With all due respect to others' responses, the scenario described
I'm not 100% sure I understand, but mvn deploy:deploy will do what I think
you are describing.
Justin
From: Jim McCaskey [mailto:jim.mccas...@pervasive.com]
Sent: Wed 3/25/2009 10:17 PM
To: 'users@maven.apache.org'
Subject: How to perform a deploy only
Brian can pitch his own stuff far better than I can, but this kind of
transactional deployment can be done with Nexus' Staging feature.
I realized after I sent my deploy:deploy suggestion that it probably wouldn't
work without running at least the package phase, sorry to give you bad info.
This looks like http://jira.codehaus.org/browse/SCM-406. Run svn up and
rerun release:prepare.
-Original Message-
From: Jochen Wiedmann [mailto:jochen.wiedm...@gmail.com]
Sent: Friday, March 13, 2009 6:40 PM
To: Maven Users List
Subject: Problem in release:prepare
Hi,
I am trying to
. If in the
settings.xml, where does that go and what is the syntax?
On Mar 3, 2009, at 3:08 PM, Edelson, Justin wrote:
This is very strange. It looks like an older version of the master is
being used.
If you run help:effective-pom against the master, does it correctly
show targetJdk = 1.5?
You
FWIW, I use the term master pom. We have multiple of these, so sometimes
discussions of these sounds a bit like a Jedi council what with Master Java
and Master Flex and Master Maven Plugin.
I've tried to use organizational pom in conversation, but, as you indicate,
it doesn't quite roll off
What is inside the getClassPath() method?
On Mar 3, 2009, at 8:58 AM, Roman Kournjaev kournj...@gmail.com
wrote:
Hi Folks
I am a little bit stuck here with the following problem.
I have written some custom compiler plugin that invokes the actual
compiler,
the problem is that i have to
the regular thing .. : private static String getClassPath() {
return
prop.getProperty(java.class.path, null);
}
Roman
On Tue, Mar 3, 2009 at 4:26 PM, Edelson, Justin
justin.edel...@mtvstaff.com wrote
the *project
*variable from ? I didnt see it in the AbstractMojo class?
Thanks
On Tue, Mar 3, 2009 at 4:40 PM, Edelson, Justin justin.edel...@mtvstaff.com
wrote:
I believe that will give you the class path of the current process, which
is why you're getting Maven stuff.
If you're trying to get project
that the plugin is actually running , but not
of the plugin itself , so i had to add plugin dependencies also to the
pom.xml where the plugin is configured. Is there a way to get the plugin
classpath too ?
Thanks in advnace
Roman
On Tue, Mar 3, 2009 at 4:59 PM, Edelson, Justin
justin.edel...@mtvstaff.com
itself , so i had to add plugin dependencies also to the
pom.xml where the plugin is configured. Is there a way to get the plugin
classpath too ?
Thanks in advnace
Roman
On Tue, Mar 3, 2009 at 4:59 PM, Edelson, Justin
justin.edel...@mtvstaff.com
wrote:
The project variable (which doesn't need
the
time to help with this.
http://pastebin.com/m57fb8d1e
On Mar 2, 2009, at 4:25 PM, Edelson, Justin wrote:
John-
Sorry I didn't get back to you about your 1.5 problem over the
weekend. Can you post your pom and the output of mvn
help:effective-pom to a pastebin and send the link
is the
best direction here?
On Feb 28, 2009, at 12:55 PM, Edelson, Justin wrote:
source and target are not valid configuration parameters for pmd.
The parameter is called targetJdk.
The way I deal with this problem is to have a property called
maven.java.version and then reference
target1.5/target
rulesets
ruleset/rulesets/basic.xml/ruleset
ruleset/rulesets/imports.xml/ruleset
ruleset/rulesets/unusedcode.xml/ruleset
ruleset/rulesets/finalizers.xml/ruleset
/rulesets
/configuration
/plugin
On Feb 27, 2009, at 7:25 PM, Edelson, Justin
This looks like the right directory structure to me. Each directory
with a pom.xml file would be an Eclipse project. Why do you think this
won't work?
Justin
On Feb 27, 2009, at 8:25 AM, John Wooten jwoo...@shoulderscorp.com
wrote:
I'm trying to set up the structure below which was
I believe that's a javadoc warning (not error). In addition to
maven-compiler-plugin, you also need to specify the Java version in the javadoc
plugin (in the reporting section) and, if you use it, the pmd plugin.
Justin
From: John Wooten
This use case is already met by Nexus (and, I assume, other repository
managers).
For example, go to http://repository.sonatype.org/ and search for a
class name.
Now, the results could be better in that you should be able to drill
into a library and see the fully-qualified class names contained
https://docs.sonatype.com/display/NX/Nexus+FAQ#NexusFAQ-Q.HowdoIdisablea
rtifactredeployment.
-Original Message-
From: PaulG [mailto:ps.gr...@googlemail.com]
Sent: Monday, February 23, 2009 6:04 PM
To: users@maven.apache.org
Subject: Repo release final
How do I ensure that a artifact
AFAIK, the execution of plugin goals within a phase is not configurable, at
least in Maven 2.0.x.
In order to make dependency:unpack happen before assembly:attached, just
execute dependency:unpack in an earlier lifecycle phase.
HTH,
Justin
From: Éric
I think what we can do is
give a brief guideline as to what's commonly expected and help people
create correct and useful bundles.
Clearing up the version vs. classifier issue would be a good first step.
From: Jason van Zyl [mailto:jvan...@sonatype.com]
The assembly descriptor (i.e. the file that defines the directory structure and
contents of the assembly) is a separate file from the POM. They are typically
placed in src/main/assembly/.
See http://maven.apache.org/plugins/maven-assembly-plugin/usage.html for
examples of how to configure the
Each project (defined shortly) needs to have the url, scm, and site
distributionManagement elements defined explicitly.
Project here =
* Not a module of a parent project
* May or may not have modules within it.
Justin
-Original Message-
From: Lesaint Sébastien
Write plugins to perform your validation and add them to the
preparationGoals of the release plugin.
Justin
On Jan 26, 2009, at 7:12 AM, Kent Närling kent.narl...@seamless.se
wrote:
Just asking to see if anyone wanted to do the same and hints about
the best
way of doing this:
I would
way... thanks! :-)
Will this configuration setting be inherited even if I change other
parts of
the configuration in the inherited projects? or will they then
override this
with the default empty list (removing my called plugins)?
//Kent
2009/1/26 Edelson, Justin justin.edel...@mtvstaff.com
Um, 1.2.3 is a String too.
From: Thiago Moreira (timba) [mailto:tmoreira2...@gmail.com]
Sent: Sat 1/24/2009 6:23 PM
To: Maven Users List
Subject: ${pom.version} without the SNAPSHOT part.
Hi there,
Is there a way to get only the numbers of the
Excluding the pom file can be done with this configuration of the jar plugin:
configuration
archive
addMavenDescriptorfalse/addMavenDescriptor
/archive
/configuration
As for your java package question, I would suggest building this one package as
a separate project and included it (and
Yes, it works. The file is supposed to be called settings.xml.
On Jan 15, 2009, at 6:05 AM, linchongsu sulinchong1...@gmail.com
wrote:
does the pluginGroups in the setting.xml work? anybody comes to this
problem?
On Mon, Nov 24, 2008 at 3:21 PM, 苏林冲 sulinchong1...@gmail.com
wrote:
See
http://maven.apache.org/guides/introduction/introduction-to-plugin-prefi
x-mapping.html, specifically the section labeled Configuring Maven to
Search for Plugins
-Original Message-
From: Martin Gainty [mailto:mgai...@hotmail.com]
Sent: Monday, January 05, 2009 1:33 PM
To:
You might want to try running mvn help:effective-settings.
Justin
-Original Message-
From: edgarosy [mailto:edgar.l...@gmail.com]
Sent: Friday, December 19, 2008 4:36 PM
To: users@maven.apache.org
Subject: Unable to successfully complete a mvn install on one of my apps
I have an
Right, but does it show your artifactory repository?
-Original Message-
From: edgarosy [mailto:edgar.l...@gmail.com]
Sent: Friday, December 19, 2008 5:13 PM
To: users@maven.apache.org
Subject: RE: Unable to successfully complete a mvn install on one of my
apps
When I run the mvn
This error is accurate. There's no maven-test-plugin.
test is a lifecycle phase, not a plugin.
From: John Coleman [mailto:john.cole...@eurobase.com]
Sent: Thu 12/18/2008 4:54 AM
To: Maven Users List
Subject: Test plugin
When I try to run a test plugin goal I
Did you try using additional executions of the jar plugin?
I imagine with a combination of the classifier and includes you could
accomplish this. It wouldn't be dynamic in the sense that you would need
to specify each class file in a separate execution. I suspect you'd need
to write your own
This may or may not be the expected behavior. But first, just to be clear, the
fact that the war and jar are in the same multi-module project is irrelevant.
All that matters is the ordering of dependencies and the 'closeness' of various
dependencies.
In your example, the two projectX
You might want to try using cargo instead. It should allow you to deploy
the WAR project into a container and start up that container.
Something like:
configuration
waittrue/wait
container
containerIdjetty6x/containerId
/container
configuration
deployables
deployable
Can anyone point me to good examples of plugins that use these two features:
1) DOM-based configuration
2) Getting a component from Plexus through lookup (ii.e. not via injection)
Thanks,
Justin
I seem to recall a problem where if you tried to combine JUnit 3.x and 4.x
styles (i.e. use annotation and extend TestCase), something like the below
would happen. But I'm not sure that was a Maven problem.
Justin
From: Anders Hammar [mailto:[EMAIL PROTECTED]
You should put your code in a seperate project with packaging 'jar' and then
depend upon that project from your war project. This is considered a best
practice anyway.
Justin
- Original Message -
From: Richard Chamberlain [EMAIL PROTECTED]
To: Maven Users List users@maven.apache.org
And it won't work on SVN 1.5.x
- Original Message -
From: Brian E. Fox [EMAIL PROTECTED]
To: Maven Users List users@maven.apache.org
Sent: Thu Dec 04 10:53:03 2008
Subject: RE: Limitation of the release plugin?
Yeah but it sounds like you're thinking in svn terms only. This might
not
1 - 100 of 171 matches
Mail list logo