-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[maven-release-plugin] copy for tag appassembler-1.5
git-svn-id: file:///home/tiste/MOJOHAUS-TO-GIT/SVN-MOJO-WIP/tags/appassembler-1.5@18711 52ab4f32-60fc-0310-b215-8acea882cd1b
- Loading branch information
Showing
41 changed files
with
2,125 additions
and
844 deletions.
There are no files selected for viewing
298 changes: 149 additions & 149 deletions
298
appassembler-examples/appassembler-example-jsw-simple/pom.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,149 +1,149 @@ | ||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | ||
|
||
<modelVersion>4.0.0</modelVersion> | ||
|
||
<parent> | ||
<groupId>org.codehaus.mojo.appassembler.example</groupId> | ||
<artifactId>appassembler-examples</artifactId> | ||
<version>1.3-SNAPSHOT</version> | ||
</parent> | ||
|
||
<artifactId>appassembler-example-jsw-simple</artifactId> | ||
|
||
<name>jsw-simple Service Wrapper Example - Simple</name> | ||
|
||
<properties> | ||
<appName>jsw-simple</appName> | ||
<appassembler.directory>${project.build.directory}</appassembler.directory> | ||
</properties> | ||
<build> | ||
|
||
<plugins> | ||
<plugin> | ||
<groupId>org.codehaus.mojo</groupId> | ||
<artifactId>appassembler-maven-plugin</artifactId> | ||
<configuration> | ||
<repositoryLayout>flat</repositoryLayout> | ||
<generateRepository>true</generateRepository> | ||
<repositoryName>lib</repositoryName> | ||
<configurationDirectory>conf</configurationDirectory> | ||
<includeConfigurationDirectoryInClasspath>true</includeConfigurationDirectoryInClasspath> | ||
<environmentSetupFileName>${appName}-env</environmentSetupFileName> | ||
<assembleDirectory>${appassembler.directory}</assembleDirectory> | ||
</configuration> | ||
<executions> | ||
<execution> | ||
<id>exe-with-jsw</id> | ||
<goals> | ||
<goal>generate-daemons</goal> | ||
</goals> | ||
<configuration> | ||
<daemons> | ||
<daemon> | ||
<id>${appName}</id> | ||
<mainClass>SampleJswApp</mainClass> | ||
<platforms> | ||
<platform>jsw</platform> | ||
</platforms> | ||
<generatorConfigurations> | ||
<generatorConfiguration> | ||
<generator>jsw</generator> | ||
<configuration> | ||
<property> | ||
<name>app.base.envvar</name> | ||
<value>BASEDIR</value> | ||
</property> | ||
<property> | ||
<name>set.default.REPO_DIR</name> | ||
<value>./lib</value> | ||
</property> | ||
<property> | ||
<name>wrapper.logfile</name> | ||
<value>%BASEDIR%/logs/wrapper.log</value> | ||
</property> | ||
<property> | ||
</property> | ||
<property> | ||
<name>wrapper.java.maxmemory</name> | ||
<value>128</value> | ||
</property> | ||
<property> | ||
<name>wrapper.console.title</name> | ||
<value>${appName}</value> | ||
</property> | ||
<property> | ||
<name>wrapper.ntservice.name</name> | ||
<value>${appName}</value> | ||
</property> | ||
<property> | ||
<name>wrapper.ntservice.displayname</name> | ||
<value>${appName}</value> | ||
</property> | ||
<property> | ||
<name>wrapper.console.loglevel</name> | ||
<value>INFO</value> | ||
</property> | ||
</configuration> | ||
<includes> | ||
<include>aix-ppc-32</include> | ||
<include>aix-ppc-64</include> | ||
<include>hpux-parisc-64</include> | ||
<include>linux-x86-32</include> | ||
<include>linux-x86-64</include> | ||
<include>macosx-universal-32</include> | ||
<include>macosx-universal-64</include> | ||
<include>solaris-sparc-32</include> | ||
<include>solaris-sparc-64</include> | ||
<include>windows-x86-32</include> | ||
<include>windows-x86-64</include> | ||
</includes> | ||
</generatorConfiguration> | ||
</generatorConfigurations> | ||
<jvmSettings> | ||
<initialMemorySize>128M</initialMemorySize> | ||
<maxMemorySize>128M</maxMemorySize> | ||
<extraArguments> | ||
<extraArgument>-Xrs</extraArgument> | ||
</extraArguments> | ||
<systemProperties> | ||
<systemProperty>basedir=%BASEDIR%</systemProperty> | ||
</systemProperties> | ||
</jvmSettings> | ||
</daemon> | ||
</daemons> | ||
<target>${appassembler.directory}</target> | ||
</configuration> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
|
||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-assembly-plugin</artifactId> | ||
<executions> | ||
<execution> | ||
<id>assembly</id> | ||
<phase>package</phase> | ||
<goals> | ||
<goal>single</goal> | ||
</goals> | ||
<configuration> | ||
<appendAssemblyId>false</appendAssemblyId> | ||
<attach>true</attach> | ||
<tarLongFileMode>gnu</tarLongFileMode> | ||
<descriptors> | ||
<descriptor>${project.basedir}/src/main/assembly/bin.xml</descriptor> | ||
</descriptors> | ||
</configuration> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
|
||
|
||
</plugins> | ||
|
||
</build> | ||
|
||
</project> | ||
|
||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | ||
|
||
<modelVersion>4.0.0</modelVersion> | ||
|
||
<parent> | ||
<groupId>org.codehaus.mojo.appassembler.example</groupId> | ||
<artifactId>appassembler-examples</artifactId> | ||
<version>1.3-SNAPSHOT</version> | ||
</parent> | ||
|
||
<artifactId>appassembler-example-jsw-simple</artifactId> | ||
|
||
<name>jsw-simple Service Wrapper Example - Simple</name> | ||
|
||
<properties> | ||
<appName>jsw-simple</appName> | ||
<appassembler.directory>${project.build.directory}</appassembler.directory> | ||
</properties> | ||
<build> | ||
|
||
<plugins> | ||
<plugin> | ||
<groupId>org.codehaus.mojo</groupId> | ||
<artifactId>appassembler-maven-plugin</artifactId> | ||
<configuration> | ||
<repositoryLayout>flat</repositoryLayout> | ||
<generateRepository>true</generateRepository> | ||
<repositoryName>lib</repositoryName> | ||
<configurationDirectory>conf</configurationDirectory> | ||
<includeConfigurationDirectoryInClasspath>true</includeConfigurationDirectoryInClasspath> | ||
<environmentSetupFileName>${appName}-env</environmentSetupFileName> | ||
<assembleDirectory>${appassembler.directory}</assembleDirectory> | ||
</configuration> | ||
<executions> | ||
<execution> | ||
<id>exe-with-jsw</id> | ||
<goals> | ||
<goal>generate-daemons</goal> | ||
</goals> | ||
<configuration> | ||
<daemons> | ||
<daemon> | ||
<id>${appName}</id> | ||
<mainClass>SampleJswApp</mainClass> | ||
<platforms> | ||
<platform>jsw</platform> | ||
</platforms> | ||
<generatorConfigurations> | ||
<generatorConfiguration> | ||
<generator>jsw</generator> | ||
<configuration> | ||
<property> | ||
<name>app.base.envvar</name> | ||
<value>BASEDIR</value> | ||
</property> | ||
<property> | ||
<name>set.default.REPO_DIR</name> | ||
<value>./lib</value> | ||
</property> | ||
<property> | ||
<name>wrapper.logfile</name> | ||
<value>%BASEDIR%/logs/wrapper.log</value> | ||
</property> | ||
<property> | ||
</property> | ||
<property> | ||
<name>wrapper.java.maxmemory</name> | ||
<value>128</value> | ||
</property> | ||
<property> | ||
<name>wrapper.console.title</name> | ||
<value>${appName}</value> | ||
</property> | ||
<property> | ||
<name>wrapper.ntservice.name</name> | ||
<value>${appName}</value> | ||
</property> | ||
<property> | ||
<name>wrapper.ntservice.displayname</name> | ||
<value>${appName}</value> | ||
</property> | ||
<property> | ||
<name>wrapper.console.loglevel</name> | ||
<value>INFO</value> | ||
</property> | ||
</configuration> | ||
<includes> | ||
<include>aix-ppc-32</include> | ||
<include>aix-ppc-64</include> | ||
<include>hpux-parisc-64</include> | ||
<include>linux-x86-32</include> | ||
<include>linux-x86-64</include> | ||
<include>macosx-universal-32</include> | ||
<include>macosx-universal-64</include> | ||
<include>solaris-sparc-32</include> | ||
<include>solaris-sparc-64</include> | ||
<include>windows-x86-32</include> | ||
<include>windows-x86-64</include> | ||
</includes> | ||
</generatorConfiguration> | ||
</generatorConfigurations> | ||
<jvmSettings> | ||
<initialMemorySize>128M</initialMemorySize> | ||
<maxMemorySize>128M</maxMemorySize> | ||
<extraArguments> | ||
<extraArgument>-Xrs</extraArgument> | ||
</extraArguments> | ||
<systemProperties> | ||
<systemProperty>basedir=%BASEDIR%</systemProperty> | ||
</systemProperties> | ||
</jvmSettings> | ||
</daemon> | ||
</daemons> | ||
<target>${appassembler.directory}</target> | ||
</configuration> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
|
||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-assembly-plugin</artifactId> | ||
<executions> | ||
<execution> | ||
<id>assembly</id> | ||
<phase>package</phase> | ||
<goals> | ||
<goal>single</goal> | ||
</goals> | ||
<configuration> | ||
<appendAssemblyId>false</appendAssemblyId> | ||
<attach>true</attach> | ||
<tarLongFileMode>gnu</tarLongFileMode> | ||
<descriptors> | ||
<descriptor>${project.basedir}/src/main/assembly/bin.xml</descriptor> | ||
</descriptors> | ||
</configuration> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
|
||
|
||
</plugins> | ||
|
||
</build> | ||
|
||
</project> | ||
|
52 changes: 26 additions & 26 deletions
52
appassembler-examples/appassembler-example-jsw-simple/src/main/assembly/bin.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,26 @@ | ||
<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2 http://maven.apache.org/xsd/assembly-1.1.2.xsd"> | ||
<id>bin</id> | ||
<baseDirectory>${appName}</baseDirectory> | ||
<formats> | ||
<format>tar.gz</format> | ||
<format>zip</format> | ||
</formats> | ||
<includeBaseDirectory>false</includeBaseDirectory> | ||
|
||
<fileSets> | ||
<fileSet> | ||
<directory>${appassembler.directory}/jsw/${appName}</directory> | ||
<outputDirectory/> | ||
<fileMode>0755</fileMode> | ||
<directoryMode>0755</directoryMode> | ||
</fileSet> | ||
<fileSet> | ||
<directory>${project.basedir}/src/main/runtime</directory> | ||
<outputDirectory/> | ||
<fileMode>0755</fileMode> | ||
<directoryMode>0755</directoryMode> | ||
</fileSet> | ||
</fileSets> | ||
|
||
</assembly> | ||
<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2 http://maven.apache.org/xsd/assembly-1.1.2.xsd"> | ||
<id>bin</id> | ||
<baseDirectory>${appName}</baseDirectory> | ||
<formats> | ||
<format>tar.gz</format> | ||
<format>zip</format> | ||
</formats> | ||
<includeBaseDirectory>false</includeBaseDirectory> | ||
|
||
<fileSets> | ||
<fileSet> | ||
<directory>${appassembler.directory}/jsw/${appName}</directory> | ||
<outputDirectory/> | ||
<fileMode>0755</fileMode> | ||
<directoryMode>0755</directoryMode> | ||
</fileSet> | ||
<fileSet> | ||
<directory>${project.basedir}/src/main/runtime</directory> | ||
<outputDirectory/> | ||
<fileMode>0755</fileMode> | ||
<directoryMode>0755</directoryMode> | ||
</fileSet> | ||
</fileSets> | ||
|
||
</assembly> |
38 changes: 19 additions & 19 deletions
38
appassembler-examples/appassembler-example-jsw-simple/src/main/java/SampleJswApp.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,19 @@ | ||
public class SampleJswApp | ||
{ | ||
|
||
/** | ||
* @param args | ||
*/ | ||
public static void main( String[] args ) | ||
{ | ||
|
||
try | ||
{ | ||
System.out.println( "Press control-C to terminate" ); | ||
Thread.sleep( 10000000000L ); | ||
} | ||
catch ( Exception e ) | ||
{ | ||
} | ||
} | ||
} | ||
public class SampleJswApp | ||
{ | ||
|
||
/** | ||
* @param args | ||
*/ | ||
public static void main( String[] args ) | ||
{ | ||
|
||
try | ||
{ | ||
System.out.println( "Press control-C to terminate" ); | ||
Thread.sleep( 10000000000L ); | ||
} | ||
catch ( Exception e ) | ||
{ | ||
} | ||
} | ||
} |
Oops, something went wrong.