Re: Test resource filtering

2006-07-14 Thread rebels_mascot
I think we're having the same problem or similar anyway, one way around it is to use antrun but it's a crappy way to do it I think. Not sure if my post will help but I think it's wat your looking for but I doubt it's meant to be used in that fasion and it doesn't work :-). -- View this message in

[m2] Filters

2006-07-14 Thread rebels_mascot
I'm trying to specify different filter files during different phases, 1 during the main filtering process and the other during the test filters, so I checked out the maven-resource-plugin and saw I could change the filters for each goal or so I think I can, anyway this is what I tried but it ain't

Re: maven site plugin

2006-07-14 Thread rebels_mascot
Thanks for the relpy Arnaud, think I wrote my 1st post wrong. Sorry meant the maven-site-plugin in Maven 2. Do the properties I set in build.properties now go into a css file in the site folder? -- View this message in context: http://www.nabble.com/maven-site-plugin-tf1938390.html#a5322992 Sent

maven site plugin

2006-07-13 Thread rebels_mascot
Does all the properties from the xdoc plugin in maven 1 go into a css file now for the site plugin? i.e. maven.ui.body.background=white maven.ui.body.foreground=black maven.ui.banner.background=white etc. Thanks Brian -- View this message in context: http://www.nabble.com/maven-site-plugin-tf1

Re: setting a property in settings.xml?

2006-07-13 Thread rebels_mascot
I think ... yourapp c:/tc yourapp -- View this message in context: http://www.nabble.com/setting-a-property-in-settings.xml--tf1938297.html#a5311460 Sent from the Maven - Users for

Re: Maven2. Variables. pom-inheritance. Strange behavour.

2006-07-13 Thread rebels_mascot
Could it be that your putting in the second child? As in try leaving out ${project.artifactId}, i.e. website scpexe://myserver:/data/htdocs/modules/ Just guessing but maybe Maven puts adds the artifactId? -- View this message in context: http://www.nabble.com/Maven2.-V

in antrun

2006-07-12 Thread rebels_mascot
Hey all, I'm converting a goal from Maven 1 to Maven 2 using antrun. I've problems with some it do. With: I get: Embedded error: Could not create task or type of type: target. Ant could not find the task or a class this task relies upon. This is common and has a number of causes; the usual

[m2] maven.ui

2006-07-10 Thread rebels_mascot
Hey all, Whats the plugin for configuring all the UI and xdoc stuff? maven.xdoc.date=left? maven.license.licenseFile=${basedir}/../LICENSE.txt? maven.ui.body.background=white? # FAQ maven.faq.src.file=${basedir}/../xdocs/faq.fml? # Provided documentation maven.docs.src=${basedir}/xdocs? -- V

Findbugs error

2006-07-07 Thread rebels_mascot
Howdy, Getting an error for the findbugs-maven-plugin, it seems that a dependency (dom4j) is dependent on jaxen beta 6 but in the dom4j pom the jaxen dependency is set to optional - true. Is there anyway of overwriting a plugins pom's dependency configuration? Other posts I've come across have sa

Filtering during a phase

2006-06-29 Thread rebels_mascot
Hey, Is it possible to use a properties files during a phase, i.e. I want to have two properties files for connecting to the database. One for testing. So they both have the same properties but will have different values, e.g. filter-dev.properties property1.prop=${dev.prop1} filter-test.propert

Re: Unversioned jars revisted

2006-06-22 Thread rebels_mascot
Could you use antrun to rename it yourself before it's added to the war? -- View this message in context: http://www.nabble.com/Unversioned-jars-revisted-t1829311.html#a4990511 Sent from the Maven - Users forum at Nabble.com. -

Re: [M2] Ant filer task

2006-06-22 Thread rebels_mascot
I've stopped using the antrun plugin to filter my resources, thanks Max, but now I have a new problem. In the settings.xml file I have a profile which declares various properties needed for database stuff, e.g. false but I also have a similar property false obviously used for testing :-) Now in

Re: [M2] Ant filter

