Yes, this is a bug. Created
http://jira.codehaus.org/browse/MNGECLIPSE-1114 to track it.
Max Spring wrote:
One thing I just found out which seems to be a bug: When I do a 'mvn
install' on my multi-module pom, I get this in the update-site project:
[INFO] Installing /mydir/myproject/target/site/site.xml to
/home/me/.m2/repository/my/group/myproject/1.0-SNAPSHOT/myproject-1.0-SNAPSHOT.jar
I verified that the .jar file is actually the site.xml.
-Max
On 12/18/2008 5:07 PM, Max Spring wrote:
Igor,
ideally, I can specify a set of dependencies to plugins to go into an
update site under a given feature and Tycho generates that feature on
the fly and resolves all the plugins from the Maven repository and/or
targetPlatform. And there should be an option to transitively sweep
all referenced plugins. Something what the maven-war-plugin can do.
On a more practical level: I think I have now something working, but
the site gets created only if I have all the features and their
plugins in the same reactor via a multi-module pom. Tycho does not
seem to resolve the references from the Maven repository.
I'm also a little unclear how my SNAPSHOT versions should be specified
in the site.feature.version attribute.
-Max
On 12/13/2008 7:43 AM, Igor Fedorenko wrote:
Max,
Can you explain in some details what you are trying to achieve?
Right now, Tycho follows Eclipse/PDE approach for update sites, i.e.
developers creates update site project and site.xml with all features
to be provided by the update site. Then tycho collects all included
features and plugins during the build. I think this is not what you
ask, but I need to understand your scenario to see if I can suggest
anything better.
--
Regards,
Igor
Max Spring wrote:
On 12/12/2008 1:08 PM, Igor Fedorenko wrote:
Max,
I am not sure what you mean. Are these plugin projects or jars?
These are Eclipse plugins.
Do you have site.xml or want tycho to generate one for you?
I want Tycho to generate it.
Do you have feature(s) that include the plugins?
I don't have a feature. I suppose I have to create a Maven project
for that.
You know that tycho supports building eclipse update site projects,
right?
I have a vague understanding of that, but I couldn't find an example
how to do it.
-Max
--
Regards,
Igor
Max Spring wrote:
Is there a way to create an Eclipse update site using Maven/Tycho
given a set of plugins in a directory?
Thanks!
-Max
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email