Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-dev] [cross-project-issues-dev] Shared licenses with Maven/Tycho?

You have to make modified version of Tycho available from a Maven
repository "visible" to your build and there are two ways to do it.

The "right" way is to deploy the modified version of Tycho to a Maven
repository and list the repository as <pluginRepository/> in pom.xml.
This way anyone, including Hudson CI job, will be able to build your
project.

Alternatively, you can install the modified version of Tycho to local
Maven repository used by the Hudson job. Obvious downside is that anyone
trying to build your project will need to do the same.

Hope this helps.

--
Regards,
Igor

On 11-11-10 12:58 PM, Greg Watson wrote:
Ok, Saturday then :-)

Seriously, I thought there might be some way to use a modified
version of Tycho for my build (which runs from Hudson). Would that be
possible, or is it likely to be too complicated to set up?

Thanks,
Greg

On Nov 10, 2011, at 11:26 AM, Igor Fedorenko wrote:

Don't mean to discourage you, but I think "working by tomorrow" is too
aggressive, especially if you have to prio experience working with Tycho
sources.

At any rate, Tycho development environment setup is documented in [1]. I
have not looked closely at license features, but from Kim's blog I think
you need to make at least two changes

1. Feature's build target platform must include corresponding license
feature. I think you only need to change FeatureDependenciesAction,
which deals with P2 side of things, but other related changes may also
be necessary.

2. PackageFeatureMojo implements actual feature packaging logic. It
already makes changes to feature.xml to deal with .qualifier expansion,
so this is the place to implement merging of license information.

It goes without saying that all contributions to Tycho must go through
bugzilla and we generally require integration test(s) for each new
feature (see tycho-its module). If you have further questions, tycho-dev
is probably a better place to ask them.


[1] http://wiki.eclipse.org/Developing_Tycho

--
Regards,
Igor

On 11-11-10 7:23 AM, Greg Watson wrote:
Igor,

Could you give me some pointers on how to add a plugin to do this? I need to get it working by tomorrow if possible.

Thanks,
Greg

On Nov 10, 2011, at 5:14 AM, Igor Fedorenko wrote:

No, tycho does not support shared license feature. Should not be hard to
add, but we did not have the need yet.

--
Regards,
Igor

On 11-11-09 10:19 PM, Greg Watson wrote:
Hi,

Does anyone know if it's possible to build plugins that use the
shared license feature [1] using Maven/Tycho? I've found support for
PDE and Buckminser, but I've yet to find anything that refers to
using Maven/Tycho.

Thanks, Greg>
[1] http://relengofthenerds.blogspot.com/2011/01/implementing-shared-licenses-with-37m5.html
_______________________________________________
cross-project-issues-dev mailing list
cross-project-issues-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cross-project-issues-dev

_______________________________________________
cross-project-issues-dev mailing list
cross-project-issues-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cross-project-issues-dev
_______________________________________________
cross-project-issues-dev mailing list
cross-project-issues-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cross-project-issues-dev

_______________________________________________
tycho-dev mailing list
tycho-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-dev


Back to the top