You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Wim Deblauwe <wi...@gmail.com> on 2005/10/25 13:41:48 UTC

[m2] resource bundle problem in pmd plugin

Hi,

The pmd plugin seems to have the same resource bundle problem:

java.util.MissingResourceException: Can't find bundle for base name
pmd-report, locale nl_NL
at java.util.ResourceBundle.throwMissingResourceException(
ResourceBundle.java:837)
at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:806)
at java.util.ResourceBundle.getBundle(ResourceBundle.java:700)
at org.apache.maven.plugin.pmd.PmdReport.getBundle(PmdReport.java:232)
at org.apache.maven.plugin.pmd.PmdReport.getName(PmdReport.java:82)
at org.apache.maven.plugins.site.ReportComparator.compare(
ReportComparator.java:40)
at java.util.Arrays.mergeSort(Arrays.java:1284)
at java.util.Arrays.sort(Arrays.java:1223)
at java.util.Collections.sort(Collections.java:159)
at org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java:240)
at org.apache.maven.plugin.DefaultPluginManager.executeMojo(
DefaultPluginManager.java:399)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
DefaultLifecycleExecutor.java:519)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal
(DefaultLifecycleExecutor.java:482)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(
DefaultLifecycleExecutor.java:452)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures
(DefaultLifecycleExecutor.java:301)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(
DefaultLifecycleExecutor.java:268)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(
DefaultLifecycleExecutor.java:137)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:316)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:113)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:249)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java
:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)

regards,

Wim

Re: [m2] resource bundle problem in pmd plugin

Posted by Wim Deblauwe <wi...@gmail.com>.
There is no plain pmd-report.properties file in my jar (
maven-pmd-plugin-2.0-alpha-2.jar), only the _en and _fr versions

regards,

Wim

2005/10/25, Jason van Zyl <ja...@maven.org>:
>
> On Tue, 2005-10-25 at 13:41 +0200, Wim Deblauwe wrote:
> > Hi,
> >
> > The pmd plugin seems to have the same resource bundle problem:
> >
> > java.util.MissingResourceException: Can't find bundle for base name
> > pmd-report, locale nl_NL
>
> There is a "pmd-report.properties" in the PMD plugin in SVN. Can you
> take a look at the PMD plugin JAR you have installed and see if there is
> a "pmd-report.properties" in the top-level directory of the JAR?
>
> --
> jvz.
>
> Jason van Zyl
> jason at maven.org <http://maven.org>
> http://maven.apache.org
>
> believe nothing, no matter where you read it,
> or who has said it,
> not even if i have said it,
> unless it agrees with your own reason
> and your own common sense.
>
> -- Buddha
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

Re: Potential resource bundle problem in various plugins (was [m2] resource bundle problem in pmd plugin)

Posted by Carlos Sanchez <ca...@apache.org>.
We should, they are blocker for anyone not english or french, which I
believe is more than 50% of the world ;)

On 10/25/05, Vincent Siveton <vi...@gmail.com> wrote:
> Jason and everyone,
>
> Please have a look to this commit on date October 20:
> http://mail-archives.apache.org/mod_mbox/maven-commits/200510.mbox/%3c200510
> 20104440.5183.qmail@minotaur.apache.org%3e
>
> Are we planning to release a new version for these plugins? WDYT?
>
> Cheers,
>
> Vincent
>
> > -----Original Message-----
> > From: Jason van Zyl [mailto:jason@maven.org]
> > Sent: Tuesday, October 25, 2005 10:03 AM
> > To: Maven Users List
> > Subject: Re: [m2] resource bundle problem in pmd plugin
> >
> > On Tue, 2005-10-25 at 13:41 +0200, Wim Deblauwe wrote:
> > > Hi,
> > >
> > > The pmd plugin seems to have the same resource bundle problem:
> > >
> > > java.util.MissingResourceException: Can't find bundle for base name
> > > pmd-report, locale nl_NL
> >
> > There is a "pmd-report.properties" in the PMD plugin in SVN. Can you
> > take a look at the PMD plugin JAR you have installed and see if there is
> > a "pmd-report.properties" in the top-level directory of the JAR?
> >
> > --
> > jvz.
> >
> > Jason van Zyl
> > jason at maven.org
> > http://maven.apache.org
> >
> > believe nothing, no matter where you read it,
> > or who has said it,
> > not even if i have said it,
> > unless it agrees with your own reason
> > and your own common sense.
> >
> >  -- Buddha
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: Potential resource bundle problem in various plugins (was [m2] resource bundle problem in pmd plugin)

Posted by Brett Porter <br...@apache.org>.
I agree, but I'd still like an answer to my email about why we have a 
report in the assembly plugin.

- Brett

