How to develop a plugin.

View: New views
19 Messages — Rating Filter:   Alert me  

How to develop a plugin.

by Mickaël GERVAIS :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,
I've discovered Nexus one week ago, and I'd like to develop a plug-in to backup configuration and some repositories, does it already exist? or can I do that? Is there some procedures to follow?
Thanks
--
:::::::::::::::::::::::::::::::::::::::::::::::
Mickaël Gervais
Agaetis
1 avenue des Cottages
63 000 Clermont-Ferrand


Courriel : mgervais@...
Téléphone : 04 73 35 56 96
Portable : 06 82 35 52 82
Site : http://www.agaetis.fr
:::::::::::::::::::::::::::::::::::::::::::::::

Re: How to develop a plugin.

by Marvin Froeder-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Mickaël,

We do have a configuration backup plugin for nexus, but it is only available on professional edition.


VELO

2009/6/12 Mickaël GERVAIS <mgervais@...>
Hi,
I've discovered Nexus one week ago, and I'd like to develop a plug-in to backup configuration and some repositories, does it already exist? or can I do that? Is there some procedures to follow?
Thanks
--
:::::::::::::::::::::::::::::::::::::::::::::::
Mickaël Gervais
Agaetis
1 avenue des Cottages
63 000 Clermont-Ferrand


Courriel : mgervais@...
Téléphone : 04 73 35 56 96
Portable : 06 82 35 52 82
Site : http://www.agaetis.fr
:::::::::::::::::::::::::::::::::::::::::::::::


Re: How to develop a plugin.

by Anders Hammar :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

The repos are in standard file structure. Should be possible to backup
with standard backup software. The configuration is also in a file so
that should also be possible to backup outside of Nexus.

But if you still want to write a plugin, I'd suggest you wait for v1.4
of Nexus which will include a new annotation-based plugin design.
There is some info on Sonatype's blog
(http://www.sonatype.com/people/2009/06/writing-plugins-for-nexus-part-1/).
v1.4 should be out during the summer, if I remember correctly.
Writing plugins for v1.3 is a different story. You then need to write
a Plexus component. I'm not even sure what support there is today for
the kind of plugin you want to write (I would guess a scheduled task).

/Anders

2009/6/12 Mickaël GERVAIS <mgervais@...>:

> Hi,
> I've discovered Nexus one week ago, and I'd like to develop a plug-in to
> backup configuration and some repositories, does it already exist? or can I
> do that? Is there some procedures to follow?
> Thanks
> --
> :::::::::::::::::::::::::::::::::::::::::::::::
> Mickaël Gervais
> Agaetis
> 1 avenue des Cottages
> 63 000 Clermont-Ferrand
>
> Courriel : mgervais@...
> Téléphone : 04 73 35 56 96
> Portable : 06 82 35 52 82
> Site : http://www.agaetis.fr
> :::::::::::::::::::::::::::::::::::::::::::::::
>

---------------------------------------------------------------------
To unsubscribe, e-mail: nexus-dev-unsubscribe@...
For additional commands, e-mail: nexus-dev-help@...


Re: How to develop a plugin.

by Mickaël GERVAIS :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi
thanks for your response. That's right, I'd like to be able to schedule the backup etc... So i'll wait and use a script to backup for the moment! 
Mickael


Anders Hammar wrote:
Hi,

The repos are in standard file structure. Should be possible to backup
with standard backup software. The configuration is also in a file so
that should also be possible to backup outside of Nexus.

But if you still want to write a plugin, I'd suggest you wait for v1.4
of Nexus which will include a new annotation-based plugin design.
There is some info on Sonatype's blog
(http://www.sonatype.com/people/2009/06/writing-plugins-for-nexus-part-1/).
v1.4 should be out during the summer, if I remember correctly.
Writing plugins for v1.3 is a different story. You then need to write
a Plexus component. I'm not even sure what support there is today for
the kind of plugin you want to write (I would guess a scheduled task).

/Anders

2009/6/12 Mickaël GERVAIS mgervais@...:
  
Hi,
I've discovered Nexus one week ago, and I'd like to develop a plug-in to
backup configuration and some repositories, does it already exist? or can I
do that? Is there some procedures to follow?
Thanks
--
:::::::::::::::::::::::::::::::::::::::::::::::
Mickaël Gervais
Agaetis
1 avenue des Cottages
63 000 Clermont-Ferrand

Courriel : mgervais@...
Téléphone : 04 73 35 56 96
Portable : 06 82 35 52 82
Site : http://www.agaetis.fr
:::::::::::::::::::::::::::::::::::::::::::::::

    

---------------------------------------------------------------------
To unsubscribe, e-mail: nexus-dev-unsubscribe@...
For additional commands, e-mail: nexus-dev-help@...

  

--
:::::::::::::::::::::::::::::::::::::::::::::::
Mickael Gervais
Agaetis
1 avenue des Cottages
63 000 Clermont-Ferrand


Courriel : mgervais@...
Téléphone : 04 73 35 56 96
Portable : 06 82 35 52 82
Site : http://www.agaetis.fr
:::::::::::::::::::::::::::::::::::::::::::::::

Re: How to develop a plugin.

by Anders Hammar :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Ok. So you'll write some open sourced plugins to share with the rest
of us then? :-)

/Anders

2009/6/12 Mickaël GERVAIS <mgervais@...>:

> Hi
> thanks for your response. That's right, I'd like to be able to schedule the
> backup etc... So i'll wait and use a script to backup for the moment!
> Mickael
>
>
> Anders Hammar wrote:
>
> Hi,
>
> The repos are in standard file structure. Should be possible to backup
> with standard backup software. The configuration is also in a file so
> that should also be possible to backup outside of Nexus.
>
> But if you still want to write a plugin, I'd suggest you wait for v1.4
> of Nexus which will include a new annotation-based plugin design.
> There is some info on Sonatype's blog
> (http://www.sonatype.com/people/2009/06/writing-plugins-for-nexus-part-1/).
> v1.4 should be out during the summer, if I remember correctly.
> Writing plugins for v1.3 is a different story. You then need to write
> a Plexus component. I'm not even sure what support there is today for
> the kind of plugin you want to write (I would guess a scheduled task).
>
> /Anders
>
> 2009/6/12 Mickaël GERVAIS <mgervais@...>:
>
>
> Hi,
> I've discovered Nexus one week ago, and I'd like to develop a plug-in to
> backup configuration and some repositories, does it already exist? or can I
> do that? Is there some procedures to follow?
> Thanks
> --
> :::::::::::::::::::::::::::::::::::::::::::::::
> Mickaël Gervais
> Agaetis
> 1 avenue des Cottages
> 63 000 Clermont-Ferrand
>
> Courriel : mgervais@...
> Téléphone : 04 73 35 56 96
> Portable : 06 82 35 52 82
> Site : http://www.agaetis.fr
> :::::::::::::::::::::::::::::::::::::::::::::::
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: nexus-dev-unsubscribe@...
> For additional commands, e-mail: nexus-dev-help@...
>
>
>
> --
> :::::::::::::::::::::::::::::::::::::::::::::::
> Mickael Gervais
> Agaetis
> 1 avenue des Cottages
> 63 000 Clermont-Ferrand
>
> Courriel : mgervais@...
> Téléphone : 04 73 35 56 96
> Portable : 06 82 35 52 82
> Site : http://www.agaetis.fr
> :::::::::::::::::::::::::::::::::::::::::::::::
>

---------------------------------------------------------------------
To unsubscribe, e-mail: nexus-dev-unsubscribe@...
For additional commands, e-mail: nexus-dev-help@...


Re: How to develop a plugin.

by Mickaël GERVAIS :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Why not! If you need somethng, but I 've never developp with plexus... So you'll have to provide me some docs! :)

Anders Hammar wrote:
Ok. So you'll write some open sourced plugins to share with the rest
of us then? :-)

