<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">From
<a class="moz-txt-link-freetext" href="http://wiki.eclipse.org/Tycho/Target_Platform#Locally_built_artifacts">http://wiki.eclipse.org/Tycho/Target_Platform#Locally_built_artifacts</a><br>
<br>
<h4 style="color: rgb(0, 0, 0); background-image: none;
background-color: rgb(255, 255, 255); font-weight: bold; margin:
0px 0px 0.3em; padding-top: 0.5em; padding-bottom: 0.17em;
border-bottom-style: none; font-size: 19px; font-family: Arial,
sans-serif; font-style: normal; font-variant: normal;
letter-spacing: normal; line-height: 24px; orphans: 2;
text-align: left; text-indent: 0px; text-transform: none;
white-space: normal; widows: 2; word-spacing: 0px;
-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;
background-position: initial initial; background-repeat: initial
initial;"><span class="mw-headline">Locally built artifacts</span></h4>
<p style="margin: 0.4em 0px 10px; line-height: 24px; color: rgb(0,
0, 0); font-family: Arial, sans-serif; font-size: medium;
font-style: normal; font-variant: normal; font-weight: normal;
letter-spacing: normal; orphans: 2; text-align: left;
text-indent: 0px; text-transform: none; white-space: normal;
widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto;
-webkit-text-stroke-width: 0px; background-color: rgb(255, 255,
255);">Just like in a normal Maven build, a Tycho build can use
artifacts that have been built locally and installed (e.g. with<span
class="Apple-converted-space"> </span><tt>mvn clean install</tt>)
into the local Maven repository. In terms of the target
platform, this means that these artifacts are implicitly added
to the target platform. This is for example useful if you want
to rebuild a part of a Tycho reactor, or if you want to build
against a locally built, newer version of an upstream project.</p>
<p style="margin: 0.4em 0px 10px; line-height: 24px; color: rgb(0,
0, 0); font-family: Arial, sans-serif; font-size: medium;
font-style: normal; font-variant: normal; font-weight: normal;
letter-spacing: normal; orphans: 2; text-align: left;
text-indent: 0px; text-transform: none; white-space: normal;
widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto;
-webkit-text-stroke-width: 0px; background-color: rgb(255, 255,
255);">There are the following options to disable this feature:</p>
<ul style="margin: 0.3em 0px 0px 1.5em; line-height: 24px;
list-style-type: square; padding: 0px; list-style-image:
url(http://wiki.eclipse.org/skins/eclipsenova/bullet.gif);
color: rgb(0, 0, 0); font-family: Arial, sans-serif; font-size:
medium; font-style: normal; font-variant: normal; font-weight:
normal; letter-spacing: normal; orphans: 2; text-align: left;
text-indent: 0px; text-transform: none; white-space: normal;
widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto;
-webkit-text-stroke-width: 0px; background-color: rgb(255, 255,
255);">
<li style="margin-bottom: 0.1em;">Setting the CLI option<span
class="Apple-converted-space"> </span><tt>-Dtycho.localArtifacts=ignore</tt><span
class="Apple-converted-space"> </span>excludes locally built
artifacts in one build. (<tt>tycho.localArtifacts=ignore</tt><span
class="Apple-converted-space"> </span>may also be configured
in the<span class="Apple-converted-space"> </span><tt>settings.xml</tt>;
in this case, the default behaviour can be temporarily
re-enabled with the CLI option<span
class="Apple-converted-space"> </span><tt>-Dtycho.localArtifacts=default</tt>.
Since Tycho 0.16.0.)</li>
<li style="margin-bottom: 0.1em;">Deleting<span
class="Apple-converted-space"> </span><tt>~/.m2/repository/.meta/p2-local-metadata.properties</tt><span
class="Apple-converted-space"> </span>resets Tycho's list of
locally build artifacts, and therefore these artifacts will
not be added to target platforms (unless, of course, the
artifacts are installed again).</li>
</ul>
<br>
<br>
Le 01/02/2013 16:01, Max Rydahl Andersen a écrit :<br>
</div>
<blockquote
cite="mid:0203A4FF-9643-454E-B146-CB2A911BBD2C@redhat.com"
type="cite">
<pre wrap="">Hey,
We talked about this 'sideeffect' in tycho where you see things like:
[WARNING] The following locally built units have been used to resolve project dependencies:
[WARNING] org.jboss.tools.common.text.ext/3.4.0.Beta2-v20121028-1355
[WARNING] org.jboss.tools.usage/1.2.0.Beta2-v20121028-1355
[WARNING] org.jboss.tools.common.el.ui/3.4.0.Beta2-v20121028-1355
[WARNING] org.jboss.tools.common.el.core/3.4.0.Beta2-v20121028-1355
Even when I got a repository with even newer bits on it.
Was there a flag for tycho to make it choose the latest instead or somehow ignore my local built ones ?
(even better I would like to just remove all local built stuff without having to guess/list all the names)
/max
_______________________________________________
jbosstools-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:jbosstools-dev@lists.jboss.org">jbosstools-dev@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/jbosstools-dev">https://lists.jboss.org/mailman/listinfo/jbosstools-dev</a>
</pre>
</blockquote>
<br>
</body>
</html>