Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
V
VIPSCore
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
VIPS
VIPSCore
Commits
a4a1bab6
Commit
a4a1bab6
authored
1 year ago
by
Lene Wasskog
Browse files
Options
Downloads
Patches
Plain Diff
style: Format code, fix doc error
parent
560b2606
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!35
build: New dummy version for testing the pipeline
Pipeline
#3600
canceled
1 year ago
Stage: build
Stage: test
Stage: deploy
Stage: upload
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
build_pom_with_models.py
+2
-3
2 additions, 3 deletions
build_pom_with_models.py
build_with_models.py
+1
-1
1 addition, 1 deletion
build_with_models.py
with
3 additions
and
4 deletions
build_pom_with_models.py
+
2
−
3
View file @
a4a1bab6
#!/usr/bin/python3
'''
Merges pom.xml and models.xml (default) into pom_with_models.xml and
runs mvn clean install -f pom_with_models.xml
Merges pom.xml and models.xml (default) into pom_with_models.xml
Copyright (C) 2023 NIBIO
...
...
@@ -49,6 +48,6 @@ for dep in model_dep_elements:
pom_deps_element
.
appendChild
(
dep
)
# Write the modified pom dom to file
pom_with_models_file
=
open
(
merged_pom_filename
,
"
w
"
)
pom_with_models_file
=
open
(
merged_pom_filename
,
"
w
"
)
pom_dom
.
writexml
(
pom_with_models_file
)
pom_with_models_file
.
close
()
This diff is collapsed.
Click to expand it.
build_with_models.py
+
1
−
1
View file @
a4a1bab6
...
...
@@ -49,7 +49,7 @@ for dep in model_dep_elements:
pom_deps_element
.
appendChild
(
dep
)
# Write the modified pom dom to file
pom_with_models_file
=
open
(
merged_pom_filename
,
"
w
"
)
pom_with_models_file
=
open
(
merged_pom_filename
,
"
w
"
)
pom_dom
.
writexml
(
pom_with_models_file
)
pom_with_models_file
.
close
()
...
...
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