/Anders

2009/6/12 Mickaël GERVAIS mgervais@...:
  
Hi
thanks for your response. That's right, I'd like to be able to schedule the
backup etc... So i'll wait and use a script to backup for the moment!
Mickael


Anders Hammar wrote:

Hi,

The repos are in standard file structure. Should be possible to backup
with standard backup software. The configuration is also in a file so
that should also be possible to backup outside of Nexus.

But if you still want to write a plugin, I'd suggest you wait for v1.4
of Nexus which will include a new annotation-based plugin design.
There is some info on Sonatype's blog
(http://www.sonatype.com/people/2009/06/writing-plugins-for-nexus-part-1/).
v1.4 should be out during the summer, if I remember correctly.
Writing plugins for v1.3 is a different story. You then need to write
a Plexus component. I'm not even sure what support there is today for
the kind of plugin you want to write (I would guess a scheduled task).

/Anders

2009/6/12 Mickaël GERVAIS mgervais@...:


Hi,
I've discovered Nexus one week ago, and I'd like to develop a plug-in to
backup configuration and some repositories, does it already exist? or can I
do that? Is there some procedures to follow?
Thanks
--
:::::::::::::::::::::::::::::::::::::::::::::::
Mickaël Gervais
Agaetis
1 avenue des Cottages
63 000 Clermont-Ferrand

Courriel : mgervais@...
Téléphone : 04 73 35 56 96
Portable : 06 82 35 52 82
Site : http://www.agaetis.fr
:::::::::::::::::::::::::::::::::::::::::::::::



---------------------------------------------------------------------
To unsubscribe, e-mail: nexus-dev-unsubscribe@...
For additional commands, e-mail: nexus-dev-help@...



--
:::::::::::::::::::::::::::::::::::::::::::::::
Mickael Gervais
Agaetis
1 avenue des Cottages
63 000 Clermont-Ferrand

Courriel : mgervais@...
Téléphone : 04 73 35 56 96
Portable : 06 82 35 52 82
Site : http://www.agaetis.fr
:::::::::::::::::::::::::::::::::::::::::::::::

    

---------------------------------------------------------------------
To unsubscribe, e-mail: nexus-dev-unsubscribe@...
For additional commands, e-mail: nexus-dev-help@...

  

--
:::::::::::::::::::::::::::::::::::::::::::::::
Mickael Gervais
Agaetis
1 avenue des Cottages
63 000 Clermont-Ferrand


Courriel : mgervais@...
Téléphone : 04 73 35 56 96
Portable : 06 82 35 52 82
Site : http://www.agaetis.fr
:::::::::::::::::::::::::::::::::::::::::::::::

Re: How to develop a plugin.

by Anders Hammar :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Well, there is that blog I linked to in earlier mail. And it stated
part1, so I would expect at least one more post. And the Javadoc
should probably also help. In any case it will most likely be easier
than using the Plexus model.
Just post any questions to this list and I'm very confident that you
will get answers.

/Anders

2009/6/12 Mickaël GERVAIS <mgervais@...>:

> Why not! If you need somethng, but I 've never developp with plexus... So
> you'll have to provide me some docs! :)
>
> Anders Hammar wrote:
>
> Ok. So you'll write some open sourced plugins to share with the rest
> of us then? :-)
>
> /Anders
>
> 2009/6/12 Mickaël GERVAIS <mgervais@...>:
>
>
> Hi
> thanks for your response. That's right, I'd like to be able to schedule the
> backup etc... So i'll wait and use a script to backup for the moment!
> Mickael
>
>
> Anders Hammar wrote:
>
> Hi,
>
> The repos are in standard file structure. Should be possible to backup
> with standard backup software. The configuration is also in a file so
> that should also be possible to backup outside of Nexus.
>
> But if you still want to write a plugin, I'd suggest you wait for v1.4
> of Nexus which will include a new annotation-based plugin design.
> There is some info on Sonatype's blog
> (http://www.sonatype.com/people/2009/06/writing-plugins-for-nexus-part-1/).
> v1.4 should be out during the summer, if I remember correctly.
> Writing plugins for v1.3 is a different story. You then need to write
> a Plexus component. I'm not even sure what support there is today for
> the kind of plugin you want to write (I would guess a scheduled task).
>
> /Anders
>
> 2009/6/12 Mickaël GERVAIS <mgervais@...>:
>
>
> Hi,
> I've discovered Nexus one week ago, and I'd like to develop a plug-in to
> backup configuration and some repositories, does it already exist? or can I
> do that? Is there some procedures to follow?
> Thanks
> --
> :::::::::::::::::::::::::::::::::::::::::::::::
> Mickaël Gervais
> Agaetis
> 1 avenue des Cottages
> 63 000 Clermont-Ferrand
>
> Courriel : mgervais@...
> Téléphone : 04 73 35 56 96
> Portable : 06 82 35 52 82
> Site : http://www.agaetis.fr
> :::::::::::::::::::::::::::::::::::::::::::::::
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: nexus-dev-unsubscribe@...
> For additional commands, e-mail: nexus-dev-help@...
>
>
>
> --
> :::::::::::::::::::::::::::::::::::::::::::::::
> Mickael Gervais
> Agaetis
> 1 avenue des Cottages
> 63 000 Clermont-Ferrand
>
> Courriel : mgervais@...
> Téléphone : 04 73 35 56 96
> Portable : 06 82 35 52 82
> Site : http://www.agaetis.fr
> :::::::::::::::::::::::::::::::::::::::::::::::
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: nexus-dev-unsubscribe@...
> For additional commands, e-mail: nexus-dev-help@...
>
>
>
> --
> :::::::::::::::::::::::::::::::::::::::::::::::
> Mickael Gervais
> Agaetis
> 1 avenue des Cottages
> 63 000 Clermont-Ferrand
>
> Courriel : mgervais@...
> Téléphone : 04 73 35 56 96
> Portable : 06 82 35 52 82
> Site : http://www.agaetis.fr
> :::::::::::::::::::::::::::::::::::::::::::::::
>

---------------------------------------------------------------------
To unsubscribe, e-mail: nexus-dev-unsubscribe@...
For additional commands, e-mail: nexus-dev-help@...


Re: How to develop a plugin.

by Brian Fox :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Yes a follow up blog is due soon (hint hint Tamas...). We have recently worked through some classloading issues and the final packaging format is being defined. 1.4 is ~4 weeks out at this point. The architecture changes in this release went beyond the scope of our normal 6 week cycle.

On Fri, Jun 12, 2009 at 3:03 PM, Anders Hammar <anders@...> wrote:
Well, there is that blog I linked to in earlier mail. And it stated
part1, so I would expect at least one more post. And the Javadoc
should probably also help. In any case it will most likely be easier
than using the Plexus model.
Just post any questions to this list and I'm very confident that you
will get answers.

/Anders

2009/6/12 Mickaël GERVAIS <mgervais@...>:
> Why not! If you need somethng, but I 've never developp with plexus... So
> you'll have to provide me some docs! :)
>
> Anders Hammar wrote:
>
> Ok. So you'll write some open sourced plugins to share with the rest
> of us then? :-)
>
> /Anders
>
> 2009/6/12 Mickaël GERVAIS <mgervais@...>:
>
>
> Hi
> thanks for your response. That's right, I'd like to be able to schedule the
> backup etc... So i'll wait and use a script to backup for the moment!
> Mickael
>
>
> Anders Hammar wrote:
>
> Hi,
>
> The repos are in standard file structure. Should be possible to backup
> with standard backup software. The configuration is also in a file so
> that should also be possible to backup outside of Nexus.
>
> But if you still want to write a plugin, I'd suggest you wait for v1.4
> of Nexus which will include a new annotation-based plugin design.
> There is some info on Sonatype's blog
> (http://www.sonatype.com/people/2009/06/writing-plugins-for-nexus-part-1/).
> v1.4 should be out during the summer, if I remember correctly.
> Writing plugins for v1.3 is a different story. You then need to write
> a Plexus component. I'm not even sure what support there is today for
> the kind of plugin you want to write (I would guess a scheduled task).
>
> /Anders
>
> 2009/6/12 Mickaël GERVAIS <mgervais@...>:
>
>
> Hi,
> I've discovered Nexus one week ago, and I'd like to develop a plug-in to
> backup configuration and some repositories, does it already exist? or can I
> do that? Is there some procedures to follow?
> Thanks
> --
> :::::::::::::::::::::::::::::::::::::::::::::::
> Mickaël Gervais
> Agaetis
> 1 avenue des Cottages
> 63 000 Clermont-Ferrand
>
> Courriel : mgervais@...
> Téléphone : 04 73 35 56 96
> Portable : 06 82 35 52 82
> Site : http://www.agaetis.fr
> :::::::::::::::::::::::::::::::::::::::::::::::
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: nexus-dev-unsubscribe@...
> For additional commands, e-mail: nexus-dev-help@...
>
>
>
> --
> :::::::::::::::::::::::::::::::::::::::::::::::
> Mickael Gervais
> Agaetis
> 1 avenue des Cottages
> 63 000 Clermont-Ferrand
>
> Courriel : mgervais@...
> Téléphone : 04 73 35 56 96
> Portable : 06 82 35 52 82
> Site : http://www.agaetis.fr
> :::::::::::::::::::::::::::::::::::::::::::::::
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: nexus-dev-unsubscribe@...
> For additional commands, e-mail: nexus-dev-help@...
>
>
>
> --
> :::::::::::::::::::::::::::::::::::::::::::::::
> Mickael Gervais
> Agaetis
> 1 avenue des Cottages
> 63 000 Clermont-Ferrand
>
> Courriel : mgervais@...
> Téléphone : 04 73 35 56 96
> Portable : 06 82 35 52 82
> Site : http://www.agaetis.fr
> :::::::::::::::::::::::::::::::::::::::::::::::
>

---------------------------------------------------------------------
To unsubscribe, e-mail: nexus-dev-unsubscribe@...
For additional commands, e-mail: nexus-dev-help@...



Re: How to develop a plugin.

by Anders Hammar :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Great - looking forward to that release!

/Anders

On Sat, Jun 13, 2009 at 01:27, Brian Fox<brianf@...> wrote:

> Yes a follow up blog is due soon (hint hint Tamas...). We have recently
> worked through some classloading issues and the final packaging format is
> being defined. 1.4 is ~4 weeks out at this point. The architecture changes
> in this release went beyond the scope of our normal 6 week cycle.
>
> On Fri, Jun 12, 2009 at 3:03 PM, Anders Hammar <anders@...> wrote:
>>
>> Well, there is that blog I linked to in earlier mail. And it stated
>> part1, so I would expect at least one more post. And the Javadoc
>> should probably also help. In any case it will most likely be easier
>> than using the Plexus model.
>> Just post any questions to this list and I'm very confident that you
>> will get answers.
>>
>> /Anders
>>
>> 2009/6/12 Mickaël GERVAIS <mgervais@...>:
>> > Why not! If you need somethng, but I 've never developp with plexus...
>> > So
>> > you'll have to provide me some docs! :)
>> >
>> > Anders Hammar wrote:
>> >
>> > Ok. So you'll write some open sourced plugins to share with the rest
>> > of us then? :-)
>> >
>> > /Anders
>> >
>> > 2009/6/12 Mickaël GERVAIS <mgervais@...>:
>> >
>> >
>> > Hi
>> > thanks for your response. That's right, I'd like to be able to schedule
>> > the
>> > backup etc... So i'll wait and use a script to backup for the moment!
>> > Mickael
>> >
>> >
>> > Anders Hammar wrote:
>> >
>> > Hi,
>> >
>> > The repos are in standard file structure. Should be possible to backup
>> > with standard backup software. The configuration is also in a file so
>> > that should also be possible to backup outside of Nexus.
>> >
>> > But if you still want to write a plugin, I'd suggest you wait for v1.4
>> > of Nexus which will include a new annotation-based plugin design.
>> > There is some info on Sonatype's blog
>> >
>> > (http://www.sonatype.com/people/2009/06/writing-plugins-for-nexus-part-1/).
>> > v1.4 should be out during the summer, if I remember correctly.
>> > Writing plugins for v1.3 is a different story. You then need to write
>> > a Plexus component. I'm not even sure what support there is today for
>> > the kind of plugin you want to write (I would guess a scheduled task).
>> >
>> > /Anders
>> >
>> > 2009/6/12 Mickaël GERVAIS <mgervais@...>:
>> >
>> >
>> > Hi,
>> > I've discovered Nexus one week ago, and I'd like to develop a plug-in to
>> > backup configuration and some repositories, does it already exist? or
>> > can I
>> > do that? Is there some procedures to follow?
>> > Thanks
>> > --
>> > :::::::::::::::::::::::::::::::::::::::::::::::
>> > Mickaël Gervais
>> > Agaetis
>> > 1 avenue des Cottages
>> > 63 000 Clermont-Ferrand
>> >
>> > Courriel : mgervais@...
>> > Téléphone : 04 73 35 56 96
>> > Portable : 06 82 35 52 82
>> > Site : http://www.agaetis.fr
>> > :::::::::::::::::::::::::::::::::::::::::::::::
>> >
>> >
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: nexus-dev-unsubscribe@...
>> > For additional commands, e-mail: nexus-dev-help@...
>> >
>> >
>> >
>> > --
>> > :::::::::::::::::::::::::::::::::::::::::::::::
>> > Mickael Gervais
>> > Agaetis
>> > 1 avenue des Cottages
>> > 63 000 Clermont-Ferrand
>> >
>> > Courriel : mgervais@...
>> > Téléphone : 04 73 35 56 96
>> > Portable : 06 82 35 52 82
>> > Site : http://www.agaetis.fr
>> > :::::::::::::::::::::::::::::::::::::::::::::::
>> >
>> >
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: nexus-dev-unsubscribe@...
>> > For additional commands, e-mail: nexus-dev-help@...
>> >
>> >
>> >
>> > --
>> > :::::::::::::::::::::::::::::::::::::::::::::::
>> > Mickael Gervais
>> > Agaetis
>> > 1 avenue des Cottages
>> > 63 000 Clermont-Ferrand
>> >
>> > Courriel : mgervais@...
>> > Téléphone : 04 73 35 56 96
>> > Portable : 06 82 35 52 82
>> > Site : http://www.agaetis.fr
>> > :::::::::::::::::::::::::::::::::::::::::::::::
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: nexus-dev-unsubscribe@...
>> For additional commands, e-mail: nexus-dev-help@...
>>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: nexus-dev-unsubscribe@...
For additional commands, e-mail: nexus-dev-help@...


Re: How to develop a plugin.

by Mickaël GERVAIS :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

So yousuggest to wait for the 1.4 release ?
If I develop a backup plugin it will be an Open Source
:)

