You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: _pages/develop/architecture.md
+9-15Lines changed: 9 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -272,28 +272,22 @@ We sometimes use `SNAPSHOT` versions temporarily on topic branches. However, we
272
272
273
273
## Using snapshot couplings during development
274
274
275
-
For developing several components in parallel, it is very useful to switch to `SNAPSHOT` dependency couplings e.g., to test a [pull request](https://help.github.com/articles/checking-out-pull-requests-locally/).
275
+
For developing several components in parallel, it can be useful to switch to `SNAPSHOT` dependency couplings.
276
276
277
-
There are two easy ways of going about this:
277
+
You can override the version property of the dependency for which you wish to use a snapshot:
278
278
279
-
1. When a small number of snapshot couplings are needed, you can override the version property of the dependency for which you wish to use a snapshot:
<enforcer.skip>true</enforcer.skip> <!-- ONLY while depending on a SNAPSHOT -->
283
-
</properties>
284
-
2. Alternately, if you wish to temporarily apply snapshot couplings en masse, you can switch on a "dev profile" (defined in the [`pom-scijava` parent POM](https://github.com/scijava/pom-scijava/blob/pom-scijava-12.0.0/pom.xml#L2542-L2547)) by creating one or more "dev token" files:
285
-
-`~/.scijava/dev.imagej`
286
-
-`~/.scijava/dev.imglib2`
287
-
-`~/.scijava/dev.scifio`
288
-
-`~/.scijava/dev.scijava`
289
-
290
-
These files need not have any content; their mere existence will trigger the dev profile associated with the named organization, causing all artifacts of that organization to become coupled as `SNAPSHOT`s.
<enforcer.skip>true</enforcer.skip> <!-- ONLY while depending on a SNAPSHOT -->
283
+
</properties>
284
+
```
291
285
292
286
In the case of Eclipse, you may need to "Update Maven project" in order to see the snapshot couplings go into effect; the shortcut {% include key keys='Alt|F5' %} while selecting the affected project(s) accomplishes this quickly.
293
287
294
288
{% include notice icon="warning" content='Current versions of the Eclipse Maven integration (tested with Eclipse Mars) fail to correctly resolve the `LATEST` version tag to `SNAPSHOT`s. If this happens to you, try specifying the version explicitly e.g. `2.0.0-SNAPSHOT` instead of using `LATEST`.' %}
295
289
296
-
Either way, ***Be sure to work on a topic branch while developing code in this fashion.*** You will need to clean up your Git history afterwards before merging things to the main branch, in order to achieve [reproducible builds](#reproducible-builds).
290
+
***Be sure to work on a topic branch while developing code in this fashion.*** You will need to clean up your Git history afterwards before merging things to the main branch, in order to achieve [reproducible builds](#reproducible-builds).
0 commit comments