[INFO] Unable to find a plugin class. Did you put @plugin in javadoc?

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

[INFO] Unable to find a plugin class. Did you put @plugin in javadoc?

bwestrich
Hi Hudson dev'ers,

Could someone tell me what the message in the subject line means?  I
get this message occasionally (can't reproduce it yet) when building
the perforce plugin using "mvn install".

Sorry if this is a FAQ.

Brian

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

RE: [INFO] Unable to find a plugin class. Did you put @plugin in javadoc?

Ulli Hafner-2
Hmm, this message indicates that you use an old version of the maven hpi
plugin. I think Kohsuke changed the install process some months ago so
that the @plugin JavaDoc comment is not required anymore. Which HPI
version are you referencing in your POM?

Ulli

> -----Original Message-----
> From: [hidden email]
> [mailto:[hidden email]] On Behalf Of Brian Westrich
> Sent: Dienstag, 6. November 2007 11:53
> To: [hidden email]
> Subject: [INFO] Unable to find a plugin class. Did you put
> @plugin in javadoc?
>
> Hi Hudson dev'ers,
>
> Could someone tell me what the message in the subject line
> means?  I get this message occasionally (can't reproduce it
> yet) when building the perforce plugin using "mvn install".
>
> Sorry if this is a FAQ.
>
> Brian
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: [INFO] Unable to find a plugin class. Did you put @plugin in javadoc?

Erik Ramfelt
In reply to this post by bwestrich
Ive seen it a few times, and I think it is because of Eclipse is
compiling to the target/ folder (same as maven). Are you using
Eclipse? The problem always disappears when I run clean.

//Erik

On Nov 6, 2007 11:53 AM, Brian Westrich <[hidden email]> wrote:

> Hi Hudson dev'ers,
>
> Could someone tell me what the message in the subject line means?  I
> get this message occasionally (can't reproduce it yet) when building
> the perforce plugin using "mvn install".
>
> Sorry if this is a FAQ.
>
> Brian
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: [INFO] Unable to find a plugin class. Did you put @plugin in javadoc?

bwestrich
In reply to this post by Ulli Hafner-2
I'm using the version that's specified in the pom that's currently in
cvs, which is 1.11, that is

..../plugins/pom.xml:

      <plugin>
        <groupId>org.jvnet.hudson.tools</groupId>
        <artifactId>maven-hpi-plugin</artifactId>
        <version>1.11</version>
        <extensions>true</extensions>
      </plugin>


On Nov 6, 2007 4:59 AM, Hafner Ullrich <[hidden email]> wrote:

> Hmm, this message indicates that you use an old version of the maven hpi
> plugin. I think Kohsuke changed the install process some months ago so
> that the @plugin JavaDoc comment is not required anymore. Which HPI
> version are you referencing in your POM?
>
> Ulli
>
>
> > -----Original Message-----
> > From: [hidden email]
> > [mailto:[hidden email]] On Behalf Of Brian Westrich
> > Sent: Dienstag, 6. November 2007 11:53
> > To: [hidden email]
> > Subject: [INFO] Unable to find a plugin class. Did you put
> > @plugin in javadoc?
> >
> > Hi Hudson dev'ers,
> >
> > Could someone tell me what the message in the subject line
> > means?  I get this message occasionally (can't reproduce it
> > yet) when building the perforce plugin using "mvn install".
> >
> > Sorry if this is a FAQ.
> >
> > Brian
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [hidden email]
> > For additional commands, e-mail: [hidden email]
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

RE: [INFO] Unable to find a plugin class. Did you put @plugin in javadoc?

Ulli Hafner-2
That is the latest version. Must be something else...

> -----Original Message-----
> From: [hidden email]
> [mailto:[hidden email]] On Behalf Of Brian Westrich
> Sent: Dienstag, 6. November 2007 12:50
> To: [hidden email]
> Subject: Re: [INFO] Unable to find a plugin class. Did you
> put @plugin in javadoc?
>
> I'm using the version that's specified in the pom that's
> currently in cvs, which is 1.11, that is
>
> ..../plugins/pom.xml:
>
>       <plugin>
>         <groupId>org.jvnet.hudson.tools</groupId>
>         <artifactId>maven-hpi-plugin</artifactId>
>         <version>1.11</version>
>         <extensions>true</extensions>
>       </plugin>
>
>
> On Nov 6, 2007 4:59 AM, Hafner Ullrich
> <[hidden email]> wrote:
> > Hmm, this message indicates that you use an old version of
> the maven
> > hpi plugin. I think Kohsuke changed the install process some months
> > ago so that the @plugin JavaDoc comment is not required
> anymore. Which
> > HPI version are you referencing in your POM?
> >
> > Ulli
> >
> >
> > > -----Original Message-----
> > > From: [hidden email]
> > > [mailto:[hidden email]] On Behalf Of Brian Westrich
> > > Sent: Dienstag, 6. November 2007 11:53
> > > To: [hidden email]
> > > Subject: [INFO] Unable to find a plugin class. Did you
> put @plugin
> > > in javadoc?
> > >
> > > Hi Hudson dev'ers,
> > >
> > > Could someone tell me what the message in the subject
> line means?  I
> > > get this message occasionally (can't reproduce it
> > > yet) when building the perforce plugin using "mvn install".
> > >
> > > Sorry if this is a FAQ.
> > >
> > > Brian
> > >
> > >
> --------------------------------------------------------------------
> > > - To unsubscribe, e-mail: [hidden email]
> > > For additional commands, e-mail: [hidden email]
> > >
> > >
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [hidden email]
> > For additional commands, e-mail: [hidden email]
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: [INFO] Unable to find a plugin class. Did you put @plugin in javadoc?

Nicolas Lalevée-2
each time I experienced that, this was due to a wrong compiler version, using
a 1.4 one more than a 1.5.

cheers,
Nicolas

Le mardi 6 novembre 2007, Hafner Ullrich a écrit :

> That is the latest version. Must be something else...
>
> > -----Original Message-----
> > From: [hidden email]
> > [mailto:[hidden email]] On Behalf Of Brian Westrich
> > Sent: Dienstag, 6. November 2007 12:50
> > To: [hidden email]
> > Subject: Re: [INFO] Unable to find a plugin class. Did you
> > put @plugin in javadoc?
> >
> > I'm using the version that's specified in the pom that's
> > currently in cvs, which is 1.11, that is
> >
> > ..../plugins/pom.xml:
> >
> >       <plugin>
> >         <groupId>org.jvnet.hudson.tools</groupId>
> >         <artifactId>maven-hpi-plugin</artifactId>
> >         <version>1.11</version>
> >         <extensions>true</extensions>
> >       </plugin>
> >
> >
> > On Nov 6, 2007 4:59 AM, Hafner Ullrich
> >
> > <[hidden email]> wrote:
> > > Hmm, this message indicates that you use an old version of
> >
> > the maven
> >
> > > hpi plugin. I think Kohsuke changed the install process some months
> > > ago so that the @plugin JavaDoc comment is not required
> >
> > anymore. Which
> >
> > > HPI version are you referencing in your POM?
> > >
> > > Ulli
> > >
> > > > -----Original Message-----
> > > > From: [hidden email]
> > > > [mailto:[hidden email]] On Behalf Of Brian Westrich
> > > > Sent: Dienstag, 6. November 2007 11:53
> > > > To: [hidden email]
> > > > Subject: [INFO] Unable to find a plugin class. Did you
> >
> > put @plugin
> >
> > > > in javadoc?
> > > >
> > > > Hi Hudson dev'ers,
> > > >
> > > > Could someone tell me what the message in the subject
> >
> > line means?  I
> >
> > > > get this message occasionally (can't reproduce it
> > > > yet) when building the perforce plugin using "mvn install".
> > > >
> > > > Sorry if this is a FAQ.
> > > >
> > > > Brian
> >
> > --------------------------------------------------------------------
> >
> > > > - To unsubscribe, e-mail: [hidden email]
> > > > For additional commands, e-mail: [hidden email]
> >
> > ---------------------------------------------------------------------
> >
> > > To unsubscribe, e-mail: [hidden email]
> > > For additional commands, e-mail: [hidden email]
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [hidden email]
> > For additional commands, e-mail: [hidden email]
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]



--
Nicolas LALEVÉE
ANYWARE TECHNOLOGIES
Tel : +33 (0)5 61 00 52 90
Fax : +33 (0)5 61 00 51 46
http://www.anyware-tech.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: [INFO] Unable to find a plugin class. Did you put @plugin in javadoc?

bwestrich
Thanks, that may have been the cause. My default Java version is 1.5,
I usually only switch into 1.6 when I need to do a full hudson build,
my guess is I was using 1.5 when the error happened.

On Nov 6, 2007 7:54 AM, Nicolas Lalevée
<[hidden email]> wrote:

> each time I experienced that, this was due to a wrong compiler version, using
> a 1.4 one more than a 1.5.
>
> cheers,
> Nicolas
>
> Le mardi 6 novembre 2007, Hafner Ullrich a écrit:
>
> > That is the latest version. Must be something else...
> >
> > > -----Original Message-----
> > > From: [hidden email]
> > > [mailto:[hidden email]] On Behalf Of Brian Westrich
> > > Sent: Dienstag, 6. November 2007 12:50
> > > To: [hidden email]
> > > Subject: Re: [INFO] Unable to find a plugin class. Did you
> > > put @plugin in javadoc?
> > >
> > > I'm using the version that's specified in the pom that's
> > > currently in cvs, which is 1.11, that is
> > >
> > > ..../plugins/pom.xml:
> > >
> > >       <plugin>
> > >         <groupId>org.jvnet.hudson.tools</groupId>
> > >         <artifactId>maven-hpi-plugin</artifactId>
> > >         <version>1.11</version>
> > >         <extensions>true</extensions>
> > >       </plugin>
> > >
> > >
> > > On Nov 6, 2007 4:59 AM, Hafner Ullrich
> > >
> > > <[hidden email]> wrote:
> > > > Hmm, this message indicates that you use an old version of
> > >
> > > the maven
> > >
> > > > hpi plugin. I think Kohsuke changed the install process some months
> > > > ago so that the @plugin JavaDoc comment is not required
> > >
> > > anymore. Which
> > >
> > > > HPI version are you referencing in your POM?
> > > >
> > > > Ulli
> > > >
> > > > > -----Original Message-----
> > > > > From: [hidden email]
> > > > > [mailto:[hidden email]] On Behalf Of Brian Westrich
> > > > > Sent: Dienstag, 6. November 2007 11:53
> > > > > To: [hidden email]
> > > > > Subject: [INFO] Unable to find a plugin class. Did you
> > >
> > > put @plugin
> > >
> > > > > in javadoc?
> > > > >
> > > > > Hi Hudson dev'ers,
> > > > >
> > > > > Could someone tell me what the message in the subject
> > >
> > > line means?  I
> > >
> > > > > get this message occasionally (can't reproduce it
> > > > > yet) when building the perforce plugin using "mvn install".
> > > > >
> > > > > Sorry if this is a FAQ.
> > > > >
> > > > > Brian
> > >
> > > --------------------------------------------------------------------
> > >
> > > > > - To unsubscribe, e-mail: [hidden email]
> > > > > For additional commands, e-mail: [hidden email]
> > >
> > > ---------------------------------------------------------------------
> > >
> > > > To unsubscribe, e-mail: [hidden email]
> > > > For additional commands, e-mail: [hidden email]
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [hidden email]
> > > For additional commands, e-mail: [hidden email]
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [hidden email]
> > For additional commands, e-mail: [hidden email]
>
>
>
> --
> Nicolas LALEVÉE
> ANYWARE TECHNOLOGIES
> Tel : +33 (0)5 61 00 52 90
> Fax : +33 (0)5 61 00 51 46
> http://www.anyware-tech.com
>
> ---------------------------------------------------------------------
>
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: [INFO] Unable to find a plugin class. Did you put @plugin in javadoc?

Kohsuke Kawaguchi
Administrator
In reply to this post by Erik Ramfelt
Erik Ramfelt wrote:
> Ive seen it a few times, and I think it is because of Eclipse is
> compiling to the target/ folder (same as maven). Are you using
> Eclipse? The problem always disappears when I run clean.

Right. This happens when the set of source files that javac (actually
APT) is seeing doesn't include the plugin class, and that happens when
some files are already up-to-date.

The solution is just to run clean.

--
Kohsuke Kawaguchi
Sun Microsystems                   [hidden email]

smime.p7s (4K) Download Attachment