Anders Hammar wrote:
Great - looking forward to that release!

/Anders

On Sat, Jun 13, 2009 at 01:27, Brian Foxbrianf@... wrote:
  
Yes a follow up blog is due soon (hint hint Tamas...). We have recently
worked through some classloading issues and the final packaging format is
being defined. 1.4 is ~4 weeks out at this point. The architecture changes
in this release went beyond the scope of our normal 6 week cycle.

On Fri, Jun 12, 2009 at 3:03 PM, Anders Hammar anders@... wrote:
    
Well, there is that blog I linked to in earlier mail. And it stated
part1, so I would expect at least one more post. And the Javadoc
should probably also help. In any case it will most likely be easier
than using the Plexus model.
Just post any questions to this list and I'm very confident that you
will get answers.

/Anders

2009/6/12 Mickaël GERVAIS mgervais@...:
      
Why not! If you need somethng, but I 've never developp with plexus...
So
you'll have to provide me some docs! :)

Anders Hammar wrote:

Ok. So you'll write some open sourced plugins to share with the rest
of us then? :-)

/Anders

2009/6/12 Mickaël GERVAIS mgervais@...:


Hi
thanks for your response. That's right, I'd like to be able to schedule
the
backup etc... So i'll wait and use a script to backup for the moment!
Mickael


