Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
ProB Rodin Plugin
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
general
stups
ProB Rodin Plugin
Commits
b49f201c
Commit
b49f201c
authored
2 years ago
by
dgelessus
Browse files
Options
Downloads
Patches
Plain Diff
Add prepareMaven task to do everything needed before calling Maven
parent
41c5ba8d
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Pipeline
#113388
passed
2 years ago
Stage: build
Stage: deploy
Changes
3
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitlab-ci.yml
+1
-1
1 addition, 1 deletion
.gitlab-ci.yml
build.gradle
+1
-1
1 addition, 1 deletion
build.gradle
tycho_build.gradle
+3
-1
3 additions, 1 deletion
tycho_build.gradle
with
5 additions
and
3 deletions
.gitlab-ci.yml
+
1
−
1
View file @
b49f201c
...
...
@@ -9,7 +9,7 @@ build:
-
apt-get install --assume-yes maven
-
mvn --version
script
:
-
./gradlew
c
re
atePoms downloadCli collectDependencies
-
./gradlew
p
re
pareMaven
-
mvn -Dmaven.repo.local="$CI_PROJECT_DIR/maven_repo_local" -f de.prob.parent/pom.xml install
-
cp index.html de.prob.repository/target/repository/
cache
:
...
...
This diff is collapsed.
Click to expand it.
build.gradle
+
1
−
1
View file @
b49f201c
...
...
@@ -87,4 +87,4 @@ task downloadCli {
}
completeInstall
.
dependsOn
downloadCli
prepareMaven
.
dependsOn
downloadCli
This diff is collapsed.
Click to expand it.
tycho_build.gradle
+
3
−
1
View file @
b49f201c
...
...
@@ -516,7 +516,9 @@ task install(dependsOn: [createPoms], type: Exec) {
commandLine
'mvn'
,
'install'
,
'-f'
,
workspacePath
+
parentID
+
'/pom.xml'
}
task
completeInstall
(
dependsOn:
[
subprojects
.
collectDependencies
,
createPoms
],
type:
Exec
){
task
prepareMaven
(
dependsOn:
[
subprojects
.
collectDependencies
,
createPoms
])
task
completeInstall
(
dependsOn:
[
prepareMaven
],
type:
Exec
)
{
description
=
"\tCopies dependencies into dependencyFolder of each subproject and executes a 'mvn install' of the parent pom.xml and auto-generates Tycho Poms"
commandLine
'mvn'
,
'install'
,
'-f'
,
workspacePath
+
parentID
+
'/pom.xml'
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment