[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [mylyn-docs-dev] Maven repository at https://repo.eclipse.org/content/repositories/mylyn-snapshots/
|
Thanks Jeremie,
It was getting a bit too late yesterday and you’re absolutely correct :-) I believe the groupId setting was simply an afterthought, it certainly was not the plan to set it up like this - so I’ll remedy that.
See you at EclipseCon!
Best regards,
Torkild
> 9. okt. 2015 kl. 11.03 skrev Jeremie Bresson <dev@xxxxxxxx>:
>
> The Layout of the maven repository is decided by maven itself. As far as I know, it is driven by the groupId.
> <groupId>zzz.yyyyyyyyyyyy.xxxxxx</groupId> will be stored in zzz/yyyyyyyyyyyy/xxxxxx
>
> All your EPub plugins are defined with "org.eclipse.mylyn.docs.epub" as groupId. Check those lines in your pom files:
> • https://github.com/eclipse/mylyn.docs/blob/master/org.eclipse.mylyn.docs.epub-feature/pom.xml#L13
> • https://github.com/eclipse/mylyn.docs/blob/master/org.eclipse.mylyn.docs.epub.ant.core/pom.xml#L29
> • https://github.com/eclipse/mylyn.docs/blob/master/org.eclipse.mylyn.docs.epub.core/pom.xml#L33
> • https://github.com/eclipse/mylyn.docs/blob/master/org.eclipse.mylyn.docs.epub.help/pom.xml#L11
> • https://github.com/eclipse/mylyn.docs/blob/master/org.eclipse.mylyn.docs.epub.tests/pom.xml#L57
> • https://github.com/eclipse/mylyn.docs/blob/master/org.eclipse.mylyn.docs.epub.ui/pom.xml#L29
>
> It seems to be missing in "org.eclipse.mylyn.docs.epub.sdk-feature". I am not sure if this is on intended or not. If no groupId is defined, maven takes the groupId of the parent module ("org.eclipse.mylyn.docs" in this case).
>
> I think that a common practice is to place the groupId and the artifactId definition near in the pom, as it is the case for "org.eclipse.mylyn.docs.epub.help" (line 11 and 12). This is only a convention (at the end, pom files are XML files).
>
> Publishing a maven plugin is a lot of work. It was also the case for me and my geneclipsetoc maven plugin. ;-)
>
> By the way, I think that having no maven repository containing a stable version of your epub plugins (as far I can tell you are depending on a SNAPSHOT version) will prevent you to publish a clean release of your plugin. If you try to release a plugin having a SNAPSHOT version as dependency a warning is triggered during the "release:prepare" step.
>
> This is why I started to republish some of the wikitext jars (stable version published on the SimRel P2 update site) on a maven repository hosted on bintray. This will be useless when Bug 421551 is solved.
>
> I hope I can attend your Mylyn Docs talk at the EclipseCon Europe.
>
> Jeremie.
>
>
>
> Le 08.10.2015 22:12, Torkild Ulvøy Resheim a écrit :
>> Thanks, I wish :-) Spent way too many hours getting the test rig up
>> and running (which it does know), so only a few lines of codes are in
>> place. It’s an educating exercise though.
>>
>> Btw. I’m doing a talk on Mylyn Docs at the next EclipseCon Europe - I
>> think I got the good stuff covered, but please let me know if you have
>> some interesting anecdotes or news.
>>
>> Best regards,
>> Torkild
>>> 8. okt. 2015 kl. 21.56 skrev David Green <david.green@xxxxxxxxxxx>:
>>>
>>> Great! Sounds like you're moving forward.
>>>
>>> David
>>>
>>> On Thu, Oct 8, 2015 at 12:14 PM Torkild Ulvøy Resheim <torkildr@xxxxxxxxx> wrote:
>>> Thanks David,
>>>
>>> I’ve done some more digging and found that this is likely caused by “mvn install”. It’s the layout I get in the local repository. If I change the “groupId” to “org.eclipse.mylyn.docs.epub” it appears to work. Even though the groupid for these artifact are specified to be “org.eclipse.mylyn.docs”. Now I have some other issues. For reference I’m trying to use the “AbstractMojoTestCase” to test an actual pom.xml using the new plugin.
>>>
>>> Best regards,
>>> Torkild
>>>> 8. okt. 2015 kl. 20.47 skrev David Green <david.green@xxxxxxxxxxx>:
>>>>
>>>> Torkild,
>>>>
>>>> I don't know the reasoning behind the current layout. Perhaps someone else on the list knows?
>>>>
>>>> I'm all for changing it if it's causing problems - though I won't be able to help out with the effort.
>>>>
>>>> David
>>>>
>>>> On Thu, Oct 8, 2015 at 10:30 AM Torkild U. Resheim <torkildr@xxxxxxxxx> wrote:
>>>> Hi all,
>>>>
>>>> I’ve started work on a Maven plug-in for generating EPUBs and are trying to set up the dependencies correctly. However for some reason the o.e.m.d.epub.* bundles are placed in a subfolder named “epub” and I cannot get Maven to find them. All other bundles including o.e.m.d.epub.sdk resolve as they should. Any ideas?
>>>>
>>>> Best regards,
>>>> Torkild
>>>> --
>>>> Torkild Ulvøy Resheim
>>>> Consultant / Eclipse Committer / Senior Software Developer
>>>> Itema AS - http://itema.no
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> mylyn-docs-dev mailing list
>>>> mylyn-docs-dev@xxxxxxxxxxx
>>>> To change your delivery options, retrieve your password, or unsubscribe from this list, visit
>>>> https://dev.eclipse.org/mailman/listinfo/mylyn-docs-dev
>>>> --
>>>> David Green
>>>> VP of Architecture, Tasktop
>>>> Committer, Eclipse Mylyn
>>>> http://tasktop.com
>>>> _______________________________________________
>>>> mylyn-docs-dev mailing list
>>>> mylyn-docs-dev@xxxxxxxxxxx
>>>> To change your delivery options, retrieve your password, or unsubscribe from this list, visit
>>>> https://dev.eclipse.org/mailman/listinfo/mylyn-docs-dev
>>>
>>> _______________________________________________
>>> mylyn-docs-dev mailing list
>>> mylyn-docs-dev@xxxxxxxxxxx
>>> To change your delivery options, retrieve your password, or unsubscribe from this list, visit
>>> https://dev.eclipse.org/mailman/listinfo/mylyn-docs-dev
>>> --
>>> David Green
>>> VP of Architecture, Tasktop
>>> Committer, Eclipse Mylyn
>>> http://tasktop.com
>>> _______________________________________________
>>> mylyn-docs-dev mailing list
>>> mylyn-docs-dev@xxxxxxxxxxx
>>> To change your delivery options, retrieve your password, or unsubscribe from this list, visit
>>> https://dev.eclipse.org/mailman/listinfo/mylyn-docs-dev
>>
>>
>> _______________________________________________
>> mylyn-docs-dev mailing list
>> mylyn-docs-dev@xxxxxxxxxxx
>> To change your delivery options, retrieve your password, or
>> unsubscribe from this list, visit
>> https://dev.eclipse.org/mailman/listinfo/mylyn-docs-dev
> _______________________________________________
> mylyn-docs-dev mailing list
> mylyn-docs-dev@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe from this list, visit
> https://dev.eclipse.org/mailman/listinfo/mylyn-docs-dev
Attachment:
smime.p7s
Description: S/MIME cryptographic signature