Anders Hammar wrote:

Hi,

The repos are in standard file structure. Should be possible to backup
with standard backup software. The configuration is also in a file so
that should also be possible to backup outside of Nexus.

But if you still want to write a plugin, I'd suggest you wait for v1.4
of Nexus which will include a new annotation-based plugin design.
There is some info on Sonatype's blog

(http://www.sonatype.com/people/2009/06/writing-plugins-for-nexus-part-1/).
v1.4 should be out during the summer, if I remember correctly.
Writing plugins for v1.3 is a different story. You then need to write
a Plexus component. I'm not even sure what support there is today for
the kind of plugin you want to write (I would guess a scheduled task).

/Anders

2009/6/12 Mickaël GERVAIS mgervais@...:


Hi,
I've discovered Nexus one week ago, and I'd like to develop a plug-in to
backup configuration and some repositories, does it already exist? or
can I
do that? Is there some procedures to follow?
Thanks
--
:::::::::::::::::::::::::::::::::::::::::::::::
Mickaël Gervais
Agaetis
1 avenue des Cottages
63 000 Clermont-Ferrand

Courriel : mgervais@...
Téléphone : 04 73 35 56 96
Portable : 06 82 35 52 82
Site : http://www.agaetis.fr
:::::::::::::::::::::::::::::::::::::::::::::::



---------------------------------------------------------------------
To unsubscribe, e-mail: nexus-dev-unsubscribe@...
For additional commands, e-mail: nexus-dev-help@...



--
:::::::::::::::::::::::::::::::::::::::::::::::
Mickael Gervais
Agaetis
1 avenue des Cottages
63 000 Clermont-Ferrand

Courriel : mgervais@...
Téléphone : 04 73 35 56 96
Portable : 06 82 35 52 82
Site : http://www.agaetis.fr
:::::::::::::::::::::::::::::::::::::::::::::::



---------------------------------------------------------------------
To unsubscribe, e-mail: nexus-dev-unsubscribe@...
For additional commands, e-mail: nexus-dev-help@...



--
:::::::::::::::::::::::::::::::::::::::::::::::
Mickael Gervais
Agaetis
1 avenue des Cottages
63 000 Clermont-Ferrand

Courriel : mgervais@...
Téléphone : 04 73 35 56 96
Portable : 06 82 35 52 82
Site : http://www.agaetis.fr
:::::::::::::::::::::::::::::::::::::::::::::::

        
---------------------------------------------------------------------
To unsubscribe, e-mail: nexus-dev-unsubscribe@...
For additional commands, e-mail: nexus-dev-help@...

      
    

---------------------------------------------------------------------
To unsubscribe, e-mail: nexus-dev-unsubscribe@...
For additional commands, e-mail: nexus-dev-help@...

  

--
:::::::::::::::::::::::::::::::::::::::::::::::
Mickael Gervais
Agaetis
1 avenue des Cottages
63 000 Clermont-Ferrand


Courriel : mgervais@...
Téléphone : 04 73 35 56 96
Portable : 06 82 35 52 82
Site : http://www.agaetis.fr
:::::::::::::::::::::::::::::::::::::::::::::::

Re: How to develop a plugin.

by Tamás Cservenák :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Yes,
the new 1.4 will be a real milestone wrt internals of Nexus and also
plugins too.

~t~

2009/6/13 Mickaël GERVAIS <mgervais@...>:

> So yousuggest to wait for the 1.4 release ?
> If I develop a backup plugin it will be an Open Source
> :)
>
> Anders Hammar wrote:
>
> Great - looking forward to that release!
>
> /Anders
>
> On Sat, Jun 13, 2009 at 01:27, Brian Fox<brianf@...> wrote:
>
>
> Yes a follow up blog is due soon (hint hint Tamas...). We have recently
> worked through some classloading issues and the final packaging format is
> being defined. 1.4 is ~4 weeks out at this point. The architecture changes
> in this release went beyond the scope of our normal 6 week cycle.
>
> On Fri, Jun 12, 2009 at 3:03 PM, Anders Hammar <anders@...> wrote:
>
>
> Well, there is that blog I linked to in earlier mail. And it stated
> part1, so I would expect at least one more post. And the Javadoc
> should probably also help. In any case it will most likely be easier
> than using the Plexus model.
> Just post any questions to this list and I'm very confident that you
> will get answers.
>
> /Anders
>
> 2009/6/12 Mickaël GERVAIS <mgervais@...>:
>
>
> Why not! If you need somethng, but I 've never developp with plexus...
> So
> you'll have to provide me some docs! :)
>
> Anders Hammar wrote:
>
> Ok. So you'll write some open sourced plugins to share with the rest
> of us then? :-)
>
> /Anders
>
> 2009/6/12 Mickaël GERVAIS <mgervais@...>:
>
>
> Hi
> thanks for your response. That's right, I'd like to be able to schedule
> the
> backup etc... So i'll wait and use a script to backup for the moment!
> Mickael
>
>
> Anders Hammar wrote:
>
> Hi,
>
> The repos are in standard file structure. Should be possible to backup
> with standard backup software. The configuration is also in a file so
> that should also be possible to backup outside of Nexus.
>
> But if you still want to write a plugin, I'd suggest you wait for v1.4
> of Nexus which will include a new annotation-based plugin design.
> There is some info on Sonatype's blog
>
> (http://www.sonatype.com/people/2009/06/writing-plugins-for-nexus-part-1/).
> v1.4 should be out during the summer, if I remember correctly.
> Writing plugins for v1.3 is a different story. You then need to write
> a Plexus component. I'm not even sure what support there is today for
> the kind of plugin you want to write (I would guess a scheduled task).
>
> /Anders
>
> 2009/6/12 Mickaël GERVAIS <mgervais@...>:
>
>
> Hi,
> I've discovered Nexus one week ago, and I'd like to develop a plug-in to
> backup configuration and some repositories, does it already exist? or
> can I
> do that? Is there some procedures to follow?
> Thanks
> --
> :::::::::::::::::::::::::::::::::::::::::::::::
> Mickaël Gervais
> Agaetis
> 1 avenue des Cottages
> 63 000 Clermont-Ferrand
>
> Courriel : mgervais@...
> Téléphone : 04 73 35 56 96
> Portable : 06 82 35 52 82
> Site : http://www.agaetis.fr
> :::::::::::::::::::::::::::::::::::::::::::::::
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: nexus-dev-unsubscribe@...
> For additional commands, e-mail: nexus-dev-help@...
>
>
>
> --
> :::::::::::::::::::::::::::::::::::::::::::::::
> Mickael Gervais
> Agaetis
> 1 avenue des Cottages
> 63 000 Clermont-Ferrand
>
> Courriel : mgervais@...
> Téléphone : 04 73 35 56 96
> Portable : 06 82 35 52 82
> Site : http://www.agaetis.fr
> :::::::::::::::::::::::::::::::::::::::::::::::
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: nexus-dev-unsubscribe@...
> For additional commands, e-mail: nexus-dev-help@...
>
>
>
> --
> :::::::::::::::::::::::::::::::::::::::::::::::
> Mickael Gervais
> Agaetis
> 1 avenue des Cottages
> 63 000 Clermont-Ferrand
>
> Courriel : mgervais@...
> Téléphone : 04 73 35 56 96
> Portable : 06 82 35 52 82
> Site : http://www.agaetis.fr
> :::::::::::::::::::::::::::::::::::::::::::::::
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: nexus-dev-unsubscribe@...
> For additional commands, e-mail: nexus-dev-help@...
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: nexus-dev-unsubscribe@...
> For additional commands, e-mail: nexus-dev-help@...
>
>
>
> --
> :::::::::::::::::::::::::::::::::::::::::::::::
> Mickael Gervais
> Agaetis
> 1 avenue des Cottages
> 63 000 Clermont-Ferrand
>
> Courriel : mgervais@...
> Téléphone : 04 73 35 56 96
> Portable : 06 82 35 52 82
> Site : http://www.agaetis.fr
> :::::::::::::::::::::::::::::::::::::::::::::::
>

---------------------------------------------------------------------
To unsubscribe, e-mail: nexus-dev-unsubscribe@...
For additional commands, e-mail: nexus-dev-help@...


Re: How to develop a plugin.

by Ringo De Smet :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Tamás,

2009/6/13 Tamás Cservenák <tamas@...>:
> Yes,
> the new 1.4 will be a real milestone wrt internals of Nexus and also
> plugins too.

Can I already start developing a plugin agains 1.4.0-SNAPSHOT code? Or
do you have 1.4 internal code repository that is only synced at
certain intervals with the public repository?

Can you bootstrap me on which Maven modules I should depend on for my plugin?

My aim: a repository for a completely new content type. "New" in the
sense of totally unrelated to Java or Maven stuff. This also means
that the GAV file upload is useless to me, and I also want to write a
custom indexer for this repository type. I hope this is possible using
the new API.

And of course: it will be OpenSource in the end!

Ringo

---------------------------------------------------------------------
To unsubscribe, e-mail: nexus-dev-unsubscribe@...
For additional commands, e-mail: nexus-dev-help@...


Re: How to develop a plugin.

by Tamás Cservenák :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi there,

well, you can but I can't guarantee that current stance will hold for sure. See some already existing examples here:


The URL above contains some _current_ sample plugins that _will_ work with current trunk, but we are just in the flux to settle on annotations we will use. So, all this may suddenly change (in following days actually).

The NexusPD plugin, needed to build these sample Nexus plugins is in Nexus trunk.

Yes, it is very easy to add new "content type"-s (a repo type). That's actually what P2 and OBR plugins do. Also, in Proximity time, I had idea to proxy RPM repositories (RPM-MD layout) for my SuSE Linuxes.... this is all doable in Nexus. Proper indexer extension is I believe still problematic (too much coupled to M2 repo layouts).

Again, the Nexus Plugin API and Annos _will_ change today and tomorrow for sure, but don't know how much :)

Can you wait few days?

~t~

On Mon, Jul 6, 2009 at 2:34 PM, Ringo De Smet <ringo.desmet@...> wrote:
Tamás,

2009/6/13 Tamás Cservenák <tamas@...>:
> Yes,
> the new 1.4 will be a real milestone wrt internals of Nexus and also
> plugins too.

Can I already start developing a plugin agains 1.4.0-SNAPSHOT code? Or
do you have 1.4 internal code repository that is only synced at
certain intervals with the public repository?

Can you bootstrap me on which Maven modules I should depend on for my plugin?

My aim: a repository for a completely new content type. "New" in the
sense of totally unrelated to Java or Maven stuff. This also means
that the GAV file upload is useless to me, and I also want to write a
custom indexer for this repository type. I hope this is possible using
the new API.

And of course: it will be OpenSource in the end!

Ringo

---------------------------------------------------------------------
To unsubscribe, e-mail: nexus-dev-unsubscribe@...
For additional commands, e-mail: nexus-dev-help@...



Re: How to develop a plugin.

by Ringo De Smet :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Tamás,

2009/7/6 Tamás Cservenák <tamas@...>:
> Again, the Nexus Plugin API and Annos _will_ change today and tomorrow for
> sure, but don't know how much :)
> Can you wait few days?

I can hold of for about a week (until after the weekend), but I need
to bootstrap an internal build system (nothing Java!), and in my agile
interpretation of "do the simplest thing possible", deploying Nexus
with a custom repo type is what gives me the biggest step forward as
part of my complete solution. I can live with incremental changes
after the groundwork has been laid down. Will the groundwork be
accompanied with part 2 of the Writing Nexus Plugins article? ;-)

