Merge lp://qastaging/~lool/snapcraft/mvn-plugin into lp://qastaging/~snappy-dev/snapcraft/core
Proposed by
Loïc Minier
Status: | Merged |
---|---|
Approved by: | Sergio Schvezov |
Approved revision: | 103 |
Merged at revision: | 134 |
Proposed branch: | lp://qastaging/~lool/snapcraft/mvn-plugin |
Merge into: | lp://qastaging/~snappy-dev/snapcraft/core |
Diff against target: |
5578 lines (+5500/-0) 15 files modified
examples/tomcat-maven-webapp/Makefile (+6/-0) examples/tomcat-maven-webapp/meta/package.yaml (+12/-0) examples/tomcat-maven-webapp/meta/readme.md (+3/-0) examples/tomcat-maven-webapp/snapcraft.yaml (+11/-0) examples/tomcat-maven-webapp/tomcat-conf/catalina.policy (+250/-0) examples/tomcat-maven-webapp/tomcat-conf/catalina.properties (+145/-0) examples/tomcat-maven-webapp/tomcat-conf/context.xml (+36/-0) examples/tomcat-maven-webapp/tomcat-conf/logging.properties (+64/-0) examples/tomcat-maven-webapp/tomcat-conf/server.xml (+142/-0) examples/tomcat-maven-webapp/tomcat-conf/tomcat-users.xml (+39/-0) examples/tomcat-maven-webapp/tomcat-conf/tomcat-users.xsd (+43/-0) examples/tomcat-maven-webapp/tomcat-conf/web.xml (+4664/-0) examples/tomcat-maven-webapp/wrapper (+23/-0) plugins/maven-project.yaml (+11/-0) snapcraft/plugins/maven_project.py (+51/-0) |
To merge this branch: | bzr merge lp://qastaging/~lool/snapcraft/mvn-plugin |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Sergio Schvezov | Approve | ||
Michael Terry (community) | Needs Fixing | ||
Review via email: mp+265117@code.qastaging.launchpad.net |
Commit message
Add initial and trivial mvn plugin; runs "mvn package" and copies resulting *.jar and *.war files.
Description of the change
Add initial and trivial mvn plugin; runs "mvn package" and copies resulting *.jar and *.war files.
To post a comment you must log in.
As discussed on IRC, I'd like to move the jar/war files out of the toplevel. Maybe under war/ and jar/ directories for now?
Also, I prefer to see this plugin renamed to maven-project.
Lastly, this needs a JRE bundled too (like a requires: jdk with a jdk plugin that lets you compile during build and puts a jre into the snap). I've got some code that looks at adding that (via simply using ubuntu archive version for now) along with an ant-project plugin. So that can be done separately, just to get this in if ya like. So not a blocker.