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] >.
4141 <properties >
4242 <python .system.executable>python3</python .system.executable>
4343 <python .environment>${project.build.directory} /env/bin</python .environment>
44+ <project .python.package.version>${project.version} </project .python.package.version>
4445 </properties >
4546
4647 <profiles >
@@ -63,31 +64,6 @@ Portions Copyright (c) 2017-2018, Chris Fraire <
[email protected] >.
6364 <testSourceDirectory >src/test/python</testSourceDirectory >
6465
6566 <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 >
9167 <plugin >
9268 <!-- copy all the python files to the target directory
9369 so we produce the dist and build directories there -->
You can’t perform that action at this time.
0 commit comments