What I'm mostly interested in:

- parent POM for my plugin if needed.
- build plugins required (nexuspd, any others?)
- which dependencies do I need in my plugin POM?
- an overview of the ExtensionPoints defined with some description
when to use them. I can usually deduce *how* to use them from the API
and an example.

Cheers,

Ringo

---------------------------------------------------------------------
To unsubscribe, e-mail: nexus-dev-unsubscribe@...
For additional commands, e-mail: nexus-dev-help@...


Re: How to develop a plugin.

by Brian Fox :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



On Mon, Jul 6, 2009 at 8:34 AM, Ringo De Smet <ringo.desmet@...> wrote:
Tamás,

2009/6/13 Tamás Cservenák <tamas@...>:
> Yes,
> the new 1.4 will be a real milestone wrt internals of Nexus and also
> plugins too.

Can I already start developing a plugin agains 1.4.0-SNAPSHOT code? Or
do you have 1.4 internal code repository that is only synced at
certain intervals with the public repository?

Hi Ringo, our code is committed directly to the public repo, there's nothing hidden, you can see work in real time for all it's glory ;-)
 

Can you bootstrap me on which Maven modules I should depend on for my plugin?

My aim: a repository for a completely new content type. "New" in the
sense of totally unrelated to Java or Maven stuff. This also means
that the GAV file upload is useless to me, and I also want to write a
custom indexer for this repository type. I hope this is possible using
the new API.

