You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openwebbeans.apache.org by "Romain Manni-Bucau (JIRA)" <ji...@apache.org> on 2017/04/25 07:31:04 UTC
[jira] [Comment Edited] (MEECROWAVE-27) add bundle maven goal to
create a zip of the project
[ https://issues.apache.org/jira/browse/MEECROWAVE-27?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15982495#comment-15982495 ]
Romain Manni-Bucau edited comment on MEECROWAVE-27 at 4/25/17 7:30 AM:
-----------------------------------------------------------------------
Yep,
overall goal is to "prepare to deployment" and simplify/standardize an assembly.
Layout is:
{code}
bin
`- meecrowave.sh
conf
`- log4j.xml
lib
`- *.jar
{code}
we can surely add classes/*.class but dont think it is needed or helping so for now we don't and just use .jar.
Then you can "start"/"stop", "run", "jpda start" the server as tomcat. Main difference is in this first version the server is killed and not stopped through a socket as tomcat - but using a shutdown hook we should be fine.
This supports classpath deployments mainly but since it relies on Cli we should be able to wire much more - still need some work on that area.
Pending changes/thoughts:
- server.xml in conf/?
- do we want more ENV variables to wire options? for now you pass them to the script
- .bat version? (I don't have win ATM to do much on that)
was (Author: romain.manni-bucau):
Yep,
overall goal is to "prepare to deployment" and simplify/standardize an assembly.
Layout is:
{code}
bin
`- meecrowave.sh
conf
`- log4j.xml
lib
`- *.jar
{code}
we can surely add classes/*.class but dont think it is needed or helping so for now we don't and just use .jar.
Then you can "start"/"stop", "run", "jpda start" the server as tomcat. Main difference is in this first version the server is killed and not stopped through a socket as tomcat - but using a shutdown hook we should be fine.
This supports classpath deployments mainly but since it relies on Cli we should be able to wire much more - still need some work on that area.
Pending changes/thoughts:
- server.xml in conf/?
- how do we want to wire all options we have?
- .bat version? (I don't have win ATM to do much on that)
> add bundle maven goal to create a zip of the project
> ----------------------------------------------------
>
> Key: MEECROWAVE-27
> URL: https://issues.apache.org/jira/browse/MEECROWAVE-27
> Project: Meecrowave
> Issue Type: New Feature
> Reporter: Romain Manni-Bucau
> Assignee: Romain Manni-Bucau
> Fix For: 0.3.1
>
>
> Goal is to have a conf/ with at least log4j2.xml, a lib/ with all dependencies of the project and a bin with a sh script to start/stop the server.
> Usage:
> {code}
> mvn meecrowave:bundle
> {code}
> {code}
> <build>
> <plugins>
> <plugin>
> <groupId>org.apache.meecrowave</groupId>
> <artifactId>meecrowave-maven-plugin</artifactId>
> <version>${meecrowave.version}</version>
> <executions>
> <execution>
> <id>distribution</id>
> <phase>package</phase>
> <goals>
> <goal>bundle</goal>
> </goals>
> </execution>
> </executions>
> </plugin>
> </plugins>
> </build>
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)