Plugin dependencies

5 messages Options
Embed this post
Permalink
glenn_engel

Plugin dependencies

Reply Threaded More More options
Print post
Permalink
I have a plugin that depends on xwiki-plugin-skinx and xwiki-core-component (for example).  When I try to build against 2.0-milestone-1 maven is not able to find jar files for these.

 

Do I need to specify 1.9 versions for these or have they 'moved' elsewhere?  Is there a way to easily determine what is what?

 

Thanks,

 

Glenn

_______________________________________________
devs mailing list
[hidden email]
http://lists.xwiki.org/mailman/listinfo/devs
Marius Dumitru Florea

Re: Plugin dependencies

Reply Threaded More More options
Print post
Permalink
Hi,

You can look at http://maven.xwiki.org/ for available artifacts. It
seems the latest stable version of xwiki-plugin-skinx is 1.9 (
http://maven.xwiki.org/releases/com/xpn/xwiki/platform/plugins/xwiki-plugin-skinx/ 
) and the latest stable version of xwiki-core-component is
2.0-milestone-1 (
http://maven.xwiki.org/releases/org/xwiki/platform/xwiki-core-component/ 
). You can rely on snapshots also.

Hope this helps,
Marius

[hidden email] wrote:

> I have a plugin that depends on xwiki-plugin-skinx and xwiki-core-component (for example).  When I try to build against 2.0-milestone-1 maven is not able to find jar files for these.
>
>  
>
> Do I need to specify 1.9 versions for these or have they 'moved' elsewhere?  Is there a way to easily determine what is what?
>
>  
>
> Thanks,
>
>  
>
> Glenn
>
> _______________________________________________
> devs mailing list
> [hidden email]
> http://lists.xwiki.org/mailman/listinfo/devs
_______________________________________________
devs mailing list
[hidden email]
http://lists.xwiki.org/mailman/listinfo/devs
glenn_engel

Re: Plugin dependencies

Reply Threaded More More options
Print post
Permalink
> -----Original Message-----
> From: [hidden email] [mailto:[hidden email]] On Behalf
> Of Marius Dumitru Florea
> Sent: Tuesday, June 30, 2009 1:05 PM
> To: XWiki Developers
> Subject: Re: [xwiki-devs] Plugin dependencies
>
> Hi,
>
> You can look at http://maven.xwiki.org/ for available artifacts. It
> seems the latest stable version of xwiki-plugin-skinx is 1.9 (
> http://maven.xwiki.org/releases/com/xpn/xwiki/platform/plugins/xwiki-
> plugin-skinx/

So I have to manually go thru each dependency and force an older version?  Perhaps it's because I'm new to maven but this seems a bit tedious.  I guess I figured that there would be new versions available for a major release like 2.0.


> ) and the latest stable version of xwiki-core-component is
> 2.0-milestone-1 (
> http://maven.xwiki.org/releases/org/xwiki/platform/xwiki-core-
> component/
> ). You can rely on snapshots also.

Unfortunately there is not a jar in this folder tree.

Should I be checking out all the latest source and not using maven jars at all?


>
> Hope this helps,
> Marius
>
> [hidden email] wrote:
> > I have a plugin that depends on xwiki-plugin-skinx and xwiki-core-
> component (for example).  When I try to build against 2.0-milestone-1
> maven is not able to find jar files for these.
> >
> >
> >
> > Do I need to specify 1.9 versions for these or have they 'moved'
> elsewhere?  Is there a way to easily determine what is what?
> >
> >
> >
> > Thanks,
> >
> >
> >
> > Glenn
> >
> > _______________________________________________
> > devs mailing list
> > [hidden email]
> > http://lists.xwiki.org/mailman/listinfo/devs
> _______________________________________________
> devs mailing list
> [hidden email]
> http://lists.xwiki.org/mailman/listinfo/devs


_______________________________________________
devs mailing list
[hidden email]
http://lists.xwiki.org/mailman/listinfo/devs
Marius Dumitru Florea

Re: Plugin dependencies

Reply Threaded More More options
Print post
Permalink
Hi,

[hidden email] wrote:

>> -----Original Message-----
>> From: [hidden email] [mailto:[hidden email]] On Behalf
>> Of Marius Dumitru Florea
>> Sent: Tuesday, June 30, 2009 1:05 PM
>> To: XWiki Developers
>> Subject: Re: [xwiki-devs] Plugin dependencies
>>
>> Hi,
>>
>> You can look at http://maven.xwiki.org/ for available artifacts. It
>> seems the latest stable version of xwiki-plugin-skinx is 1.9 (
>> http://maven.xwiki.org/releases/com/xpn/xwiki/platform/plugins/xwiki-
>> plugin-skinx/
>
> So I have to manually go thru each dependency and force an older version?  Perhaps it's because I'm new to maven but this seems a bit tedious.  I guess I figured that there would be new versions available for a major release like 2.0.

Some projects/modules have separate release cycles so their version
doesn't necessarily match the version of XE. I think this is the case of
xwiki-plugin-skinx.

>
>
>> ) and the latest stable version of xwiki-core-component is
>> 2.0-milestone-1 (
>> http://maven.xwiki.org/releases/org/xwiki/platform/xwiki-core-
>> component/
>> ). You can rely on snapshots also.
>
> Unfortunately there is not a jar in this folder tree.