And of course: it will be OpenSource in the end!

Ringo

---------------------------------------------------------------------
To unsubscribe, e-mail: nexus-dev-unsubscribe@...
For additional commands, e-mail: nexus-dev-help@...



Re: How to develop a plugin.

by Ringo De Smet :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Brian,

2009/7/8 Brian Fox <brianf@...>:
>
> Hi Ringo, our code is committed directly to the public repo, there's nothing
> hidden, you can see work in real time for all it's glory ;-)

Great! What are the annotations used to define the plugin API? Is it
still @ExtensionPoint and the Google annotations like described in the
blog article?

Ringo

---------------------------------------------------------------------
To unsubscribe, e-mail: nexus-dev-unsubscribe@...
For additional commands, e-mail: nexus-dev-help@...


Re: How to develop a plugin.

by Tamás Cservenák :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

yes, but it will be renamed for sure!

Check my next mail, since out "internal vote" proved kinda slow :)

~t~

On Wed, Jul 8, 2009 at 10:33 PM, Ringo De Smet <ringo.desmet@...> wrote:
Brian,

2009/7/8 Brian Fox <brianf@...>:
>
> Hi Ringo, our code is committed directly to the public repo, there's nothing
> hidden, you can see work in real time for all it's glory ;-)

Great! What are the annotations used to define the plugin API? Is it
still @ExtensionPoint and the Google annotations like described in the
blog article?

