Hello,

I created a new taverna-extras repo called taverna-xsds
https://github.com/taverna-extras/taverna-xsds

If you clone it and maven install you should get a jar with the xsds
inside it.

I also created a branch of taverna server in my own fork
https://github.com/ianwdunlop/incubator-taverna-server/tree/ian_shared_resources

This uses the shared resources in the taverna-server-webapp and
taverna-server-usagerecord modules. You have to go inside these modules
and run mvn remote-resources:process to get the xsds into the correct
directories. Then you can go to the root and run mvn install.

I couldn't figure out how to:

1) Only copy the resource required rather than all the resources from
the jar.

2) Run the remote-resources:process goal automatically on build/install
rather than manually.

TODO:

If this seems the way to go then we need to get the jar into an existing
maven repo. Or create a new one.

Cheers,

Ian

On 27/01/17 11:04, Ian Dunlop wrote:
> Hello,
>
> Maybe we should attempt to create a mvn repo on the taverna-extras
> github site with https://github.com/github/maven-plugins#readme.
>
> Cheers,
>
> Ian
>
>
> On 27/01/17 10:37, Ian Dunlop wrote:
>> Hello,
>>
>> Perhaps we can use something like
>> http://maven.apache.org/components/plugins/maven-remote-resources-plugin/
>> to bundle up the XSDs in a jar and then pull them into the required
>> projects.
>>
>> Cheers,
>>
>> Ian
>>
>>
>> On 26/01/17 18:37, Dmitry wrote:
>>> Hello,
>>>
>>> There is virtually no access to our biomoby registry. I am for putting
>>> biomoby support as extra.
>>> If there is a demand for biomoby we could rewrite it using my
>>> MobyCore/MobyCentral libraries.
>>> They have no any third-party dependencies and I can put them under
>>> Apache.
>>>
>>> Dmitry
>>>
>>>
>>> On 1/26/2017 6:01 PM, Stian Soiland-Reyes wrote:
>>>> Thanks for pushing this forward, Ian! In had hoped to have more time for
>>>> this in January, but all these grant proposals are coming up :-/
>>>>
>>>> +1 to move biomoby-activity out to extras. I think it also depends on
>>>> the
>>>> monster biomoby.jar which shadows lots of libs of various licenses.
>>>>
>>>>   I think Dmitri has access to the biomoby registry hosted in Spain,
>>>> do you
>>>> have any access numbers, Dmitri..?
>>>>
>>>>
>>>> I think for CDDL of the XSD files we want to keep it as "binary" so
>>>> it is
>>>> clearly not source code that can be modified under AL2 - while we
>>>> want to
>>>> keep it as dual license so much it remains usable from GPL (e.g.
>>>> AstroTaverna).
>>>>
>>>> Perhaps the ideal is to move the XSD out as a separate Maven dependency
>>>> under its own license, say from GitHub. (Donal said that original lives
>>>> inside a PDF .... )
>>>>
>>>> ..or we can also leave it as a zip file in the GitHub repo, which is
>>>> not as
>>>> clean (and would require LICENCE changes)?
>>>>
>>>> Middle ground : make a taverna-extras repo with a Release JAR of just
>>>> the
>>>> XSDs, and download straight from GH; I think the Maven plugin could do
>>>> that. Does not work as nicely with caches and proxies.
>>>>
>>>> On 26 Jan 2017 3:40 pm, "Ian Dunlop" <[email protected]> wrote:
>>>>
>>>> Hello,
>>>>
>>>> Taverna server includes an xsd (https://github.com/apache/
>>>> incubator-taverna-server/blob/master/taverna-server-webapp/
>>>> src/misc/xsd/persistence_1_0.xsd) which can be licensed under CDDL (read
>>>> the source file - the user can select either gpl or cddl).
>>>>
>>>> https://www.apache.org/legal/resolved#category-b states the following
>>>> regarding CDDL (among others):
>>>>
>>>> For small amounts of source that is directly consumed by the ASF
>>>> product at
>>>> runtime in source form, and for which that source is unmodified and
>>>> unlikely to be changed anyway (say, by virtue of being specified by a
>>>> standard), inclusion of appropriately labeled source is also permitted.
>>>>
>>>> So it looks like that file can be included but it begs the question
>>>> of what
>>>> "appropriately labeled" means. Any ideas? Point to this licence in
>>>> NOTICE?
>>>>
>>>> Cheers,
>>>>
>>>> Ian
>>>>
>>>>
>>>> On 26/01/17 13:09, Gale Naylor wrote:
>>>>
>>>>
>>>> +1
>>>>
>>>> On Thu, Jan 26, 2017, 3:38 AM Alan Williams <[email protected]>
>>>> <[email protected]>
>>>> wrote:
>>>>
>>>>
>>>> On 26-Jan-17 11:33, Ian Dunlop wrote:
>>>>
>>>> Hello,
>>>>
>>>> This sounds like a horribly tangled web that we should just ignore for
>>>> the moment. Perhaps the biomoby-activity-ui can be moved to the
>>>> taverna-extras repo until we clear this up. To me it doesn't seem worth
>>>> expending  effort when most of the other apache taverna repos are almost
>>>> there regards licences.
>>>>
>>>>
>>>> +1
>>>>
>>>>
>>>> Cheers,
>>>>
>>>> Ian
>>>>
>>>>
>>>> Alan
>>>>
>


Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to