File tree Expand file tree Collapse file tree 1 file changed +1
-25
lines changed Expand file tree Collapse file tree 1 file changed +1
-25
lines changed Original file line number Diff line number Diff line change @@ -41,6 +41,7 @@ Portions Copyright (c) 2017-2018, Chris Fraire <
[email protected] >.
41
41
<properties >
42
42
<python .system.executable>python3</python .system.executable>
43
43
<python .environment>${project.build.directory} /env/bin</python .environment>
44
+ <project .python.package.version>${project.version} </project .python.package.version>
44
45
</properties >
45
46
46
47
<profiles >
@@ -63,31 +64,6 @@ Portions Copyright (c) 2017-2018, Chris Fraire <
[email protected] >.
63
64
<testSourceDirectory >src/test/python</testSourceDirectory >
64
65
65
66
<plugins >
66
- <plugin >
67
- <groupId >org.codehaus.mojo</groupId >
68
- <artifactId >build-helper-maven-plugin</artifactId >
69
- <version >1.8</version >
70
- <executions >
71
- <execution >
72
- <id >generate-python-package-version</id >
73
- <goals >
74
- <goal >regex-property</goal >
75
- </goals >
76
- <phase >generate-resources</phase >
77
- <configuration >
78
- <!--
79
- Use property ${project.version} but delete the "-" (dash) from it
80
- and place it into the property ${project.python.package.version}
81
- -->
82
- <name >project.python.package.version</name >
83
- <regex >-rc</regex >
84
- <value >${project.version} </value >
85
- <replacement >rc</replacement >
86
- <failIfNoMatch >false</failIfNoMatch >
87
- </configuration >
88
- </execution >
89
- </executions >
90
- </plugin >
91
67
<plugin >
92
68
<!-- copy all the python files to the target directory
93
69
so we produce the dist and build directories there -->
You can’t perform that action at this time.
0 commit comments