<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">On 02/08/2013 08:24 PM, Max Rydahl
Andersen wrote:<br>
</div>
<blockquote
cite="mid:7AD155DB-0C3D-4598-B376-124DA75AC871@redhat.com"
type="cite">
<pre wrap="">Hi Mickael,
I don't have enough network bandwidth here to try it but based from the description in jira it sounds great.
But...
</pre>
<blockquote type="cite">
<pre wrap=""> "-Dmirror-target-to-repo.includeSources=true
</pre>
</blockquote>
<pre wrap="">
Why is that name using about 4 different naming conventions ?
dash as spaces
dot as spaces
camelcase for spaces
insane length</pre>
</blockquote>
Convention here are the same as in most Maven plugins:<br>
* key is ${mojoName}.${mojoParameter}<br>
* mojo name is often a dash-separated name<br>
* mojo argument are Camel-case (just like java arguments)<br>
* "insane" length is not a convention, it's just you don't like it,
but it's actually the best way to understand what it does ;)<br>
Read this line as "it sets the includeSources parameter of
mirror-target-to-repo mojo to true".<br>
<br>
<blockquote
cite="mid:7AD155DB-0C3D-4598-B376-124DA75AC871@redhat.com"
type="cite">
<pre wrap="">What other options does this command have ?</pre>
</blockquote>
mvn <a class="moz-txt-link-freetext" href="help:describe">help:describe</a>
-Dcmd=org.jboss.tools.tycho-plugins:target-platform-utils:0.16.0-SNAPSHOT:mirror-target-to-repo
-Ddetail<br>
<br>
Other parameters cannot be set via command-line.<br>
<br>
<blockquote
cite="mid:7AD155DB-0C3D-4598-B376-124DA75AC871@redhat.com"
type="cite">
<pre wrap="">And isn't includeSources independent on wether we are creating a mirror or not ?
</pre>
</blockquote>
includeSources is a flag that change behaviour of the mirror goal.
It adds sources to mirror.<br>
So it's dependent.<br>
<div class="moz-signature">-- <br>
Mickael Istria<br>
Eclipse developer at <a href="http://www.jboss.org/tools">JBoss,
by Red Hat</a><br>
<a href="http://mickaelistria.wordpress.com">My blog</a> - <a
href="http://twitter.com/mickaelistria">My Tweets</a></div>
</body>
</html>