Skip to content
This repository has been archived by the owner on Apr 21, 2023. It is now read-only.

Commit

Permalink
[#1931] fix the build of milestones with tycho 2.7.5
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Dietrich <[email protected]>
  • Loading branch information
cdietrich committed Nov 14, 2022
1 parent 6167725 commit 0ce76b8
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 1 deletion.
1 change: 1 addition & 0 deletions 1-maven-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ while [ "$1" != "" ]; do
shift
done

MVN_ARGS+=(-PuseJenkinsSnapshots)
MVN_ARGS+=(-P$TARGET_PLATFORM)
echo "Calling Maven with ARGS: ${MVN_ARGS[@]}"

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
activeProfiles=
activeProfiles=useJenkinsSnapshots
eclipse.preferences.version=1
resolveWorkspaceProjects=true
version=1
35 changes: 35 additions & 0 deletions releng/org.eclipse.xtext.tycho.parent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
<tycho.scmUrl>scm:git:https://github.com/eclipse/xtext-eclipse.git</tycho.scmUrl>
<target-platform-classifier></target-platform-classifier>
<JENKINS_URL>https://ci.eclipse.org/xtext</JENKINS_URL>
<upstreamBranch>master</upstreamBranch>
</properties>

<profiles>
Expand Down Expand Up @@ -55,6 +56,40 @@
<target-platform-classifier>org.eclipse.xtext.target-r202203</target-platform-classifier>
</properties>
</profile>

<profile>
<id>useJenkinsSnapshots</id>
<repositories>
<repository>
<id>xtext-lib-from-jenkins</id>
<url>${JENKINS_URL}/job/xtext-lib/job/${upstreamBranch}/lastStableBuild/artifact/build/maven-repository/</url>
</repository>
<repository>
<id>xtext-core-from-jenkins</id>
<url>${JENKINS_URL}/job/xtext-core/job/${upstreamBranch}/lastStableBuild/artifact/build/maven-repository/</url>
</repository>
<repository>
<id>xtext-extras-from-jenkins</id>
<url>${JENKINS_URL}/job/xtext-extras/job/${upstreamBranch}/lastStableBuild/artifact/build/maven-repository/</url>
</repository>
</repositories>
</profile>
<profile>
<id>useSonatypeSnapshots</id>
<repositories>
<repository>
<id>sonatype-snapshots</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
<snapshots>
<enabled>true</enabled>
<checksumPolicy>fail</checksumPolicy>
</snapshots>
<releases>
<enabled>false</enabled>
</releases>
</repository>
</repositories>
</profile>
</profiles>

<pluginRepositories>
Expand Down

0 comments on commit 0ce76b8

Please sign in to comment.