Vincent Siveton wrote:
> Jason and everyone,
> 
> Please have a look to this commit on date October 20:
> http://mail-archives.apache.org/mod_mbox/maven-commits/200510.mbox/%3c200510
> 20104440.5183.qmail@minotaur.apache.org%3e
> 
> Are we planning to release a new version for these plugins? WDYT?
> 
> Cheers,
> 
> Vincent
> 
> 
>>-----Original Message-----
>>From: Jason van Zyl [mailto:jason@maven.org]
>>Sent: Tuesday, October 25, 2005 10:03 AM
>>To: Maven Users List
>>Subject: Re: [m2] resource bundle problem in pmd plugin
>>
>>On Tue, 2005-10-25 at 13:41 +0200, Wim Deblauwe wrote:
>>
>>>Hi,
>>>
>>>The pmd plugin seems to have the same resource bundle problem:
>>>
>>>java.util.MissingResourceException: Can't find bundle for base name
>>>pmd-report, locale nl_NL
>>
>>There is a "pmd-report.properties" in the PMD plugin in SVN. Can you
>>take a look at the PMD plugin JAR you have installed and see if there is
>>a "pmd-report.properties" in the top-level directory of the JAR?
>>
>>--
>>jvz.
>>
>>Jason van Zyl
>>jason at maven.org
>>http://maven.apache.org
>>
>>believe nothing, no matter where you read it,
>>or who has said it,
>>not even if i have said it,
>>unless it agrees with your own reason
>>and your own common sense.
>>
>> -- Buddha
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>For additional commands, e-mail: users-help@maven.apache.org
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: Potential resource bundle problem in various plugins (was [m2] resource bundle problem in pmd plugin)

Posted by Jason van Zyl <ja...@maven.org>.
On Tue, 2005-10-25 at 18:41 -0400, Vincent Siveton wrote:
> Jason and everyone,
> 
> Please have a look to this commit on date October 20:
> http://mail-archives.apache.org/mod_mbox/maven-commits/200510.mbox/%3c200510
> 20104440.5183.qmail@minotaur.apache.org%3e
> 
> Are we planning to release a new version for these plugins? WDYT?

+1

> Cheers,
> 
> Vincent
> 
> > -----Original Message-----
> > From: Jason van Zyl [mailto:jason@maven.org]
> > Sent: Tuesday, October 25, 2005 10:03 AM
> > To: Maven Users List
> > Subject: Re: [m2] resource bundle problem in pmd plugin
> > 
> > On Tue, 2005-10-25 at 13:41 +0200, Wim Deblauwe wrote:
> > > Hi,
> > >
> > > The pmd plugin seems to have the same resource bundle problem:
> > >
> > > java.util.MissingResourceException: Can't find bundle for base name
> > > pmd-report, locale nl_NL
> > 
> > There is a "pmd-report.properties" in the PMD plugin in SVN. Can you
> > take a look at the PMD plugin JAR you have installed and see if there is
> > a "pmd-report.properties" in the top-level directory of the JAR?
> > 
> > --
> > jvz.
> > 
> > Jason van Zyl
> > jason at maven.org
> > http://maven.apache.org
> > 
> > believe nothing, no matter where you read it,
> > or who has said it,
> > not even if i have said it,
> > unless it agrees with your own reason
> > and your own common sense.
> > 
> >  -- Buddha
> > 
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
> 
> 
-- 
jvz.

Jason van Zyl
jason at maven.org
http://maven.apache.org

you are never dedicated to something you have complete confidence in.
No one is fanatically shouting that the sun is going to rise tomorrow.
They know it is going to rise tomorrow. When people are fanatically
dedicated to political or religious faiths or any other kind of 
dogmas or goals, it's always because these dogmas or
goals are in doubt.

  -- Robert Pirzig, Zen and the Art of Motorcycle Maintenance


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Potential resource bundle problem in various plugins (was [m2] resource bundle problem in pmd plugin)

Posted by Vincent Siveton <vi...@gmail.com>.
Jason and everyone,

Please have a look to this commit on date October 20:
http://mail-archives.apache.org/mod_mbox/maven-commits/200510.mbox/%3c200510
20104440.5183.qmail@minotaur.apache.org%3e

Are we planning to release a new version for these plugins? WDYT?

Cheers,

Vincent

> -----Original Message-----
> From: Jason van Zyl [mailto:jason@maven.org]
> Sent: Tuesday, October 25, 2005 10:03 AM
> To: Maven Users List
> Subject: Re: [m2] resource bundle problem in pmd plugin
> 
> On Tue, 2005-10-25 at 13:41 +0200, Wim Deblauwe wrote:
> > Hi,
> >
> > The pmd plugin seems to have the same resource bundle problem:
> >
> > java.util.MissingResourceException: Can't find bundle for base name
> > pmd-report, locale nl_NL
> 
> There is a "pmd-report.properties" in the PMD plugin in SVN. Can you
> take a look at the PMD plugin JAR you have installed and see if there is
> a "pmd-report.properties" in the top-level directory of the JAR?
> 
> --
> jvz.
> 
> Jason van Zyl
> jason at maven.org
> http://maven.apache.org
> 
> believe nothing, no matter where you read it,
> or who has said it,
> not even if i have said it,
> unless it agrees with your own reason
> and your own common sense.
> 
>  -- Buddha
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: [m2] resource bundle problem in pmd plugin

Posted by Jason van Zyl <ja...@maven.org>.
On Tue, 2005-10-25 at 13:41 +0200, Wim Deblauwe wrote:
> Hi,
> 
> The pmd plugin seems to have the same resource bundle problem:
> 
> java.util.MissingResourceException: Can't find bundle for base name
> pmd-report, locale nl_NL

There is a "pmd-report.properties" in the PMD plugin in SVN. Can you
take a look at the PMD plugin JAR you have installed and see if there is
a "pmd-report.properties" in the top-level directory of the JAR?

-- 
jvz.

Jason van Zyl
jason at maven.org
http://maven.apache.org

believe nothing, no matter where you read it,
or who has said it,
not even if i have said it,
unless it agrees with your own reason
and your own common sense.

 -- Buddha


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