Ringo

---------------------------------------------------------------------
To unsubscribe, e-mail: nexus-dev-unsubscribe@...
For additional commands, e-mail: nexus-dev-help@...



Re: How to develop a plugin.

by Ringo De Smet :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Tamás,

2009/7/6 Tamás Cservenák <tamas@...>:
> Again, the Nexus Plugin API and Annos _will_ change today and tomorrow for
> sure, but don't know how much :)
> Can you wait few days?

Some days have passed. :-)

What is the state of the plugin-API? Is it possible to start
developping my Nexus plugin?

Greetz,

Ringo

---------------------------------------------------------------------
To unsubscribe, e-mail: nexus-dev-unsubscribe@...
For additional commands, e-mail: nexus-dev-help@...


Re: How to develop a plugin.

by Tamás Cservenák :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi there, sorry for delay but YES

Finally, I did not rename the Annos (my bad), but we already converted our OSS and Pro plugins to new API, so go ahead.

Up to date examples are here (archetype and sample plugins, other are not converted yet):

~t~

On Wed, Jul 22, 2009 at 8:01 PM, Ringo De Smet <ringo.desmet@...> wrote:
Tamás,

2009/7/6 Tamás Cservenák <tamas@...>:
> Again, the Nexus Plugin API and Annos _will_ change today and tomorrow for
> sure, but don't know how much :)
> Can you wait few days?

Some days have passed. :-)

What is the state of the plugin-API? Is it possible to start
developping my Nexus plugin?

Greetz,

Ringo

---------------------------------------------------------------------
To unsubscribe, e-mail: nexus-dev-unsubscribe@...
For additional commands, e-mail: nexus-dev-help@...