You could also use Eclipse's ASTParser to scan sources for annotations.
Rahul
Jason van Zyl wrote:
On 25-Feb-08, at 2:21 AM, Bengali Bengali wrote:
I need to find annotated classes and generate an XML file.
Since i haven't found any good library to scan source files for
annotations.
QDo
On 25-Feb-08, at 2:21 AM, Bengali Bengali wrote:
I need to find annotated classes and generate an XML file.
Since i haven't found any good library to scan source files for
annotations.
QDox is awesome. It's what we use actually.
I decided to compile classes -> then run my maven plugin t
Ok thanks that's exactly what i wanted.
On Mon, Feb 25, 2008 at 11:26 AM, Tomasz Pik <[EMAIL PROTECTED]> wrote:
> On Mon, Feb 25, 2008 at 11:21 AM, Bengali Bengali <[EMAIL PROTECTED]>
> wrote:
> > I need to find annotated classes and generate an XML file.
> > Since i haven't found any good libra
On Mon, Feb 25, 2008 at 11:21 AM, Bengali Bengali <[EMAIL PROTECTED]> wrote:
> I need to find annotated classes and generate an XML file.
> Since i haven't found any good library to scan source files for annotations.
>
> I decided to compile classes -> then run my maven plugin to find
> annotati
I need to find annotated classes and generate an XML file.
Since i haven't found any good library to scan source files for annotations.
I decided to compile classes -> then run my maven plugin to find
annotations.
I have been able to do it instantiating my own classloader (adding it
target/classe
It has the code for populating a classloader, and anything in Maven
uses plexus. If you're writing a Maven plugin it uses plexus.
What exactly are you trying to do aside from populating a classloader
with the classes and dependencies of the current project?
On 22-Feb-08, at 1:55 PM, Bengali
Thanks for the information,
but jetty plugin does not use plexus. I thought of using plexus to execute
some class scanning (with compiled classes)
in its own classloader.
Luc
On Fri, Feb 22, 2008 at 9:47 PM, Jason van Zyl <[EMAIL PROTECTED]> wrote:
> Look at the Jetty plugin as it has exactly w
Look at the Jetty plugin as it has exactly what you need.
On 22-Feb-08, at 12:42 PM, Bengali Bengali wrote:
Hi,
I am writing my first Maven plugin and i need to load, at package
phase,
some compiled classes. I was wondering if it was possible to configure
plexus's classloader with the follo
Hi,
I am writing my first Maven plugin and i need to load, at package phase,
some compiled classes. I was wondering if it was possible to configure
plexus's classloader with the following ressources:
- ${project.build.dir}/classes to be able to load some compiled classes.
- all the runtime depend
until it was needed, so chicken or egg.
>
> -Original Message-
> From: nicolas de loof [mailto:[EMAIL PROTECTED]
> Sent: Thursday, October 18, 2007 10:54 AM
> To: Maven Developers List
> Subject: Re: plexus classloader issue ?
>
> Right,
>
> I've
rsday, October 18, 2007 10:54 AM
To: Maven Developers List
Subject: Re: plexus classloader issue ?
Right,
I've bundled my extensions in a jar that only contains a plexus
component.xml for custom lifecycle and handlers.
I have to set my extension as both and
:
>
> You definitely want yo
to:[EMAIL PROTECTED]
> Sent: Thursday, October 18, 2007 4:41 AM
> To: Maven Developers List
> Subject: Re: plexus classloader issue ?
>
> My extension also defines maven extensions (custom lifecycle and
> ArtifactHandler)
> I'll have to split it into extension and commo
dency, other bad things can happen.
-Original Message-
From: nicolas de loof [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 18, 2007 4:41 AM
To: Maven Developers List
Subject: Re: plexus classloader issue ?
My extension also defines maven extensions (custom lifecycle and
ArtifactHandler)
My extension also defines maven extensions (custom lifecycle and
ArtifactHandler)
I'll have to split it into extension and common-tools, so that common-tools
can be shared as a dependency.
2007/10/18, Tim Kettler <[EMAIL PROTECTED]>:
>
> Hi,
>
> nicolas de loof schrieb:
> > My first plugin defines
Hi,
nicolas de loof schrieb:
> My first plugin defines some custom components, shored with other plugins.
> It is used from other projects as a maven extension.
>
> My second plugin uses this component
>
> My main project uses the 2d plugin and has the 1rst one set as extension.
> The second plu
> This worked as expected when the unarchiver was defined in the
> > > plugin that
> > > uses the archiver, but not if the unarchiver is defined bu another
> > > plugin. I
> > > supose those plugins have separate classloaders.
> > >
> > > Any workaround ?
>
ate classloaders.
> >
> > Any workaround ?
> >
> >
> > 2007/10/17, Brian E. Fox <[EMAIL PROTECTED]>:
> >>
> >> Take a look at the dependency plugin for use of the unarchiver.
> >>
> >> -Original Message-
> >> From: nic
ian E. Fox <[EMAIL PROTECTED]>:
Take a look at the dependency plugin for use of the unarchiver.
-Original Message-
From: nicolas de loof [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 17, 2007 10:33 AM
To: Maven Developers List
Subject: plexus classloader issue ?
Hello,
I've
e loof [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, October 17, 2007 10:33 AM
> To: Maven Developers List
> Subject: plexus classloader issue ?
>
> Hello,
>
> I've created a plugin that requires a plexus UnArchiver as @component.
> The expected Unarchiver is declared by
Take a look at the dependency plugin for use of the unarchiver.
-Original Message-
From: nicolas de loof [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 17, 2007 10:33 AM
To: Maven Developers List
Subject: plexus classloader issue ?
Hello,
I've created a plugin that requi
Hello,
I've created a plugin that requires a plexus UnArchiver as @component.
The expected Unarchiver is declared by another plugin, configured as an
extensions.
All works fine when unit-testing the plugin using maven-test-harness, but
when I try to use it from another project (it test) I get thi
21 matches
Mail list logo