I see there is xwiki-core-component-api and xwiki-core-component-default
(default implementation of the API). Maybe you rely on them.

>
> Should I be checking out all the latest source and not using maven jars at all?

No, building the entire source code is a pain. You should definitely use
the jars published by our CI server.

>
>
>> Hope this helps,
>> Marius
>>
>> [hidden email] wrote:
>>> I have a plugin that depends on xwiki-plugin-skinx and xwiki-core-
>> component (for example).  When I try to build against 2.0-milestone-1
>> maven is not able to find jar files for these.
>>>
>>>
>>> Do I need to specify 1.9 versions for these or have they 'moved'
>> elsewhere?  Is there a way to easily determine what is what?
>>>
>>>
>>> Thanks,
>>>
>>>
>>>
>>> Glenn
>>>
>>> _______________________________________________
>>> devs mailing list
>>> [hidden email]
>>> http://lists.xwiki.org/mailman/listinfo/devs
>> _______________________________________________
>> devs mailing list
>> [hidden email]
>> http://lists.xwiki.org/mailman/listinfo/devs
>
>
> _______________________________________________
> devs mailing list
> [hidden email]
> http://lists.xwiki.org/mailman/listinfo/devs
_______________________________________________
devs mailing list
[hidden email]
http://lists.xwiki.org/mailman/listinfo/devs
glenn_engel

Re: Plugin dependencies

Reply Threaded More More options
Print post
Permalink


> -----Original Message-----
> From: [hidden email] [mailto:[hidden email]] On Behalf
> Of Marius Dumitru Florea
> Sent: Tuesday, June 30, 2009 1:30 PM
> To: XWiki Developers
> Subject: Re: [xwiki-devs] Plugin dependencies
>
> Hi,
>
> [hidden email] wrote:
> >> -----Original Message-----
> >> From: [hidden email] [mailto:[hidden email]] On
> Behalf
> >> Of Marius Dumitru Florea
> >> Sent: Tuesday, June 30, 2009 1:05 PM
> >> To: XWiki Developers
> >> Subject: Re: [xwiki-devs] Plugin dependencies
> >>
> >> Hi,
> >>
> >> You can look at http://maven.xwiki.org/ for available artifacts. It
> >> seems the latest stable version of xwiki-plugin-skinx is 1.9 (
> >>
> http://maven.xwiki.org/releases/com/xpn/xwiki/platform/plugins/xwiki-
> >> plugin-skinx/
> >
> > So I have to manually go thru each dependency and force an older
> version?  Perhaps it's because I'm new to maven but this seems a bit
> tedious.  I guess I figured that there would be new versions available
> for a major release like 2.0.
>
> Some projects/modules have separate release cycles so their version
> doesn't necessarily match the version of XE. I think this is the case
> of
> xwiki-plugin-skinx.
>

OK.  So the process is to specify a hardwired version for all the non-core components and when your build fails go and look to see if there is a newer version available?  I had been using ${platform.core.version} in my pom.  I guess I was just 'lucky' there was a 1.8 and 1.9 version available for everything before this and expected it to continue..

Thanks.

> >
> >
> >> ) and the latest stable version of xwiki-core-component is
> >> 2.0-milestone-1 (
> >> http://maven.xwiki.org/releases/org/xwiki/platform/xwiki-core-
> >> component/
> >> ). You can rely on snapshots also.
> >
> > Unfortunately there is not a jar in this folder tree.
>
> I see there is xwiki-core-component-api and xwiki-core-component-
> default
> (default implementation of the API). Maybe you rely on them.
>
> >
> > Should I be checking out all the latest source and not using maven
> jars at all?
>
> No, building the entire source code is a pain. You should definitely
> use
> the jars published by our CI server.
>
> >
> >
> >> Hope this helps,
> >> Marius
> >>
> >> [hidden email] wrote:
> >>> I have a plugin that depends on xwiki-plugin-skinx and xwiki-core-
> >> component (for example).  When I try to build against 2.0-milestone-
> 1
> >> maven is not able to find jar files for these.
> >>>
> >>>
> >>> Do I need to specify 1.9 versions for these or have they 'moved'
> >> elsewhere?  Is there a way to easily determine what is what?
> >>>
> >>>
> >>> Thanks,
> >>>
> >>>
> >>>
> >>> Glenn
> >>>
> >>> _______________________________________________
> >>> devs mailing list
> >>> [hidden email]
> >>> http://lists.xwiki.org/mailman/listinfo/devs
> >> _______________________________________________
> >> devs mailing list
> >> [hidden email]
> >> http://lists.xwiki.org/mailman/listinfo/devs
> >
> >
> > _______________________________________________
> > devs mailing list
> > [hidden email]
> > http://lists.xwiki.org/mailman/listinfo/devs
> _______________________________________________
> devs mailing list
> [hidden email]
> http://lists.xwiki.org/mailman/listinfo/devs


_______________________________________________
devs mailing list
[hidden email]
http://lists.xwiki.org/mailman/listinfo/devs