Re: mvn release:prepare using git, fatal: pom.xml is outside repository

2010-04-13 Thread Ricky Clarkson
Hi again,

I've now created a test case, at
http://github.com/rickyclarkson/maven-git-testcase

It's started to affect more projects, as I'm moving over to git a
project at a time, and I'm resorting to manual releases at the moment.
 I've already made a mistake, though not a serious one, so I'm keen to
get this resolved.

You can reproduce the problem I have by doing (using Git Bash on Windows):

git clone http://github.com/rickyclarkson/maven-git-testcase.git
mvn --batch-mode release:prepare

You might observe that the scm URL in there would not be a URL that
one can push to (it's http, not ssh), but my experiments have shown
that the failure happens even if the URL can be pushed to, so to keep
reproduction of the problem simple, I used a read-only scm URL.  I
have tested this on Windows, with and without a space in the directory
name (i.e., in C:\Documents and Settings, and in C:\deleteme).  I have
also tested this on Linux, and found that it succeeds (well, it gets
as far as not being able to push), so I suppose I have a workaround -
release on Linux, then checkout the tag on Windows to deploy
artifacts.

The git installation I have is via Git Bash (msysgit), and hasn't been
configured other than user.name, user.email and core.autocrlf.

git add on the same file manually succeeds, it is only from maven that it fails.

The problem does not occur in a single-module project.

Is there any more information I can give that might help?

Thanks,
Ricky.

--
Ricky Clarkson
Java and Scala Programmer, AD Holdings
+44 1928 706373
Skype: ricky_clarkson
Google Talk: ricky.clark...@gmail.com
Google Wave: ricky.clark...@googlewave.com



On 6 April 2010 07:08, Ricky Clarkson  wrote:
> Hi Mark,
>
> Yes, ./ is a repository.  It's a multi-module project, in one git
> repository.  I just realised that the open source project it works
> fine on doesn't have child modules.  I'll add one and try to do
> another release of that.
>
> Thanks,
> Ricky.
>
> --
> Ricky Clarkson
> Java and Scala Programmer, AD Holdings
> +44 1928 706373
> Skype: ricky_clarkson
> Google Talk: ricky.clark...@gmail.com
> Google Wave: ricky.clark...@googlewave.com
>
>
>
> On 5 April 2010 23:29, Mark Derricutt  wrote:
>> Is ./ a git repository?  Or are ./native-launcher and ./skytab two
>> separate repositories?  My guess is the later, and maven is telling
>> you that your ./pom.xml is not actually in a repository?
>>
>> --
>> Pull me down under...
>>
>> On Wed, Mar 31, 2010 at 2:27 AM, Ricky Clarkson
>>  wrote:
>>> Hi Mark,
>>>
>>> ./native-launcher/pom.xml
>>> ./skytab/src/main/assembly/bin.xml
>>> ./skytab/src/main/java/uk/org/netvu/skytab/SkyTab.java
>>> ./skytab/pom.xml
>>> ./pom.xml
>>>
>>> I start my mvn release:prepare from the top of that (. in the listing 
>>> above).
>>>
>>> Thanks,
>>> Ricky.
>>>
>>> --
>>> Ricky Clarkson
>>> Java and Scala Programmer, AD Holdings
>>> +44 1928 706373
>>> Skype: ricky_clarkson
>>> Google Talk: ricky.clark...@gmail.com
>>> Google Wave: ricky.clark...@googlewave.com
>>>
>>>
>>>
>>> On 30 March 2010 13:43, Mark Struberg  wrote:
>>>> Can you post a tree of your project structure?
>>>>
>>>> And from where in the project tree do you start the release?
>>>>
>>>> txs,
>>>> strub
>>>>
>>>> --- Ricky Clarkson  schrieb am Di, 30.3.2010:
>>>>
>>>>> Von: Ricky Clarkson 
>>>>> Betreff: mvn release:prepare using git, fatal: pom.xml is outside 
>>>>> repository
>>>>> An: "Maven Users List" 
>>>>> Datum: Dienstag, 30. März, 2010 14:21 Uhr
>>>>> Hi,
>>>>>
>>>>> I'm trying to tag a release using mvn release:prepare, and
>>>>> I see that
>>>>> a child module's pom.xml cannot be committed:
>>>>>
>>>>> The git-add command failed.
>>>>> Command output:
>>>>> fatal: 'C:\Documents and
>>>>> Settings\Ricky\SkyTab\skytab\pom.xml' is
>>>>> outside repository
>>>>>
>>>>> Any suggestions?
>>>>>
>>>>> Thanks,
>>>>> Ricky.
>>>>>
>>>>> --
>>>>> Ricky Clarkson
>>>>> Java and Scala Programmer, AD Holdings
>>>>> +44 1928 706373
>>>>> Skype: ricky_clarkson
>>>>

Re: mvn release:prepare using git, fatal: pom.xml is outside repository

2010-04-05 Thread Ricky Clarkson
Hi Mark,

Yes, ./ is a repository.  It's a multi-module project, in one git
repository.  I just realised that the open source project it works
fine on doesn't have child modules.  I'll add one and try to do
another release of that.

Thanks,
Ricky.

--
Ricky Clarkson
Java and Scala Programmer, AD Holdings
+44 1928 706373
Skype: ricky_clarkson
Google Talk: ricky.clark...@gmail.com
Google Wave: ricky.clark...@googlewave.com



On 5 April 2010 23:29, Mark Derricutt  wrote:
> Is ./ a git repository?  Or are ./native-launcher and ./skytab two
> separate repositories?  My guess is the later, and maven is telling
> you that your ./pom.xml is not actually in a repository?
>
> --
> Pull me down under...
>
> On Wed, Mar 31, 2010 at 2:27 AM, Ricky Clarkson
>  wrote:
>> Hi Mark,
>>
>> ./native-launcher/pom.xml
>> ./skytab/src/main/assembly/bin.xml
>> ./skytab/src/main/java/uk/org/netvu/skytab/SkyTab.java
>> ./skytab/pom.xml
>> ./pom.xml
>>
>> I start my mvn release:prepare from the top of that (. in the listing above).
>>
>> Thanks,
>> Ricky.
>>
>> --
>> Ricky Clarkson
>> Java and Scala Programmer, AD Holdings
>> +44 1928 706373
>> Skype: ricky_clarkson
>> Google Talk: ricky.clark...@gmail.com
>> Google Wave: ricky.clark...@googlewave.com
>>
>>
>>
>> On 30 March 2010 13:43, Mark Struberg  wrote:
>>> Can you post a tree of your project structure?
>>>
>>> And from where in the project tree do you start the release?
>>>
>>> txs,
>>> strub
>>>
>>> --- Ricky Clarkson  schrieb am Di, 30.3.2010:
>>>
>>>> Von: Ricky Clarkson 
>>>> Betreff: mvn release:prepare using git, fatal: pom.xml is outside 
>>>> repository
>>>> An: "Maven Users List" 
>>>> Datum: Dienstag, 30. März, 2010 14:21 Uhr
>>>> Hi,
>>>>
>>>> I'm trying to tag a release using mvn release:prepare, and
>>>> I see that
>>>> a child module's pom.xml cannot be committed:
>>>>
>>>> The git-add command failed.
>>>> Command output:
>>>> fatal: 'C:\Documents and
>>>> Settings\Ricky\SkyTab\skytab\pom.xml' is
>>>> outside repository
>>>>
>>>> Any suggestions?
>>>>
>>>> Thanks,
>>>> Ricky.
>>>>
>>>> --
>>>> Ricky Clarkson
>>>> Java and Scala Programmer, AD Holdings
>>>> +44 1928 706373
>>>> Skype: ricky_clarkson
>>>> Google Talk: ricky.clark...@gmail.com
>>>> Google Wave: ricky.clark...@googlewave.com
>>>>
>>>> -
>>>> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
>>>> For additional commands, e-mail: users-h...@maven.apache.org
>>>>
>>>>
>>>
>>> __
>>> Do You Yahoo!?
>>> Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz 
>>> gegen Massenmails.
>>> http://mail.yahoo.com
>>>
>>> -
>>> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
>>> For additional commands, e-mail: users-h...@maven.apache.org
>>>
>>>
>>
>> -
>> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
>> For additional commands, e-mail: users-h...@maven.apache.org
>>
>>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: mvn release:prepare using git, fatal: pom.xml is outside repository

2010-04-04 Thread Ricky Clarkson
Hi Mark,

I haven't solved the problem in that project yet, but an open source
project I just created works fine for the same thing, so I'm sure I'll
get there on the closed-source project I was asking about.

Thanks,
Ricky.

--
Ricky Clarkson
Java and Scala Programmer, AD Holdings
+44 1928 706373
Skype: ricky_clarkson
Google Talk: ricky.clark...@gmail.com
Google Wave: ricky.clark...@googlewave.com



On 1 April 2010 21:42, Mark Struberg  wrote:
> No idea, could just guess.
>
> 1st idea: Sometimes there are still problems with spaces on windows 
> directories. can you please move the directory to c:\develop or something?
>
> if that doesn't work then please post a mvn -X log.
>
> txs and LieGrue,
> strub
>
> --- Ricky Clarkson  schrieb am Di, 30.3.2010:
>
>> Von: Ricky Clarkson 
>> Betreff: Re: mvn release:prepare using git, fatal: pom.xml is outside  
>> repository
>> An: "Maven Users List" 
>> Datum: Dienstag, 30. März, 2010 15:27 Uhr
>> Hi Mark,
>>
>> ./native-launcher/pom.xml
>> ./skytab/src/main/assembly/bin.xml
>> ./skytab/src/main/java/uk/org/netvu/skytab/SkyTab.java
>> ./skytab/pom.xml
>> ./pom.xml
>>
>> I start my mvn release:prepare from the top of that (. in
>> the listing above).
>>
>> Thanks,
>> Ricky.
>>
>> --
>> Ricky Clarkson
>> Java and Scala Programmer, AD Holdings
>> +44 1928 706373
>> Skype: ricky_clarkson
>> Google Talk: ricky.clark...@gmail.com
>> Google Wave: ricky.clark...@googlewave.com
>>
>>
>>
>> On 30 March 2010 13:43, Mark Struberg 
>> wrote:
>> > Can you post a tree of your project structure?
>> >
>> > And from where in the project tree do you start the
>> release?
>> >
>> > txs,
>> > strub
>> >
>> > --- Ricky Clarkson 
>> schrieb am Di, 30.3.2010:
>> >
>> >> Von: Ricky Clarkson 
>> >> Betreff: mvn release:prepare using git, fatal:
>> pom.xml is outside repository
>> >> An: "Maven Users List" 
>> >> Datum: Dienstag, 30. März, 2010 14:21 Uhr
>> >> Hi,
>> >>
>> >> I'm trying to tag a release using mvn
>> release:prepare, and
>> >> I see that
>> >> a child module's pom.xml cannot be committed:
>> >>
>> >> The git-add command failed.
>> >> Command output:
>> >> fatal: 'C:\Documents and
>> >> Settings\Ricky\SkyTab\skytab\pom.xml' is
>> >> outside repository
>> >>
>> >> Any suggestions?
>> >>
>> >> Thanks,
>> >> Ricky.
>> >>
>> >> --
>> >> Ricky Clarkson
>> >> Java and Scala Programmer, AD Holdings
>> >> +44 1928 706373
>> >> Skype: ricky_clarkson
>> >> Google Talk: ricky.clark...@gmail.com
>> >> Google Wave: ricky.clark...@googlewave.com
>> >>
>> >>
>> -
>> >> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
>> >> For additional commands, e-mail: users-h...@maven.apache.org
>> >>
>> >>
>> >
>> > __
>> > Do You Yahoo!?
>> > Sie sind Spam leid? Yahoo! Mail verfügt über einen
>> herausragenden Schutz gegen Massenmails.
>> > http://mail.yahoo.com
>> >
>> >
>> -
>> > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
>> > For additional commands, e-mail: users-h...@maven.apache.org
>> >
>> >
>>
>> -
>> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
>> For additional commands, e-mail: users-h...@maven.apache.org
>>
>>
>
> __
> Do You Yahoo!?
> Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz 
> gegen Massenmails.
> http://mail.yahoo.com
>
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: mvn release:prepare using git, fatal: pom.xml is outside repository

2010-03-30 Thread Ricky Clarkson
Hi Mark,

./native-launcher/pom.xml
./skytab/src/main/assembly/bin.xml
./skytab/src/main/java/uk/org/netvu/skytab/SkyTab.java
./skytab/pom.xml
./pom.xml

I start my mvn release:prepare from the top of that (. in the listing above).

Thanks,
Ricky.

--
Ricky Clarkson
Java and Scala Programmer, AD Holdings
+44 1928 706373
Skype: ricky_clarkson
Google Talk: ricky.clark...@gmail.com
Google Wave: ricky.clark...@googlewave.com



On 30 March 2010 13:43, Mark Struberg  wrote:
> Can you post a tree of your project structure?
>
> And from where in the project tree do you start the release?
>
> txs,
> strub
>
> --- Ricky Clarkson  schrieb am Di, 30.3.2010:
>
>> Von: Ricky Clarkson 
>> Betreff: mvn release:prepare using git, fatal: pom.xml is outside repository
>> An: "Maven Users List" 
>> Datum: Dienstag, 30. März, 2010 14:21 Uhr
>> Hi,
>>
>> I'm trying to tag a release using mvn release:prepare, and
>> I see that
>> a child module's pom.xml cannot be committed:
>>
>> The git-add command failed.
>> Command output:
>> fatal: 'C:\Documents and
>> Settings\Ricky\SkyTab\skytab\pom.xml' is
>> outside repository
>>
>> Any suggestions?
>>
>> Thanks,
>> Ricky.
>>
>> --
>> Ricky Clarkson
>> Java and Scala Programmer, AD Holdings
>> +44 1928 706373
>> Skype: ricky_clarkson
>> Google Talk: ricky.clark...@gmail.com
>> Google Wave: ricky.clark...@googlewave.com
>>
>> -
>> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
>> For additional commands, e-mail: users-h...@maven.apache.org
>>
>>
>
> __
> Do You Yahoo!?
> Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz 
> gegen Massenmails.
> http://mail.yahoo.com
>
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



mvn release:prepare using git, fatal: pom.xml is outside repository

2010-03-30 Thread Ricky Clarkson
Hi,

I'm trying to tag a release using mvn release:prepare, and I see that
a child module's pom.xml cannot be committed:

The git-add command failed.
Command output:
fatal: 'C:\Documents and Settings\Ricky\SkyTab\skytab\pom.xml' is
outside repository

Any suggestions?

Thanks,
Ricky.

--
Ricky Clarkson
Java and Scala Programmer, AD Holdings
+44 1928 706373
Skype: ricky_clarkson
Google Talk: ricky.clark...@gmail.com
Google Wave: ricky.clark...@googlewave.com

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: Specifying maven-assembly-plugin descriptors from separate profiles

2009-12-23 Thread Ricky Clarkson
I think I have an answer.

Have the windows profile set the property
windows, then in the
installer profile, specify
${os-specific-descriptor}
src/main/assembly/executable.xml.  To reduce
duplication, I'll need a no-installer profile which is activated
whenever installer isn't, but for the moment each OS-specific profile
will specify the descriptor name twice, which is still duplication,
but more localised than before!

Ricky.

2009/12/23 Ricky Clarkson :
> Hi,
>
> I have one profile, windows, which configures the
> maven-assembly-plugin with the src/main/assembly/win32.xml assembly
> descriptor, and another profile, installer, which configures it with
> the src/main/assembly/executable.xml assembly descriptor.
> Unfortunately specifying -Pinstaller makes it so that the
> effective-pom only refers to the src/main/assembly/executable.xml
> descriptor.
>
> Is there a way of making it so that the descriptors get aggregated
> rather than replaced when specified from separate profiles, or is
> there a better way of going about this problem that I'm missing?
>
> Thanks,
> Ricky.
>
> --
> Ricky Clarkson
> Java and Scala Programmer, AD Holdings
> Skype: ricky_clarkson
> Google Talk: ricky.clark...@gmail.com
> Google Wave: ricky.clark...@googlewave.com
>



-- 
Ricky Clarkson
Java and Scala Programmer, AD Holdings
Skype: ricky_clarkson
Google Talk: ricky.clark...@gmail.com
Google Wave: ricky.clark...@googlewave.com

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Specifying maven-assembly-plugin descriptors from separate profiles

2009-12-23 Thread Ricky Clarkson
Hi,

I have one profile, windows, which configures the
maven-assembly-plugin with the src/main/assembly/win32.xml assembly
descriptor, and another profile, installer, which configures it with
the src/main/assembly/executable.xml assembly descriptor.
Unfortunately specifying -Pinstaller makes it so that the
effective-pom only refers to the src/main/assembly/executable.xml
descriptor.

Is there a way of making it so that the descriptors get aggregated
rather than replaced when specified from separate profiles, or is
there a better way of going about this problem that I'm missing?

Thanks,
Ricky.

-- 
Ricky Clarkson
Java and Scala Programmer, AD Holdings
Skype: ricky_clarkson
Google Talk: ricky.clark...@gmail.com
Google Wave: ricky.clark...@googlewave.com

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: Activating a profile based on the deactivation of other profiles

2009-11-23 Thread Ricky Clarkson
Hi Wendy,

Thanks a lot, that worked well, when I finally got around to trying it out!

Ricky.

2009/10/28 Wendy Smoak :
> On Wed, Oct 28, 2009 at 5:11 AM, Ricky Clarkson
>  wrote:
>
>> So my question is; how can I make it so that development-brand is
>> activated only if none of the other brands are?
>
> You're on the right track by activating the default profile on the
> *absence* of a property with the !.
>
> Now, stop using -P to activate the other profiles, and switch to using
> -D=[value].
>
> You'll need to add similar  sections to the other branded ones.
>
> Then you can activate exactly one profile with -Dbrand=... (or
> nothing, for the default).
>
> --
> Wendy
>
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>



-- 
Ricky Clarkson
Java and Scala Programmer, AD Holdings
+44 1565 770804
Skype: ricky_clarkson
Google Talk: ricky.clark...@gmail.com
Google Wave: ricky.clark...@googlewave.com

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: Automated Build and Check In

2009-11-11 Thread Ricky Clarkson
I'd suggest not checking binaries in if you can help it.  Source control
isn't particularly efficient with binaries.

2009/11/11 Neil Chaudhuri 

> I would like to do something very simple at regular intervals (say every
> hour):
>
> *Build the primary artifact-- a WAR file
> *Check it into SVN at a specified location in the trunk
>
> How could I do this?
>
> Thanks.
>
>


-- 
Ricky Clarkson
Java and Scala Programmer, AD Holdings
+44 1565 770804
Skype: ricky_clarkson
Google Talk: ricky.clark...@gmail.com
Google Wave: ricky.clark...@googlewave.com


Activating a profile based on the deactivation of other profiles

2009-10-28 Thread Ricky Clarkson
Hi,

Before my involvement in this project, we would make a branded version
of our software by going into the pom and changing
development-brand to
ad-brand in a  declaration, for a
number of brands, then running mvn assembly:assembly again.  This
worked, but was so awkward that branded versions just didn't get built
until somebody basically begged for them.

I've moved the dependency stating development-brand to a profile named
development-brand, and created a number of other profiles for each
brand.  If I use mvn assembly:assembly -Pad-brand,-development-brand I
get an AD-branded version, which is nice, but now just mvn
assembly:assembly does not work at all; the build completes but the
application won't start because of a missing dependency.  mvn
help:active-profiles confirms that development-brand is not included
by default.

An activation of true for
development-brand won't help, as we always have another, pre-existing
profile, activated, windows, linux or osx.  Naming the profile
'default' won't help either for the same reason.

I tried, in the ad-brand profile, setting
ad-brand and having
development-brand
!brand, but then found
that development-brand was activated all the time, unless explicitly
deactivated on the command-line, which at least makes the default case
of no -P parameter work.  It seems like the activations are all
decided before the first activated profile's elements are used.

So my question is; how can I make it so that development-brand is
activated only if none of the other brands are?

-- 
Ricky Clarkson
Java and Scala Programmer, AD Holdings
+44 1565 770804
Skype: ricky_clarkson
Google Talk: ricky.clark...@gmail.com
Google Wave: ricky.clark...@googlewave.com

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Signing a jar in the assembly phase

2008-08-14 Thread Ricky Clarkson
Hi,

We would like to be able to sign our jar file for distribution, and have
noticed that the jar plugin has a sign task.  However, this task is part of
the "package" phase of the lifecycle, at which point we don't have the right
jar file - we want to do it when assembly:assembly is executed.  In which
direction should we be looking for solving this?  Forking the jar task?
Finding another plugin?

Thanks,
Ricky.


Re: Inline Checkstyle Configuration

2008-08-14 Thread Ricky Clarkson
Thanks Wayne,

I have downloaded and built the source for that plugin, but between asking
the question and receiving your answer we implemented a workaround (the one
suggested in the CheckStyle plugin documentation - creating a dedicated
project for housing such config files).

Ricky.

2008/8/11 Wayne Fay <[EMAIL PROTECTED]>

> If the functionality is not there, then no one has ever asked for it
> or the developers responsible for the plugin never needed it
> themselves. In this case, I would assume that no one has ever asked
> for in-line configuration of Checkstyle.
>
> You are welcome to add that functionality directly yourself (by
> grabbing the plugin code from SVN and hacking it), or file a JIRA
> issue and wait for someone else to add it for you.
>
> Wayne
>
> On 8/11/08, Ricky Clarkson <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > We have just added CheckStyle (and a few others) to our project root's
> > pom.xml, and managed to configure findbugs, cobertura etc., within the
> > pom.xml, but the plugin for CheckStyle doesn't appear to support such
> inline
> > configuration.  We read about configuring CheckStyle for multi-module
> > projects on Maven's site, and the suggested solution was to create a
> > separate build-tools project.  This is ok, but right now it would only be
> > for the one CheckStyle config XML file, which seems overkill.  Is there
> > another solution, or a good reason why the CheckStyle plugin doesn't
> support
> > adding the configuration within pom.xml?
> >
> > Cheers,
> > Ricky.
> >
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


Inline Checkstyle Configuration

2008-08-11 Thread Ricky Clarkson
Hi,

We have just added CheckStyle (and a few others) to our project root's
pom.xml, and managed to configure findbugs, cobertura etc., within the
pom.xml, but the plugin for CheckStyle doesn't appear to support such inline
configuration.  We read about configuring CheckStyle for multi-module
projects on Maven's site, and the suggested solution was to create a
separate build-tools project.  This is ok, but right now it would only be
for the one CheckStyle config XML file, which seems overkill.  Is there
another solution, or a good reason why the CheckStyle plugin doesn't support
adding the configuration within pom.xml?

Cheers,
Ricky.