For those that may be trying to work out how excludes works I'm
posting to the list.
There is probably a JIRA issue (I haven't looked) that will address
pattern matching of excludes, there are comments in the code to
indicate that this would be a good feature.
To summarize my problem:
I have a m
Jakub Pawlowicz wrote on Monday, July 17, 2006 8:06 PM:
> Hi Jörg,
>
> Unfortunately this does not work for me, probably, because all my
> modules have the same version.
> I've installed maven-project-plugin snapshot version and my tests
> fail in the same place as before.
Then start with -X and
Hi all,
(Maven newbie, so please excuse me)
I find myself continually referring to the online plugin documentation
for options passed to the standard maven plugins such as the achetype
plugin, etc. It really isn't possible to readily memorize all the
-Doptions passed to a plugin.
Is there a way
Thanks for you answer, Edwin,
I don't really understand what's the common point between filtering files and
inserting variables in xdoc files... To make a download page, I can surely make a
filter, or just do so that the assembly plug-in copies the zip/tar files directly in
the folder that the
If you're not using version 2.0-beta-5 of the site plugin then I recommend
you try it. I had problems with module and parent links with a similar
configuration to yourself but it all worked fine once I started using
beta-5. I would also recommend the latest version of the project reports
plugin wh
Hi,
I have config files stored inside modules, because these files are used to
configure these modules. These configs are not used by the modules
themselves (and are not packed inside jars), just by the their clients. If
I have another web app or client app, I'll have to make these config
On 7/15/06, Kees de Kooter <[EMAIL PROTECTED]> wrote:
On 7/14/06, David Beckedorff <[EMAIL PROTECTED]> wrote:
> This doesn't appear to scale if you have both dev, test, prod environments
> and multiple app server environments e.g. jboss, tomcat, oc4j, weblogic.
>
> I'd like to be able to do: mv
filtering is the same as processing variables into their values.
What I'd do is create a folder where the unfiltered xdocs are placed,
and then configure the resources plugin so that it will copy/filter
those files to the folder that the assembly expects it to be.
Sebastien Pennec wrote:
T
I believe that assembly plugin could be used.
Also could run ant targets
-Original Message-
From: AK [mailto:[EMAIL PROTECTED]
Sent: 18 July 2006 07:58
To: users@maven.apache.org
Subject: Re: how to copy resources while building war
Hi,
I have config files stored inside modules, because
ok, I'll try that.
Thanks!
Edwin Punzalan a écrit :
filtering is the same as processing variables into their values.
What I'd do is create a folder where the unfiltered xdocs are placed,
and then configure the resources plugin so that it will copy/filter
those files to the folder that the a
Jira issu submitted: MRESOURCES-24 (please vote!!)
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Tarun Ramakrishna wrote on Tuesday, July 18, 2006 9:31 AM:
> Hi all,
>
> (Maven newbie, so please excuse me)
>
> I find myself continually referring to the online plugin documentation
> for options passed to the standard maven plugins such as the achetype
> plugin, etc. It really isn't possible
Hi Joerg,
Wow.. think of a feature and its already done. :-).
Thanks for the pointer!
Tarun
On 7/18/06, Jörg Schaible <[EMAIL PROTECTED]> wrote:
Tarun Ramakrishna wrote on Tuesday, July 18, 2006 9:31 AM:
> Hi all,
>
> (Maven newbie, so please excuse me)
>
> I find myself continually referri
"Sebastien Arbogast" <[EMAIL PROTECTED]> writes:
>> OTOH there's already open documentation on the Maven wiki and in Maven's
>> svn. It's not because it's open that people contribute more or that the
>> quality is better...
>IMHO, Wiki is too open, SVN is not open enough. A CMS would be a
>middle
On 7/18/06, Scott Goldstein <[EMAIL PROTECTED]> wrote:
On the Maven 2 website, there's information about a Maven plugin which
will build an eclipse project from a pom. My question is how this might
work for an Eclipse project that is building an Eclipse RCP application.
At the moment the maven
Where can I get the org.apache.maven.plugins:maven-plugins:2-SNAPSHOT (on
which maven-eclipse-plugin depends)?
--
View this message in context:
http://www.nabble.com/Please-review-maven-eclipse-plugin-tf1957911.html#a5374800
Sent from the Maven - Users forum at Nabble.com.
---
Its in SVN: http://svn.apache.org/repos/asf/maven/plugins/trunk/pom.xml
Brett said he'd deploy it... not sure if its done already or not yet.
But it should be in apache snapshots repo when deployed:
http://snapshots.maven.codehaus.org/maven2
MacHershell wrote:
Where can I get the org.apach
Hi,
I have flat structure for my projects that looks like this:
parent
module1
module2
the parent lists the modules
../module1
../module2
and each module links to the parent
org.cd.test
parent
1.0-SNAPSHOT
and when I run mvn release:prepare, it gi
Hello,
I'd like to run some tests in my multiproject maven.xml (thos tests will
run on my continuum server)
I've setup a goal in my parent maven.xml that uses reactor to execute
test:match :
I don't find a way to set testmatchpattern :
property="testmatchpattern" ..
Neither has
Hi,
I don't have any problem to download it from snapshot repo.
Testing the maven-eclipse-snapshot right now.
Stéphane.
Edwin Punzalan a écrit :
Its in SVN: http://svn.apache.org/repos/asf/maven/plugins/trunk/pom.xml
Brett said he'd deploy it... not sure if its done already or not yet.
But
Hi,
If you are successful at doing that, could you post your solution?
Thanks,
Alexander
Sebastien Pennec wrote:
ok, I'll try that.
Thanks!
Edwin Punzalan a écrit :
filtering is the same as processing variables into their values.
What I'd do is create a folder where the unfiltered xdocs
Hi Luasz,
1) Is there any chance you could send me your mojo source code and
descriptor files, I am quite new to MOJOs.
2) Using you MOJO how would you then access this value. I am trying to
think of a way of accessing the build timestamp in a
filter.properties file e.g.
filter.properties
${b
Alexander,
Until now, I've been successful at filtering the values, but no satisfying site is
generated yet.
I have this in my pom:
src/site/xdoc
generated-site
true
When I edit the generated files, the variables have been r
why not use src/site/xdoc as the targetPath and use, say
src/site/unfiltered-xdoc as the source? That way you do not need to
reconfigure the site-plugin...
Andy
Sebastien Pennec wrote:
Alexander,
Until now, I've been successful at filtering the values, but no
satisfying site is generated ye
I've tried that, and it doesn't seem to work, mainly because the ressource plug-in's
tag does directly to the ${project.build.outputDirectory} folder. It
might work using ../src/site/xdoc but then it wouldn't work anymore if the target dir
is modified.
Here is what works for me:
POM:
Andrew
... I've been too fast on the ctrl-enter shortcut, sorry.
So, here is what works for me:
In the POM:
src/site/xdocTemplates
generated-site
true
org.apache.maven.plugins
maven-site-plugin
Hello all,
I have used maven 1.0 in the past to manage my builds. I have not used it
in a while and I am trying to get maven 2 working. I am working on web
application and only have one module with is packages as a war. I have that
part working fine, but I am having trouble creating an ear for
On 7/18/06, Bill Manuel <[EMAIL PROTECTED]> wrote:
Hello all,
I have used maven 1.0 in the past to manage my builds. I have not used it
in a while and I am trying to get maven 2 working. I am working on web
application and only have one module with is packages as a war. I have that
part worki
Jeff Mutonho a écrit :
On 7/18/06, Bill Manuel <[EMAIL PROTECTED]> wrote:
Hello all,
I have used maven 1.0 in the past to manage my builds. I have not
used it
in a while and I am trying to get maven 2 working. I am working on web
application and only have one module with is packages as a
Hi,
Is it possible to create an environment variable in a pom file? I want
to create a variable in parent pom which can be accessed in child pom
files.
Thanks & Regards,
Kapil
You can use properties:
value1
value2
.
- Original Message
From: Kapil Gupta(CT) <[EMAIL PROTECTED]>
To: users@maven.apache.org
Sent: Tuesday, July 18, 2006 2:46:31 PM
Subject: How to create variable in pom file?
Hi,
Is it possible
Pete,
Unfortunately, the sourcecode belongs to my employer so I won't be able to
send it to you :( However, the Mojo is really simple. What you need to do is
to define a member variable of type Artifact (see my previous post) and then
you can access the version, etc. by invoking some methods on t
I would differentiate between building an ear for the purposes of deploying
the war for integration testing, and building an ear for distribution /
release. The latter I would create a separate project for, whilst the
former I would bind to the pre-integration-test phase of the war project
(using
Matt,
Since no one has responded...I haven't used this plugin, but it is in the
Mojo Sandbox, from which we do use other plugins. The following should help
you out with repository access issues:
http://mojo.codehaus.org/using-sandbox-plugins.html
I don't see a snapshot deployed to the above rep
Title: Identifying versions of jar files
Hi,
Can anyone tell me how to accurately identify the version of a particular jar file ?
I have been provided with a number of jars and need to place them in to a maven 2 repo, but want to ensure I get the correct version number.
TIA
Andy
Visi
Andy:
Sadly, if the author doesn't put the API version in the jar's manifest
file or it's not built into the name of the jar itself you're not going
to have a good chance at discerning the version. Your mileage may vary;
however, these are generally the only two ways of which I'm aware.
-j
I seem to recall a recent Maven User group I attended in london talking
about MD5 checksums.
Can't remember if this was a feature that was going to be exposed with
upcoming repository manager.
A
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: 18 July 2006 14:40
[EMAIL PROTECTED] wrote on Tuesday, July 18, 2006 3:40 PM:
> Andy:
>
>
>
> Sadly, if the author doesn't put the API version in the jar's manifest
> file or it's not built into the name of the jar itself you're
> not going
> to have a good chance at discerning the version. Your
> mileage may va
Right, I didn't think of that. That would assuredly work, but I don't
know if it's automated.
-jason
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 18, 2006 9:42 AM
To: users@maven.apache.org
Subject: RE: Identifying versions of jar files
I see
Marco Mistroni wrote:
hi darren,
there are problems with surefire-2.0.. i have mailed testng mailiing
lists..
if you run maven -x with both surefire-2.2 and surefire-2.0 you'llnoticd
that with 2.2 there are plenty of jars being loaded in jboss, while
with 2.0there areonly 3.. that was as far as
Hi Jörg,
I used the -X switch and I found that 'mvn test' uses module's
"target/classes" directory where 'mvn install' uses module's jar.
And then I discovered, that Spring does not handle wildcard patterns
(eg applicationContext*.xml) when looking for contexts packaged in
other jars.
So I'
I'm experiencing something that obviously shouldn't be happening but I can't
figure out why. I realized my war was getting loaded up with all sorts of
jars that shouldn't be there. Even Ant! To debug maven, I know to use "-X"
and so I do that to view the dependency tree get resolved... and my
e
Jakub Pawlowicz wrote:
> Hi Jörg,
>
> I used the -X switch and I found that 'mvn test' uses module's
> "target/classes" directory where 'mvn install' uses module's jar.
> And then I discovered, that Spring does not handle wildcard patterns
> (eg applicationContext*.xml) when looking for contexts pa
Oh... I figured out a clue to the problem. I've been using jetty (6.0.0rc0)
to test out my webapp. Jetty only loads the jars I want into its webapp
classloader. I found out that the jars that were getting into the generated
war at war:war were jetty's dependencies! So by having the jetty plugi
I'd like to produce doxygen/javadoc pages for my site and I'd like them to be
in the same style as what "mvn site" generates. Given that I'm new to maven2,
is there an equivalent to html2dox?
-
Yahoo! Music Unlimited - Access over 1 million songs
Hi Daniel,
I've just started a new thread on the Spring forums.
http://forum.springframework.org/showthread.php?t=27048
Regards,
Jakub Pawlowicz
On Jul 18, 2006, at 4:33 PM, Daniel Serodio wrote:
Jakub Pawlowicz wrote:
Hi Jörg,
I used the -X switch and I found that 'mvn test' uses module's
i have a multi-module project that looks like this:
-- parent
|-- profiles.xml
|-- pom.xml
|-- childProjectJar
|--profiles.xml
|--pom.xml
|-- childProjectEjb
|-- profiles.xml
|-- pom.xml
one profile is defined in parent/profiles.xml, and environment sp
Did you try
HTH,
-Lukas
Nicolas De Loof wrote:
Hello,
I'd like to run some tests in my multiproject maven.xml (thos tests will
run on my continuum server)
I've setup a goal in my parent maven.xml that uses reactor to execute
test:match :
I don't find a way to set testmatchpatter
Did you set the maven.ejb.client.generate variable? If yes, you should
probably file a JIRA issue (preferably with reproducible test case
attached).
-Lukas
Benoit Xhenseval wrote:
Hello
I'm upgrading to maven 1.1 (steady step towards m2... when I'll have time!)
I noticed that the ejb goal
Hi,
I want to generate the structure of a plexus component. There is an
archetype : E. Venisse deploy it on
http://snapshots.repository.codehaus.org.
How do I configure my maven2 settings to search on central and on this
particular repository?
Does archetype work with profiles settings? Why not
On 7/18/06, Laurent GRANIE <[EMAIL PROTECTED]> wrote:
I want to generate the structure of a plexus component. There is an
archetype : E. Venisse deploy it on
http://snapshots.repository.codehaus.org.
You can use -DremoteRepositories on the command line to tell it where to look.
* http://maven
Certainly looks that way. It looks like a Maven SCM bug. What SCM
system are you using?
-Original Message-
From: Ciprian Duma [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 18, 2006 5:21 AM
To: Maven Users List
Subject: prepare:release failure for flat layout project structure
Hi,
I ha
My war file is being created with the source files (i.e java files)
in it.I have defined the following in my pom to exclude *.java files ,
but doesn't seem to be working
resources>
JavaSource
Hi All,
I have a multi module with single parent as like
Parent
- SubEjbModule
- SubWarModule
- Ear
Everything works fine for me with this when in ran "mvn -e clean deply" it
creates ejb.jar.war and ear no problem.
But here if i wan
I use CVS for the test projects. I tried several times with the same
result, unfortunatelly when running mvn with trace on, it doesn't give
more information.
On 7/18/06, Mike Perham <[EMAIL PROTECTED]> wrote:
Certainly looks that way. It looks like a Maven SCM bug. What SCM
system are you usin
try to have relative path on your modules
org.cd.test
parent
1.0-SNAPSHOT
../parent/pom.xml
On 7/18/06, Mike Perham <[EMAIL PROTECTED]> wrote:
Certainly looks that way. It looks like a Maven SCM bug. What SCM
system are you using?
-Original Message-
From:
I just tried but the result is the same :(.
Does the scm url play any role? They look like this:
.../:pre_dev/maven-tests/module1
.../:pre_dev/maven-tests/module2
.../:pre_dev/maven-tests/parent
On 7/18/06, dan tran <[EMAIL PROTECTED]> wrote:
try to have relative path on your modules
I guess you stuck
http://jira.codehaus.org/browse/MRELEASE-138
release plugin expects child projects are under parent project
-D
On 7/18/06, Ciprian Duma <[EMAIL PROTECTED]> wrote:
I just tried but the result is the same :(.
Does the scm url play any role? They look like this:
.../:pre_de
Try using in the war config.
-Original Message-
From: Jeff Mutonho [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 18, 2006 11:45 AM
To: Maven Users List
Subject: Excluding java files in war
My war file is being created with the source files (i.e java files)
in it.I have defined the foll
On 7/18/06, Mike Perham <[EMAIL PROTECTED]> wrote:
Try using in the war config.
Thanx.Had that already but I think my mistake was also having this
JavaSource
za/**
There is a related JIRA ...
http://jira.codehaus.org/browse/MNG-1577
Feel free to vote for it.
Ruel Loehr
JBoss QA
-Original Message-
From: David Smiley [mailto:[EMAIL PROTECTED]
Sent: Monday, July 17, 2006 10:50 AM
To: users@maven.apache.org
Subject: Re: [m2] dependencyManagemen
I have a maven 2.0.4 build creating an ear file that I would like to
deploy to a weblogic 8.1.x container via a mvn command line.
Where do I start?
I have tried getting the maven-weblogic-plugin installed but this
doesn't seem to be working for me. I have tried the following...
mvn i
delete /org/codehaus/mojo/maven-weblogic-plugin from your local repository
and run your mvn command again. i don't know why, but if there's a pom in
that directory but no jar file, maven doesn't go to the remote repo again.
it just fails. deleting the local directory has always solved this prob
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi,
I want to know if the eclipse plugin is not only capable of creating WTP
project files but also the different J2EE projects like EJB, EAR and the
well? Anyone know how to create these?
Thanks
Markus Wolf
- --
>
> emedia-solutions wolf
> Wedeler L
The eclipse plugins create the appropriate configuration files
depending on the package of the project. Just use a "ear" o "ejb"
packaging in your pom and run eclipse:eclipse as usual
fabrizio
On 7/18/06, Markus Wolf <[EMAIL PROTECTED]> wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi,
Greetings:
Continuum 1.0.3, running on FC-4.
I've had a great experience running Continuum for our newer Maven 2
builds; however, I've been integrating our existing ant builds into
Continuum with some difficulty.
The root cause of the difficulty is somewhat outside the scope of this
list (art
Greetings:
Maven 2.0.4, Ant 1.6.5, Windows XP (also occurs on RH FC-4)
I've integrated a number of our existing Ant builds with the maven
dependency resolution mechanism. They are drawing their dependencies
from our proxy repository without difficulty.
I'm having trouble with the deployment
So I've configured my maven-surefire-report-plugin but I can't seem to
get any html output.
What lifecycle goal is this plugin associated with? How do I get html?
ya, that is a known problem that is getting fixed in continuum 1.1
which is under development right now :)
my understanding is that you can click the build all button and that
ought to reset those builds, at least I saw emmanuel mention that not
too long ago.
cheers!
jesse
On 7/18/06, [EMAIL PR
Actually at the bottom of the mvn 2 output, I see this:
[WARNING] Unable to locate Test Source XRef to link to - DISABLED
Anything in the reporting docs say everything is optional:
http://maven.apache.org/plugins/maven-surefire-report-plugin/report-mojo
.html
What am I doing wrong?
-Origi
Thanks for the quick reply. Running a build all didn't get rid of the
old "in progress" status builds, but that may simply be because I
bounced continuum since the "in progress" build hung. I suppose it's
not really a problem, just an aesthetic issue with having a messy build
history.
-jason
--
The checkstyle report produced by the site plugin has some lines that
are way to wide, with content I don't care about. How can I go about
either wrapping the lines or removing the content entirely? The content
in question is the list of options to each checkstyle rule.
K.C.
Where is the configuration page for the surefire plugin?
(not the surefire reporting plugin)
-Original Message-
From: EJ Ciramella [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 18, 2006 3:52 PM
To: Maven Users List
Subject: RE: Surefire reporting in html
Actually at the bottom of the m
When I attempt to deploy my mvn 2.04 generated ear into a weblogic
container the container throws a deployment exception due to a missing
DOCTYPE header in the application.xml that was generated by maven.
weblogic.management.DeploymentException: Error while loading
descriptors: Error processing f
Is there a guide, document or piece of code that I can look at to
determine the precedence of arbitrary version numbers? For example,
given an arbitrary artifact with the following possible versions, what
would be the order of precedence?
"10.0.0", "2.1.10", "1.0.0", "1.1.0", "1.0-alpha-1", "1.0-R
Better yet - is there a way to condense all the reports into one
comprehensive page (instead of each module having its own page)?
-Original Message-
From: EJ Ciramella [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 18, 2006 4:44 PM
To: Maven Users List
Subject: RE: Surefire reporting in h
Apparently Weblogic requires a DOCTYPE header at the top of the
application.xml file:
http://e-docs.bea.com/wls/docs81/programming/app_xml.html
You will either need to create your own application.xml with the
proper header and use it instead of the Maven-generated one, or patch
the EAR/WAR code t
It isn't only a "build all" click to do, but it's a two steps workaround.
1- restart continuum (it will reinitialize project state, but not in interface)
2- click on "build all button"
After these two steps, all will be ok.
Emmanuel
Jesse McConnell a écrit :
ya, that is a known problem that i
> The eclipse plugins create the appropriate configuration files
> depending on the package of the project. Just use a "ear" o "ejb"
> packaging in your pom and run eclipse:eclipse as usual
>
I've done exaclty that but I cant deploy my EAR project to an 'eclipse
managed server'. Therefore my quest
You have to checkout the Weblogic Maven plugin from the mojo codehaus subversion repository and build and install the
plugin manually.
Checkout the website at http://mojo.codehaus.org/weblogic-maven-plugin. You can access the SVN at:
svn://svn.codehaus.org/mojo/scm/trunk/mojo/mojo-sandbox/weblo
Report aggregation is hit and miss currently. Javadoc, javancss and
clover for instance have home-grown aggregation support but there is no
standard way to do it. For most reporting plugins, the answer is no.
-Original Message-
From: EJ Ciramella [mailto:[EMAIL PROTECTED]
Sent: Tuesday,
well, you heard the man :)
On 7/18/06, Emmanuel Venisse <[EMAIL PROTECTED]> wrote:
It isn't only a "build all" click to do, but it's a two steps workaround.
1- restart continuum (it will reinitialize project state, but not in interface)
2- click on "build all button"
After these two steps, all
I attempted to create the hello example outlined here: http://maven.apache.org/guides/plugin/guide-ant-plugin-development.html
But, I’m getting the following. See attached pom.xml.
Maven 2.0.2. Known issue?
[INFO] Scanning for projects...
[INFO]
-
Hi,
I have a strange problem... My project depends on a JAR (jstl-1.2.jar)
file that contains a package (javax.servlet.jsp.jstl.sql). The Jar is
beeing downloaded by Maven (as expected). See:
Downloading:
https://maven-repository.dev.java.net/nonav/repository/javax.servlet.jsp.jstl/jars/jstl-1.
Hi, guys
I want to write a ant mojo plugin to start hsqldb in server mode, here
is the ant script
but got java.lang.NoClassDefFoundError: org/hsqldb/Server error. I
think ${project.dependencies} is not right. Than
I am trying to run an install goal with a version parameter on the
command line. Maven (version 2) applies the version parameter to the
JAR created in the build directory but changes it to the value of
version in the POM. I've tried removing the version tag from the POM
but then Maven fails. See
Actually, with a bit of configuration of the surefire plugins, I seem to
be able to do this.
I simply change the output of the tests to all point to the same folder
in the parent directory, then the reporting plugin looks there.
Looks ok to me, is there anything wrong with this approach?
-O
Hello all,
I'm starting to convert AppFuse to be a Maven 2 project, and
(hopefully) use Maven 2's archetype system to allow users to create
new projects.
Initially, I'm thinking of a directory structure that contains many
different modules, maybe something like this:
hibernate
ibatis
core (serv
Hi Matt,
We have worked on some ideas here
http://saturnism.wordpress.com/2006/06/16/prototype/ . We can post the code
fairly easily to somehwere. I think there were talks about a war plugin
that are able to make copies of another war project into the current? But
to include lots of common fil
89 matches
Mail list logo