2006-06-22 Thread rebels_mascot
I've stopped using the antrun plugin to filter my resources, thanks Max, but now I have a new problem. In the settings.xml file I have a profile which declares various properties needed for database stuff, e.g. false but I also have a similar property false obviously used for testing :-) Now in

Re: [M2] Ant filer task

2006-06-22 Thread rebels_mascot
Thanks Max, that helped alot. -- View this message in context: http://www.nabble.com/-M2--Ant-filter-t1817822.html#a4989712 Sent from the Maven - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additi

[M2] Ant filer task

2006-06-20 Thread rebels_mascot
Hey, I'm very confused as how to change from using: in maven 1 to it's eqivelent in maven 2? Should this be included in ? dev.db.s_sql is delared in the "build.properties" in the user home folder. Do I know declare dev.db.s_sql in the settings.xml and if so, where? Or should I be using antrun?

include dependencies in a plugin

2006-06-12 Thread rebels_mascot
I'm using the spring-mock plugin and also need the spring-jdbc, the spring-jdbc is a dependency in the spring-mock pom but is set to optional true. How do I set the spring-mock dependency to include the spring-jdbc? -- View this message in context: http://www.nabble.com/include-dependencies-in-a

Re: Help explaining maven 2

2006-06-02 Thread rebels_mascot
Ya I've a bit of reading to do alright, tis endless!! Sorry, wrote the pregoals sentence wrong, I'm trying to explain how they're handled in maven 2 by using plugins. As in I need to say to them, goals are no longer used instead you do 1, 2, 3 ... -- View this message in context: http://www.nabb

Help explaining maven 2

2006-06-02 Thread rebels_mascot
Hi I'm a student on work placement and the company I'm working for asked me to investigate updating to maven 2. So I've been modifying one of their projects to use maven 2, they currently use maven 1. 1st, what would ye say if ye had to explain maven 2 to someone who has been using maven 1 but do

Re: Plugin Configuration

2006-05-29 Thread rebels_mascot
Thanks Roland, I'll give that a go now. -- View this message in context: http://www.nabble.com/Plugin+Configuration-t1698672.html#a4609896 Sent from the Maven - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTEC

Plugin Configuration

2006-05-29 Thread rebels_mascot
Is there a website where you can get a list of configuration properties for a plugin or the goals available? Or is there a command available to list these details? Thanks, Brian -- View this message in context: http://www.nabble.com/Plugin+Configuration-t1698672.html#a4609721 Sent from the Maven

Re: Find a repository on the local drive

2006-05-26 Thread rebels_mascot
hey thanks, seems to have fixed it. Sorry for the stupid question lads! -- View this message in context: http://www.nabble.com/Find+a+repository+on+the+local+drive-t1686660.html#a4575937 Sent from the Maven - Users forum at Nabble.com. ---

Re: maven 2 changelog plugin?

2006-05-26 Thread rebels_mascot
Not to sure but is this it: http://www.ibiblio.org/pub/packages/maven2/org/codehaus/mojo/changelog-maven-plugin/ -- View this message in context: http://www.nabble.com/maven+2+changelog+plugin--t1686627.html#a4575827 Sent from the Maven - Users forum at Nabble.com. -

Find a repository on the local drive

2006-05-26 Thread rebels_mascot
I'm trying to set up a repository that's a level above my parent folder. I've tried: project-repo Project Repository file://../mvn-repo I have this in the parent pom.xml but the child modules can't seem to find the folder. Isn't the repository meant to be inherit

Re: Maven 2 jar plugin

2006-05-23 Thread rebels_mascot
Thanks for the reply Ben, that seems to of done the job :-) Thanks again, Brian. -- View this message in context: http://www.nabble.com/Maven+2+jar+plugin-t1668728.html#a4523225 Sent from the Maven - Users forum at Nabble.com. --

Maven 2 jar plugin

2006-05-23 Thread rebels_mascot
How do I include other files in a jar besides the class files? When I use mvn install it will create jars for all my sub projects with the class files but doesn't include the xml files I have in the packages. I checked out maven-jar-plugin but couldn't see anything to change so I can included xml