in such a project, or if anyone has tried
anything like it so far.
Not to my knowledge - go for it.
--
Eric Redmond
http://www.coderoshi.com/
sorry... Mac attack.
On 12/11/07, Eric Redmond [EMAIL PROTECTED] wrote:
On 12/11/07, Kallin Nagelberg [EMAIL PROTECTED] wrote:
As much 'fun' as developing enterprise java applications with Maven is,
I
would like to think that developing games with Maven would be even
better
those
tutorials.
I think he meant the Java Gaming Tutorials, not the Maven tutorials. ;)
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Eric Redmond
http
Other than a custom .vm template, have you tried single quotes?
--
Eric Redmond
http://www.coderoshi.com/
On 9/28/07, Wendy Smoak [EMAIL PROTECTED] wrote:
Has anyone successfully included JavaScript in xdoc rendered by the
site plugin? Brian ran into this trying to add Google search
Are you talking about a property? Like:
mvn compile -Dmyprop=value
POM:
project
...
dependency
...
version${myprop}/version
Like that?
--
Eric Redmond
http://coderoshi.blogspot.com/
On 10/1/07, morrison19 [EMAIL PROTECTED] wrote:
Is it possible to pass in a custom argument
This functionality already exists. The problem is: the current help plugin
needs expanded, and more importantly, many plugins/mojos don't document
themselves correctly.
--
Eric Redmond
http://blog.propellors.net
On 9/27/07, Lally Singh [EMAIL PROTECTED] wrote:
I put in some suggestions
Yeah - you can acutally find where the error is most of the time by running
mvn -e [blah:blah]
It's in the stack trace. But you're right, one would hope it would print to
the screen.
--
Eric Redmond
http://blog.propellors.net
On 9/27/07, Lee Meador [EMAIL PROTECTED] wrote:
The way I usually
on their own - consider it a first test.
--
Eric Redmond
http://blog.propellors.net
On 9/26/07, Brian E. Fox [EMAIL PROTECTED] wrote:
A common theme in the maven is hard thread is bad documentation and
I'd like to explore this a little. For the sake of discussion, lets
separate the plugin docs from
--
Eric Redmond
http://blog.propellors.net
On 9/18/07, Philip Constantinou [EMAIL PROTECTED] wrote:
Hi -
I'm struggling a little with setting up an inhouse repository.
I've been looking at:
http://www.sonatype.com/book/repository.html#creating_an_in-house_repository
but the documentation
Why can't you just use ${myProp1} ? Why go through the trouble of refering
via project.properties?
--
Eric Redmond
http://blog.propellors.net
On 8/23/07, William Ferguson [EMAIL PROTECTED] wrote:
In a resource filter, I can specify tokens like:
token1=${project.version}
token2
to
convert would be the POM which would be much more straightforward.
--
Eric Redmond
http://blog.propellors.net
On 8/22/07, Nick Stolwijk [EMAIL PROTECTED] wrote:
It's not that I want to go back, but for my employer I need to deliver a
project in Maven 1, while I prefer working in Maven 2. If I can
Not to be rude - but how hard did you search?
http://maven.apache.org/articles.html
But more to the point, that should not happen. Best to paste the error...
for starters, try running:
mvn -e archetype:create
--
Eric Redmond
http://blog.propellors.net
On 8/22/07, Jean-Philippe Steinmetz
, at 2:52 PM, Eric Redmond wrote:
Write a POM in 1/3 the lines with YAML. Not suggested for beginners
- this
is just a fun experiment.
http://blog.propellors.net/2007/08/maven-less-ugly.html
I wouldn't normally condone replacing your pom.xml with pom.yml files
- but it's a simple way
. This gives you a single point of management for dependency
configurations like versions, or exclusions.
--
Eric Redmond
http://blog.propellors.net
Thanks
Robert Egan
This email message and any attachments may contain confidential,
proprietary or non-public information. The information
On 8/21/07, [EMAIL PROTECTED] [EMAIL PROTECTED]
wrote:
Eric Redmond [EMAIL PROTECTED] wrote on 08/21/2007 12:12:55 PM:
On 8/21/07, [EMAIL PROTECTED] [EMAIL PROTECTED]
wrote:
I have a question that I hope isn't too basic. I've been trying to
reconcile the behavior of dependency
immensely, since now Maven has
to check the remote repo for released artifacts, which has a cost (increased
network traffic, latency)
--
Eric Redmond
http://blog.propellors.net
Thanks and Regards,
Farhan.
-
To unsubscribe, e-mail
is not latest) and hence maven build would get
the latest from the public repository.
Depends on when you last ran a build. updatePolicy is daily, by default, but
you can force the snapshot to update immediately with the -U flag in the
command-line.
--
Eric Redmond
http://blog.propellors.net
Farhan
You have to add an extension block in your POM to use webdav.
http://maven.apache.org/guides/mini/guide-using-extensions.html
--
Eric Redmond
http://blog.propellors.net
On 8/20/07, Borut Bolčina [EMAIL PROTECTED] wrote:
Hello,
why are not all the neccesary jars included in 2.0.7 to support
by any means
necessary.
--
Eric Redmond
http://blog.propellors.net
Not currently... that is something that should be available in 2.1.
--
Eric Redmond
http://blog.propellors.net
On 8/13/07, William Ferguson [EMAIL PROTECTED] wrote:
Is there any way to get Maven to output the liefecycle pahsaes as it is
executing them?
It displays the plugin and goal
,
but that seems not to work?!
No idea.
--
Eric Redmond
http://blog.propellors.net
TIA
John
Eurobase International Limited and its subsidiaries (Eurobase) are unable
to exercise control over the content of information in E-Mails. Any views
and opinions expressed may be personal
Well, 2.1 is a lot cooler than 2.0.x - however, I would tend to stay away
for now unless you want to get involved in the core - it's not THAT stable.
At least wait until the alpha release, which should be coming around in a
month or so.
--
Eric Redmond
http://blog.propellors.net
On 8/8/07, Ryan
Try running:
mvn dependency:tree
http://maven.apache.org/plugins/maven-dependency-plugin/tree-mojo.html
--
Eric Redmond
http://blog.propellors.net
On 8/9/07, Saminda Abeyruwan [EMAIL PROTECTED] wrote:
Hi All,
Please bare with me, is there a maven2 command to analyse the transient
Hm... looks like artifacts aren't deployed along side the site. If only
there was some sort of tool where deployments could be synched up... perhaps
daily or even weekly.
But apparently, no tool like that must exist ;)
--
Eric Redmond
http://blog.propellors.net
On 8/9/07, Jason Pringle [EMAIL
I hope you understand that antrun is meant to be a stop-gap solution - a
way to ensure your ant code works in your project. Now that you have your
project working you should really consider creating a plugin:goal using the
script so you can extract ant from your pom.
--
Eric Redmond
http
QDox has been fixed on this for a while, but Maven plugins use the older
version (1.6) and still do not support Java 5 (unless you want to manually
install the code in trunk).
--
Eric Redmond
http://blog.propellors.net
On 8/8/07, Insitu [EMAIL PROTECTED] wrote:
Hello,
While writing a plugin
Have you checked out NAR?
http://java.freehep.org/freehep-nar-plugin/intro.html
--
Eric Redmond
http://blog.propellors.net
On 8/8/07, Dan Corneanu [EMAIL PROTECTED] wrote:
Hi,
I have a module comprising of java source files and some DLL shared
libraries.
Clients using this module must
I don't say this often, but this is a good question for the dev list - or
hop on IRC.
--
Eric Redmond
http://blog.propellors.net
On 8/7/07, William Ferguson [EMAIL PROTECTED] wrote:
What lifecycle phase needs to have run in order to get provided scope
dependencies made available in a plugin
Redmond
http://blog.propellors.net
On 8/8/07, Insitu [EMAIL PROTECTED] wrote:
Eric Redmond [EMAIL PROTECTED] writes:
QDox has been fixed on this for a while, but Maven plugins use the older
version (1.6) and still do not support Java 5 (unless you want to
manually
install the code in trunk
/parsers.
Do you have to use flex/bison? Can you use antlr or javacc?
--
Eric Redmond
http://blog.propellors.net
On 8/8/07, Thomas Jackson [EMAIL PROTECTED] wrote:
Does anyone know of any plug-ins for Maven that will generate files
using flex and bison
testResources files get copied to the testOutputDirectory. Using surefire,
the testOutputDirecotry files should take precedence.
--
Eric Redmond
http://blog.propellors.net
On 8/8/07, Ryan Moquin [EMAIL PROTECTED] wrote:
If I have this in my pom:
build
resources
resource
Create a settings.xml file and put it in your home account's
~/.m2/settings.xml
settings
localRepository/a/dir/you/can/access/localRepository
!-- ... whatever else you want... --
/settings
Maven (quite rightly) assumes you have write access to your local repo.
--
Eric Redmond
http
I wrote a little bit about it here - though I suppose it wouldn't hurt going
into more depth.
http://www.sonatype.com/book/repository.html#tips_and_tricks
Please read, and request any clarifications so I can fix the book. Thanks :)
--
Eric Redmond
http://blog.propellors.net
On 8/8/07, Insitu
Ah, was not aware. Glad it's gotten fixed - I tend to run 2.1 anymore.
On 8/8/07, Max Bowsher [EMAIL PROTECTED] wrote:
Eric Redmond wrote:
testResources files get copied to the testOutputDirectory. Using
surefire,
the testOutputDirecotry files should take precedence.
Actually
. Welcome to
convention over configuration :)
--
Eric Redmond
http://blog.propellors.net
On 8/6/07, Jörg Schaible [EMAIL PROTECTED] wrote:
Oscar Picasso wrote on Wednesday, August 01, 2007 7:31 PM:
The current Maven behaviour is fine for multimodule projects.
However I am trying to write
#a_structure_for_goal_execution
--
Eric Redmond
http://blog.propellors.net
On 8/6/07, nicolas de loof [EMAIL PROTECTED] wrote:
The ant code required to make the generator work is huge, and duplicating
it
would be worst as running it twice.
Thanks anyway for the suggestion
2007/8/6, Wayne Fay [EMAIL PROTECTED
and COSCON
does not accept legal responsibility for the contents of this message.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Eric Redmond
http://blog.propellors.net
)
but is common enough to standardize.
--
Eric Redmond
http://blog.propellors.net
On 8/4/07, Victor Bendig [EMAIL PROTECTED] wrote:
Hi,
Have a couple of questions around databases and maven,
1. Does Maven create standards for database development?
2. Is there a plugin that handles the lifecycle
Well, sure. I think we can all agree that the default answer to any of these
kinds of questions is just do it the default Maven way. I presumed he was
dealing with a legacy layout - otherwise why the hell would you use CVS
anyway? :)
--
Eric Redmond
http://blog.propellors.net
On 8/7/07, Dave
That is something coming in the new re-write of archetype. I'm surprised
it's not out yet.
--
Eric Redmond
http://blog.propellors.net
On 8/2/07, Mick Knutson [EMAIL PROTECTED] wrote:
I have started creating archetypes, and want to know if anyone has created
a
batch file already that would
That's fine, then stick them in the settings.xml. But you missed my point:
env access via properties won't be around in the next version of Maven, so
they aren't a good suggestion.
Eric
On 7/31/07, Graham Leggett [EMAIL PROTECTED] wrote:
Eric Redmond wrote:
I would stick to -D options. env
?
Thanks
Oscar
--
Eric Redmond
http://blog.propellors.net
Have you tried binding assembly:attached to the packaging phase? I don't
know which would execute first (std package or assembly), but it might be
worth a short. In 2.1 the pre-package phase will be added, so things like
this should be easier to deal with in a consistent way.
--
Eric Redmond
That's curious - makes me think a transative dep of junit is not found?
Natrually skipping the test will work, since maven.test.skip also skips test
compilation, however, what version of junit are you using?
--
Eric Redmond
http://blog.propellors.net
On 7/31/07, Ian Dunlop [EMAIL PROTECTED
I second Wendy's or Michael's suggestions - avoid system scope at all costs.
Moreover, it may be removed in future versions of Maven, so don't depend on
it being there forever. May as well make preperations now :)
--
Eric Redmond
http://blog.propellors.net
On 7/30/07, Wendy Smoak [EMAIL
Yeah, it was added in 2.0.1, iirc. So he could specify version 2.0.1 if he
wants to stick to a defined version (which I like to do).
--
Eric Redmond
http://blog.propellors.net
On 7/31/07, Wayne Fay [EMAIL PROTECTED] wrote:
No, in all likelihood, version 2.0 of the war plugin did not have
I don't remember includeBaseDirectory being a valid element under
dependencytSet. Try removing it, and re-running the assembly by first
running clean:
mvn clean assembly:assembly
--
Eric Redmond
http://blog.propellors.net
On 7/30/07, Petar Tahchiev [EMAIL PROTECTED] wrote:
Andrew hi
That's unfortunate... looks like you'll have to wait until 2.1 for a better
solution :(
--
Eric Redmond
http://blog.propellors.net
On 7/31/07, nicolas de loof [EMAIL PROTECTED] wrote:
Doesn't work in any way (assembly:*) when the assembly plugin is
configured
to run during package phase
Are your tests actually using the 4.0 annotations, or the old
reflection-based execution (methods prefixed w/ test*). If the latter, try
using junit 3.8.2 - which has always worked for me on Mac.
--
Eric Redmond
http://blog.propellors.net
On 7/31/07, Ian Dunlop [EMAIL PROTECTED] wrote:
Hello
--
--
Eric Redmond
http://blog.propellors.net
of plugins is a risk, and we would really like the ability to recreate a
build from source control and Maven as we do with other war deliverables.
Thanks.
--
Eric Redmond
http://blog.propellors.net
-Original Message-
From: Eric Redmond [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 24 July 2007 11:22 PM
To: Maven Users List
Subject: [***POSSIBLE SPAM***] - Re: dependency-plugin without forking -
Email has different SMTP TO: and MIME TO: fields in the email addresses
dependency:analyze is meant
the sender.
--
Eric Redmond
http://blog.propellors.net
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Eric Redmond
http://blog.propellors.net
causing
the phases to execute again?
We are using maven-dependency-plugin:2.0-alpha-4 and maven-2.0.7
William
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Eric Redmond
.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Eric Redmond
http://blog.propellors.net
? Is this a known issue of some sort?
I managed to crash into this headlong today... :)
On 6/7/07, Eric Redmond [EMAIL PROTECTED] wrote:
Sounds like one of your modules has a dependency on a project that
generates
a test-jar. Sorry to say, but you actually have to run mvn install -
so
the test-jar can
Sorry - not bundles projects but artifact resolution - meant to say
projects need to be resolved beforehand - made sense in my head :)
Eric
On 7/10/07, Eric Redmond [EMAIL PROTECTED] wrote:
It is a known issue with the way the reactor currently bundles projects.
It's being worked
javadoc:jar to the
package lifecycle?
Andreas
-Original Message-
From: ext Eric Redmond [mailto:[EMAIL PROTECTED]
Sent: 01 July, 2007 03:28
To: Maven Users List
Subject: Re: produce html and pdf javadocs in one go
Sure there's a way:
http://sourceforge.net/projects/pdfdoclet/
http
to default lifecycle. So question is HOW TO
ATTACH
MOJO to *SITE LIFECYCLE*!
Add it manually - like I showed you above
There is really nobody who tried to execute mojo in *pre-site* phase?!
Yes, all the time.
Thanks a lot,
Libor
On 7/1/07, Eric Redmond [EMAIL PROTECTED] wrote:
Try: @phase pre
/build
But when I execute mvn pre-site or mvn site my mojo is not executed. :-(
What did I miss? What should I also configure?
Thanks for your hints.
Libor
--
Eric Redmond
http://www.sonatype.com
/verbose
forktrue/fork
/configuration
/plugin
Is this a bug?
Paul Spencer
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Eric Redmond
http://www.sonatype.com
point me to.
Thanks a ton!
- Billy -
--
Eric Redmond
http://www.sonatype.com
PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Eric Redmond
http://www.sonatype.com
it? :)
Andreas
--
Eric Redmond
http://www.sonatype.com
...
-Original Message-
From: Eric Redmond [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 19, 2007 1:46 AM
To: Maven Users List
Subject: Re: 0-Snapshot numbering for classifiers
Sure, I understand the desire to write code rather than learn a
specification like assembly - however, your ability to find
[EMAIL PROTECTED] wrote:
I am more comfortable writing a specific plugin to do this because we
want to introduce custom tags in the pom and assembly wouldn't allow us
to do.
If it can be done through code, it would be perfect !
-Original Message-
From: Eric Redmond [mailto:[EMAIL PROTECTED
parsing, this has to be implemented somewhere
in the Maven source code, since Maven has to do version comparisons all
the time.
Anybody know in what source module Maven does this kind of
decomposition?
Steve
--
Eric Redmond
http://www.sonatype.com
-for-classifiers-tf3927571s177.html#a11138790
Sent from the Maven - Users mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Eric Redmond
http
sourceDirectoryejbmodule/sourceDirectory
/build..
so the ejb-jar.xml is in /ejbmodule/META-INF directory
what is the proper path to place that file? how can I override that
default
setting?
--
Eric Redmond
http://www.sonatype.com
.pom files to contain only minimum required to make
transitive dependencies work.
cheers,
Nathan
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Eric Redmond
http
) constructor takes a string and
parses into major, minor, incremental, build number and qualifier.
Eric
Steve
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Eric Redmond
http
, currently they are at 1.0-SNAPSHOT, final version will be
1.0.
What version can I use (with preferably the time stamp in the version)?
regards,
Wim
--
Vigilog - an open source log file viewer: http://vigilog.sourceforge.net
Blog: http://www.jroller.com/page/Fester
--
Eric Redmond
http
-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Eric Redmond
http://www.sonatype.com
at http://ca.answers.yahoo.com
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Eric Redmond
http://www.sonatype.com
http://maven.apache.org/plugins/maven-war-plugin/examples/war-manifest-guide.html
Eric
On 6/14/07, Farrukh S. Najmi [EMAIL PROTECTED] wrote:
Hi Eric,
The docs are not obvious to me. Do I need to write code for this?
If not, can you give an example please. Thanks.
Eric Redmond wrote:
I'm
PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Eric Redmond
http://www.sonatype.com
and web. core will have all the classes and hibernate
mapping. web module will have all the web mvc classes, web has a
dependency on core. I get everything to work except I dont know how to get
the web module to read the hbm.xml files that's in the core's jar file.
Thanks.
-John
--
Eric Redmond
http
explain a bit how this can happen ?
greets,
Jens
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Eric Redmond
http://www.sonatype.com
--
Eric Redmond
http://www.sonatype.com
!
http://spaces.live.com/spacesapi.aspx?wx_action=createwx_url=/friends.aspxmkt=en-us
--
Eric Redmond
http://www.sonatype.com
--
Eric Redmond
http://www.sonatype.com
Blog post about the Maven book PDF:
http://blogs.sonatype.com/
Wiki article about investing in infrastructure with Maven:
http://meopedia.com/en/InvestingInInfrastructure
--
Eric Redmond
http://www.sonatype.com
is.
Can anyone give me a clue ...
Thanks
Daniel Ore
--
Eric Redmond
http://www.sonatype.com
-info.html
project-reports.html
surefire-report.html
I'm using version 2.0-beta-5 of the web site plugin.
Any suggestions on how to get this to work?
Thanks,
Ian
--
Eric Redmond
http://www.sonatype.com
PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Eric Redmond
http://codehaus.org/~eredmond
-codehaus-org.hardfail=false
#Cache this repository for 1 hour
repo.snapshots-maven-codehaus-org.cache.period=3600
repo.snapshots-maven-codehaus-org.cache.failures=true
#If a Proxy is needed, which one?
#repo.dist-codehaus-org.proxy=one
--
Eric Redmond
http://codehaus.org/~eredmond
-mail: [EMAIL PROTECTED]
--
Eric Redmond
http://codehaus.org/~eredmond
classifier key, such as wintest, as opposed to
macosdev.
Eric
Regards
Mark
On Apr 14, 2007, at 11:15 AM, Eric Redmond wrote:
On 4/14/07, Mark Donszelmann [EMAIL PROTECTED]
wrote:
Hi
On Apr 13, 2007, at 2:00 PM, Christian Goetze wrote:
On 4/13/07, Mark Donszelmann [EMAIL PROTECTED]
wrote
notify the sender immediately by reply e-mail and delete
the original and all copies from your system.
--
Eric Redmond
http://codehaus.org/~eredmond
Unix Professional
[EMAIL PROTECTED] AIM: redcowdawg YIM: blue_cowdawg
Those who fail to learn from history are condemned to repeat it.
--
Eric Redmond
http://codehaus.org/~eredmond
if eclipse is not installed. Can I do this via profiles?
Any help is greatly appreciated!
Best regards,
Steffen Mazanek
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Eric
}
${localRepository}
I try to pass them as a parameter in the plugin metadata file.
Any help will be highly appreciated.
Thanks,
Rahul
6605
--
Eric Redmond
http://codehaus.org/~eredmond
,
I wondered if it's possible to use the old Maven1 Jelly-Scripts in Maven2.
Is this possible?
Thanks for your help.
Christian
--
Eric Redmond
http://codehaus.org/~eredmond
]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Eric Redmond
http://codehaus.org/~eredmond
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Eric Redmond
Or the source plugin. I tend to use assembly because it is more flexible -
but source is straightforward enough:
http://maven.apache.org/plugins/maven-source-plugin/
On 3/23/07, Eric Redmond [EMAIL PROTECTED] wrote:
Do not do that. It's telling Maven that the source is a resource and to
treat
]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Eric Redmond
http://codehaus.org/~eredmond
/
/configuration
but what do i put there to incorporate my log4j.properties onto the
classpath?
Thanks
Adam
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Eric
-settings.html
--
Wendy
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Eric Redmond
http://codehaus.org/~eredmond
1 - 100 of 292 matches
Mail list logo