Skip to content

Commit f16b51d

Browse files
authored
Update documentation for eclipse jdt (p2-mirrors) in maven-plugin (#2444 fixes #2441)
2 parents 557d983 + 519a037 commit f16b51d

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

plugin-maven/README.md

+7
Original file line numberDiff line numberDiff line change
@@ -265,6 +265,13 @@ any other maven phase (i.e. compile) then it can be configured as below;
265265
<version>4.26</version>
266266
<!-- Optional: Specify a file which contains all formatting options. -->
267267
<file>${project.basedir}/eclipse-formatter.xml</file>
268+
<!-- If the access to the p2 repositories is restricted, mirrors can be pecified using a URI prefix map as follows:-->
269+
<p2Mirrors>
270+
<p2Mirror>
271+
<prefix>https://download.eclipse.org/eclipse/updates/4.26/</prefix>
272+
<url>https://some.internal.mirror/4-26-updates-p2/</url>
273+
</p2Mirror>
274+
</p2Mirrors>
268275
</eclipse>
269276
```
270277

0 commit comments

Comments
 (0)