[pollen] branch develop updated (56797b3 -> 5d1b9c1)
This is an automated email from the git hooks/post-receive script. New change to branch develop in repository pollen. See http://git.chorem.org/pollen.git from 56797b3 Merge branch 'feature/editVote' into develop new 5d1b9c1 add version.txt file with application version in root path of the war The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference. Detailed log of new commits: commit 5d1b9c1967da3f6b867d95e47a8ed8a4216c9825 Author: Tony CHEMIT <chemit@codelutin.com> Date: Thu Jul 31 18:44:26 2014 +0200 add version.txt file with application version in root path of the war Summary of changes: pollen-ui-angular/.gitignore | 1 + pollen-ui-angular/pom.xml | 25 +++++++++++++++++++++++++ pollen-ui-angular/src/main/version.txt | 1 + 3 files changed, 27 insertions(+) create mode 100644 pollen-ui-angular/src/main/version.txt -- To stop receiving notification emails like this one, please contact chorem.org SCM administrator <admin+scm@chorem.org>.
This is an automated email from the git hooks/post-receive script. New commit to branch develop in repository pollen. See http://git.chorem.org/pollen.git commit 5d1b9c1967da3f6b867d95e47a8ed8a4216c9825 Author: Tony CHEMIT <chemit@codelutin.com> Date: Thu Jul 31 18:44:26 2014 +0200 add version.txt file with application version in root path of the war --- pollen-ui-angular/.gitignore | 1 + pollen-ui-angular/pom.xml | 25 +++++++++++++++++++++++++ pollen-ui-angular/src/main/version.txt | 1 + 3 files changed, 27 insertions(+) diff --git a/pollen-ui-angular/.gitignore b/pollen-ui-angular/.gitignore index 09447a5..c3551f4 100644 --- a/pollen-ui-angular/.gitignore +++ b/pollen-ui-angular/.gitignore @@ -3,4 +3,5 @@ node_modules/* src/main/webapp/lib src/main/webapp/css/style.css src/main/webapp/js/conf.js +src/main/webapp/version.txt diff --git a/pollen-ui-angular/pom.xml b/pollen-ui-angular/pom.xml index 5f53bc8..3fc9403 100644 --- a/pollen-ui-angular/pom.xml +++ b/pollen-ui-angular/pom.xml @@ -107,6 +107,31 @@ <reporters>dots,junit</reporters> </configuration> </plugin> + + <plugin> + <artifactId>maven-resources-plugin</artifactId> + <executions> + <execution> + <id>copy-version-file</id> + <goals><goal>copy-resources</goal></goals> + <phase>generate-resources</phase> + <configuration> + <outputDirectory>src/main/webapp</outputDirectory> + <resources> + <resource> + <directory>src/main</directory> + <!--<targetPath>src/main/webapp</targetPath>--> + <includes> + <include>version.txt</include> + </includes> + <filtering>true</filtering> + </resource> + </resources> + </configuration> + </execution> + </executions> + </plugin> + </plugins> </build> diff --git a/pollen-ui-angular/src/main/version.txt b/pollen-ui-angular/src/main/version.txt new file mode 100644 index 0000000..f2ab45c --- /dev/null +++ b/pollen-ui-angular/src/main/version.txt @@ -0,0 +1 @@ +${project.version} \ No newline at end of file -- To stop receiving notification emails like this one, please contact chorem.org SCM administrator <admin+scm@chorem.org>.
participants (1)
-
chorem.org scm