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,
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
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
I've posted the answer to this a few time on this user list
A
-Original Message-
From: Srinivas Pavani [mailto:[EMAIL PROTECTED]
Sent: 13 July 2006 19:51
To: users@maven.apache.org
Subject: m2 multiple war files with some common code
Can someone shed some light on how to setup maven2
Title: Effective-pom and junit M2
Hi,
I have a multi project set-up in M2 - version 2.0.4. I have set up a pom containing things that I want to apply across all modules
(such as certain reports - PMD, Macker, Checkstyle, etc).
If I include a dependency management in there (e.g)
Hi I have a similar setup and deploy struts, spring, etc in the ear by
including them as dependencies in the ear
I use manifest classpaths within wars to externalise dependencies there
are a number of ways to do the classpath stuff, I list the ones I know
below.
I also had this problem, and it
Thanks Kenney
A
-Original Message-
From: Kenney Westerhof [mailto:[EMAIL PROTECTED]
Sent: 12 July 2006 12:26
To: Maven Users List
Subject: Re: Effective-pom and junit M2
On Wed, 12 Jul 2006 [EMAIL PROTECTED] wrote:
Hi,
Dependencies specified in dependencyManagement are not added as
Sounds like you are behind a firewall.
Try setting up the proxies section in your settings.xml
proxies
proxy
activetrue/active
protocolhttp/protocol
usernameENTER YOUR USER NAME/username
Have you thought about using dependency injection framework to cater for
this ?
A
-Original Message-
From: Jose Gonzalez Gomez [mailto:[EMAIL PROTECTED]
Sent: 11 July 2006 12:53
To: Maven Users List
Subject: Best practices in testing Hibernate/EJB3 POJOs (or doing
database tests)
Hi
Leave the setttings xml where it is, configure the repository location
in there as described in the settings.xml file ...
Why would you have to put repository in same directory as project though
?
A
!-- localRepository
| The path to the local repository maven will use to store artifacts.
net.sourceforge.pmd.rules.AvoidDuplicateLiteralsRule
Do I have to have pmd jar files on a classpath (or in repository and
have some dependencies set up) ?
Cheers
Andy
-Original Message-
From: Davies, Andrew-A
Sent: 04 July 2006 12:44
To: 'Maven Users List'
Subject: RE: maven-pmd
that class
net.sourceforge.pmd.rules.AvoidDuplicateLiteralsRule
Do I have to have pmd jar files on a classpath (or in repository and
have some dependencies set up) ?
Cheers
Andy
-Original Message-
From: Davies, Andrew-A
Sent: 04 July 2006 12:44
To: 'Maven Users List'
Subject: RE: maven-pmd
Sorry about delayed response - been away 4 a couple of days.
No using JDK 1.4.2. Will try PMD alone to confirm, then try specific
version.
Will vote if I see
Rgds
Andy
-Original Message-
From: Doug Douglass [mailto:[EMAIL PROTECTED]
Sent: 29 June 2006 18:33
To: Maven Users List
Heiko,
I have the same issue. Except that only a blank page is created.
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-pmd-plugin/artifactId
/plugin
I also use JXR for cross referencing java
plugin
I haven't specified a version. My POM looks like
reporting
plugins
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-pmd-plugin/artifactId
configuration
Try this for setting up repositories
http://docs.codehaus.org/display/MAVENUSER/Creating+the+repositories
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: 28 June 2006 12:02
To: Maven Users List
Subject: Re: JDepend
Thanks, but I'm clueless when it comes to
Hi Maciej,
I also had this problem, and it took a while to sort out. Here are the
ways I found ...
I've managed to get something into the Manifest.mf Class-Path without it
appearing in the WEB-INF/lib in M2 by placing dependencies as follows in
the war packaging pom ...
dependency
Title: Java2HTML plugin M2
Hi,
Has anyone had any success working with Java2HTML plugin and M2 ?
I get NullPointer exception when trying to install plugin to my repository as per instructions from
http://www.qualitylabs.org/java2htmlplugin/index.html
Tx
Andy
Visit our website at
Hi Damien,
How can you tell ?
It seems to be compiled Java classes and uses xsd version 4.0.0 which I thought
indicated M2
Tx A
-Original Message-
From: LECAN Damien [mailto:[EMAIL PROTECTED]
Sent: 26 June 2006 14:00
To: Maven Users List
Subject: RE: Java2HTML plugin M2
Hello,
It
Tx - thought that was a typo and changed to mvn.
I'd never used M1 - switched recently from Ant to M2
A
-Original Message-
From: Tim Kettler [mailto:[EMAIL PROTECTED]
Sent: 26 June 2006 14:23
To: Maven Users List
Subject: Re: Java2HTML plugin M2
Look at the page you are refering to in
No particular reason - I was just asked to put Java2html into build.
I'll take a look at JXR and see what that offers
Tx
A
-Original Message-
From: Ivo Limmen [mailto:[EMAIL PROTECTED]
Sent: 26 June 2006 14:23
To: Maven Users List
Subject: Re: Java2HTML plugin M2
Why use Java2HTML?
Title: Clover and Maven 2
Hi,
Has anybody succesfully used clover to generate a report with Mave 2 ?
I have followed docs on http://maven.apache.org/plugins/maven-clover-plugin/howto.html
However, I continually get the error as below
There is a database there though debug output for same classes below
---
T E S T S
---
Running com.ubs.datait.rkyc.framework.exception.ApplicationExceptionTest
Tests run: 1, Failures: 0,
Hi Vincent,
As requested.
Full Debug Attached.
Rgds
Andy
-Original Message-
From: Vincent Massol [mailto:[EMAIL PROTECTED]
Sent: 23 June 2006 15:12
To: 'Maven Users List'
Subject: RE: Clover and Maven 2
_
From: Vincent Massol [mailto:[EMAIL PROTECTED]
Sent: vendredi
Title: Clover and Maven 2
Hi
Think I may have tracked it down ...
My Junit test was a blank one, so didn't instantiate the class under test.
This it would seem does not then recognise that the class has had no tests (and hence has no coverage). What I was expecting was to say that the
Thx. Info is sparse though - ended up having to look at source code to
work out what parameters I could set for it !!
A
-Original Message-
From: Edwin Punzalan [mailto:[EMAIL PROTECTED]
Sent: 21 June 2006 04:22
To: Maven Users List
Subject: Re: Checkstyle plugin Maven 2
For
Title: Writing plugins and dependencies on other software
Hi,
I am writing a plugin for a 3rd party piece of software (Macker http://innig.net/macker). To run with Mavne 2.x
What should I do re either ensuring availability of that software or informing an end user that it is required to
Thx Jerome.
Andy
-Original Message-
From: jerome lacoste [mailto:[EMAIL PROTECTED]
Sent: 21 June 2006 10:43
To: Maven Users List
Subject: Re: Writing plugins and dependencies on other software
On 6/21/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Hi,
I am writing a plugin for a
Thanks Carlos.
Must be nice to work that way ;-)
Just that 2157 is one that I am waiting on (having discovered it
yesterday)
Andy
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Carlos
Sanchez
Sent: 19 June 2006 18:34
To: Maven Users List
Subject: Re:
Thanks both. Is it possible to control the output (to direct the report
somewhere specific and also to only provide xml output).
Also, is it possible to have the checkstyle reporting entry inherit
downward (or does it have to be specifically included for each pom where
reporting is required) ?
Title: Plugin configuration general question
Hi,
In terms of plugin configuration, the surefire config at
http://maven.apache.org/plugins/maven-surefire-plugin/test-mojo.html
Is quite useful. Where would the sma e exist for say checkstyle or anything else be found ?
Thx in Advance
Title: Macker plugin maven 2
Hi,
Is there one ? On ibiblio there is reference 2 it in
http://www.ibiblio.org/maven2/maven-plugins/maven-macker-plugin/
But I can't get it from a repository
Cheers
Andy
Visit our website at http://www.ubs.com
This message contains confidential
Thanks. Thought as much :-(
Think I may have to have a go and write one myself.
Though I am fairly new to maven 2
A
-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Geoffrey De Smet
Sent: 20 June 2006 14:29
To: users@maven.apache.org
Subject: Re: Macker plugin maven 2
Title: Including other xml files in Settings XML
Hi has anyone tried / done this.
My reasoning behind this is to get clearcase to then seed version numbers into a generated file which is included in settings for build purposes
This is in a generated file which is then included in
Title: mvn -P doesn't use profile
Hi,
I have setup a profiles.xml file within my project root directory.
When calling maven with -P switch, the properties set up don't seem to be used.
Any ideas ?
Thx
Andy
Visit our website at http://www.ubs.com
This message contains
Title: SOLVED mvn -P doesn't use profile
The profiles.xml file needs to be in every directory where there is output (e.g. war, jar, ear)
Though this does seem a little bit of a waste of time considering that if you are building with a profile it would apply to ALL projects and hence IMHO
Try using settings.xml
profiles
profile
idyour unique identifier/id
properties
some-version-number1.0/some-version-number
/properties
/profile
/profiles
activeProfiles
activeProfilesome-version-number/activeProfile
/activeProfiles
Then in your
I personally have not used the project file for this - but my project
has specifica requirements re UCM clearcase integration.
Also I am new to this myself so kind of finding things out as I go
-Original Message-
From: Davies, Andrew-A
Sent: 19 June 2006 12:56
To: 'Maven Users List
Title: Maven 2.0.5
Hi,
Does anyone have anyidea when 2.0.5 is due for release ?
Is there a release roadmap anywhere showing indicative dates for future releases ?
Thx
Andy
Visit our website at http://www.ubs.com
This message contains confidential information and is intended only
Pardon my stupidity but I can't see date for scheduled release though.
Tx
-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Geoffrey De Smet
Sent: 19 June 2006 15:38
To: users@maven.apache.org
Subject: Re: Maven 2.0.5
They are using JIRA, which can display a road
Title: Checkstyle plugin Maven 2
Does anyone know how the maven 2 checkstyle.properties are set ?
In maven 1.x they were provided in a file checkstyle.properties
Tx
Visit our website at http://www.ubs.com
This message contains confidential information and is intended only
for the
Hi,
Does anyone know where I can get this (or if it even exists in the
public domain)
IBM must have written one for the RAD - WAS 6 deployment / management
Thx
Andy
Visit our website at http://www.ubs.com
This message contains confidential information and is intended only
for the individual
Thanks Mike. How do you get around bindingfile generation ? Do you
generate at deploy time automatically (wsi files, etc) ?
-Original Message-
From: Mike Perham [mailto:[EMAIL PROTECTED]
Sent: 16 June 2006 14:48
To: Maven Users List
Subject: RE: IBM WAS 6 M2 plugin
We use Websphere
Cheers. Meant xmi sorry 4 confusion
-Original Message-
From: Mike Perham [mailto:[EMAIL PROTECTED]
Sent: 16 June 2006 15:15
To: Maven Users List
Subject: RE: IBM WAS 6 M2 plugin
The bnd files are generated by the developer and packaged in the
ear/war. We have standard names for our
I've managed to get something into the Manifest.mf Class-Path without it
appearing in the WEB-INF/lib in M2 by placing the following in the war
packaging pom ...
dependency
groupIdcom.ubs.datait.rkyc.cim.j2eeclient/groupId
artifactIdcim-j2eeclient/artifactId
I would strongly suggest refactoring as this is bad
-Original Message-
From: Lucas Opara [mailto:[EMAIL PROTECTED]
Sent: 15 June 2006 15:58
To: users@maven.apache.org
Subject: Cyclic references in M2 projects
Hello,
I just migrated some of our J2EE projects to maven 2.
Now I have the
Hi,
Why are you placing them in the same directory ?
You should follow standard directory structure
Src/main/java/ com/... For your java files and
Src/main/resources/ com/... For your properties files
-Original Message-
From: Kent Tong [mailto:[EMAIL PROTECTED]
Sent: 14 June 2006 02:31
Thanks Javed.
Thought I might be missing something important as I have got 1 issue
that I just can't solve and hence have resigned myself to living with
it !
Building an enterprise distributed global app with multi site multi
project dependencies. Integrating with Cruise Control, Clearcase UCM.
Title: M2 enterpise packaging wars, ears, manifest classpath and WEB-INF/lib
Problem description :
In Maven 2, controlling dependencies within pom.xml files to control packaging within ear file plus controlling
entries in the Manifest.mf file within the war file and the contents of
Title: Maven 2 enterprise application package WAR and WEB-INF/lib and manifest classpath
Problem description :
In Maven 2, controlling dependencies within pom.xml files to control packaging within ear file plus controlling
entries in the Manifest.mf file within the war file and the
Title: War.bundle equivalent in maven 2
Hi,
Does anyone have the answer to what maven 1.x war.bundle has now become in Maven 2 ?
Thanks
Andy
Visit our website at http://www.ubs.com
This message contains confidential information and is intended only
for the individual named. If
If I try that, I get compilation problems as I need some of the
libraries at compilation time.
My problem is that I need to make sure something ends up in WEB-INF/lib
without being in the Class-Path of manifest.mf
Have managed to do the other way in Class-Path but not in WEB-INF/lib
with
52 matches
Mail list logo