Permalink
Browse files

Removed poms and archetype to avoid confusion.

  • Loading branch information...
1 parent a295cf0 commit 09794d97d600132287329153516cfb580ff087ea @ar ar committed Nov 16, 2012
View
@@ -1,13 +0,0 @@
-In order to generate a jPOS application based on this archetype, you need to:
-
- mvn install
-
-then, on another directory call:
-
- mvn -U archetype:generate -DarchetypeCatalog=local -Dfilter=jpos-archetype
-
-alternatively, you can pull the dependencies from jPOS' Maven repository using:
-
- mvn -U archetype:generate -DarchetypeRepository=http://jpos.org/maven -Dfilter=jpos-archetype
-
-
View
@@ -1,47 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<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/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
-
- <groupId>org.jpos</groupId>
- <artifactId>jpos-archetype</artifactId>
- <packaging>maven-archetype</packaging>
- <name>jPOS Archetype</name>
- <parent>
- <groupId>org.jpos</groupId>
- <artifactId>jpos-project</artifactId>
- <version>1.8.7-SNAPSHOT</version>
- <relativePath>../pom.xml</relativePath>
- </parent>
-
- <build>
- <extensions>
- <extension>
- <groupId>org.apache.maven.archetype</groupId>
- <artifactId>archetype-packaging</artifactId>
- </extension>
- </extensions>
- <resources>
- <resource>
- <directory>src/main/resources</directory>
- <filtering>false</filtering>
- </resource>
- <resource>
- <directory>src/main/resources</directory>
- <filtering>true</filtering>
- <includes>
- <include>**/archetype-metadata.xml</include>
- </includes>
- </resource>
- </resources>
-
- <pluginManagement>
- <plugins>
- <plugin>
- <artifactId>maven-archetype-plugin</artifactId>
- <version>2.1</version>
- <extensions>true</extensions>
- </plugin>
- </plugins>
- </pluginManagement>
- </build>
-</project>
@@ -1,35 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<archetype-descriptor xsi:schemaLocation="http://maven.apache.org/plugins/maven-archetype-plugin/archetype-descriptor/1.0.0 http://maven.apache.org/xsd/archetype-descriptor-1.0.0.xsd" name="jposee-archetype"
- xmlns="http://maven.apache.org/plugins/maven-archetype-plugin/archetype-descriptor/1.0.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <requiredProperties>
- <requiredProperty key="groupId">
- <defaultValue>org.jpos</defaultValue>
- </requiredProperty>
- </requiredProperties>
- <fileSets>
- <fileSet filtered="true" encoding="UTF-8">
- <directory>/</directory>
- <includes>
- <include>COPYRIGHT</include>
- <include>LICENSE</include>
- </includes>
- </fileSet>
- <fileSet filtered="true" encoding="UTF-8">
- <directory>src/main/filters</directory>
- <includes>
- <include>**/*.properties</include>
- </includes>
- </fileSet>
- <fileSet filtered="true" encoding="UTF-8">
- <directory>src/main/resources</directory>
- </fileSet>
- <fileSet filtered="true" encoding="UTF-8">
- <directory>src/main/assembly</directory>
- <includes>
- <include>**/*.xml</include>
- </includes>
- </fileSet>
- </fileSets>
-</archetype-descriptor>
-
@@ -1,5 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<archetype>
- <id>${artifactId}</id>
-</archetype>
-
@@ -1,120 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<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>
- <groupId>${groupId}</groupId>
- <artifactId>${artifactId}</artifactId>
- <version>${version}</version>
- <packaging>jar</packaging>
- <name>jPOS Sample Application</name>
-
- <dependencies>
- <dependency>
- <groupId>org.jpos</groupId>
- <artifactId>jpos</artifactId>
- <version>1.8.7-SNAPSHOT</version>
- </dependency>
- </dependencies>
-
- <properties>
- <jpos.version>${version}</jpos.version>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- </properties>
-
- <repositories>
- <repository>
- <id>jpos</id>
- <name>jPOS Central Repository</name>
- <url>http://jpos.org/maven</url>
- <layout>default</layout>
- </repository>
- </repositories>
-
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <version>2.3.2</version>
- <configuration>
- <source>1.6</source>
- <target>1.6</target>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- <version>2.3.1</version>
- <configuration>
- <archive>
- <manifest>
- <mainClass>org.jpos.q2.Q2</mainClass>
- <addClasspath>true</addClasspath>
- <classpathPrefix>lib/</classpathPrefix>
- </manifest>
- </archive>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-assembly-plugin</artifactId>
- <version>2.2</version>
- <configuration>
- <descriptors>
- <descriptor>src/main/assembly/bin.xml</descriptor>
- <descriptor>src/main/assembly/dir.xml</descriptor>
- </descriptors>
- <appendAssemblyId>false</appendAssemblyId>
- </configuration>
- <executions>
- <execution>
- <phase>package</phase>
- <goals>
- <goal>single</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- </plugins>
-
- <resources>
- <resource>
- <directory>src/main/resources</directory>
- <filtering>true</filtering>
- <excludes>
- <exclude>**/deploy/*</exclude>
- <exclude>**/log/*</exclude>
- <exclude>**/cfg/packager/*</exclude>
- <exclude>**/cfg/*</exclude>
- <exclude>**/bin/*</exclude>
- </excludes>
- </resource>
- </resources>
- </build>
-
- <profiles>
- <profile>
- <id>doTests</id>
- <build>
- <plugins>
- <plugin>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <workingDirectory>target/runtime</workingDirectory>
- <skipTests>false</skipTests>
- </configuration>
- </plugin>
- </plugins>
- <resources>
- <resource>
- <directory>src/main/cfg</directory>
- <targetPath>${basedir}/target/runtime/cfg</targetPath>
- </resource>
- <resource>
- <directory>src/main/deploy</directory>
- <targetPath>${basedir}/target/runtime/deploy</targetPath>
- </resource>
- </resources>
- </build>
- </profile>
- </profiles>
-</project>
@@ -1,65 +0,0 @@
-#set( $symbol_pound = '#' )
-#set( $symbol_dollar = '$' )
-#set( $symbol_escape = '\' )
-<assembly>
- <id>bin</id>
- <formats>
- <format>tar.gz</format>
- <format>zip</format>
- </formats>
- <baseDirectory>${symbol_dollar}{artifactId}-${symbol_dollar}{project.version}</baseDirectory>
- <includeSiteDirectory>false</includeSiteDirectory>
-
- <dependencySets>
- <dependencySet>
- <outputDirectory>/lib</outputDirectory>
- <useProjectArtifact>false</useProjectArtifact>
- <unpack>false</unpack>
- <scope>runtime</scope>
- </dependencySet>
- </dependencySets>
-
- <fileSets>
- <fileSet>
- <directory>src/main/resources</directory>
- <outputDirectory>/</outputDirectory>
- <includes>
- <include>cfg/*.xml</include>
- <include>cfg/*.ks</include>
- <include>cfg/*.bsh</include>
- <include>cfg/context/*.xml</include>
- <include>deploy/*.xml</include>
- </includes>
- </fileSet>
- </fileSets>
-
- <files>
- <file>
- <source>target/${symbol_dollar}{artifactId}-${symbol_dollar}{project.version}.jar</source>
- <fileMode>0644</fileMode>
- </file>
- <file>
- <source>src/main/resources/bin/q2</source>
- <outputDirectory>/bin</outputDirectory>
- <fileMode>0755</fileMode>
- <filtered>true</filtered>
- </file>
- <file>
- <source>src/main/resources/bin/bsh</source>
- <outputDirectory>/bin</outputDirectory>
- <fileMode>0755</fileMode>
- <filtered>true</filtered>
- </file>
- <file>
- <source>src/main/resources/bin/start</source>
- <outputDirectory>/bin</outputDirectory>
- <fileMode>0755</fileMode>
- </file>
- <file>
- <source>src/main/resources/bin/stop</source>
- <outputDirectory>/bin</outputDirectory>
- <fileMode>0755</fileMode>
- </file>
- </files>
-</assembly>
-
@@ -1,64 +0,0 @@
-#set( $symbol_pound = '#' )
-#set( $symbol_dollar = '$' )
-#set( $symbol_escape = '\' )
-<assembly>
- <id>dir</id>
- <formats>
- <format>dir</format>
- </formats>
- <baseDirectory>/</baseDirectory>
- <includeSiteDirectory>false</includeSiteDirectory>
-
- <dependencySets>
- <dependencySet>
- <outputDirectory>/lib</outputDirectory>
- <useProjectArtifact>false</useProjectArtifact>
- <unpack>false</unpack>
- <scope>runtime</scope>
- </dependencySet>
- </dependencySets>
-
- <fileSets>
- <fileSet>
- <directory>src/main/resources</directory>
- <outputDirectory>/</outputDirectory>
- <includes>
- <include>cfg/*.xml</include>
- <include>cfg/*.ks</include>
- <include>cfg/*.bsh</include>
- <include>cfg/context/*.xml</include>
- <include>deploy/*.xml</include>
- </includes>
- </fileSet>
- </fileSets>
-
- <files>
- <file>
- <source>target/${symbol_dollar}{artifactId}-${symbol_dollar}{project.version}.jar</source>
- <fileMode>0644</fileMode>
- </file>
- <file>
- <source>src/main/resources/bin/q2</source>
- <outputDirectory>/bin</outputDirectory>
- <fileMode>0755</fileMode>
- <filtered>true</filtered>
- </file>
- <file>
- <source>src/main/resources/bin/bsh</source>
- <outputDirectory>/bin</outputDirectory>
- <fileMode>0755</fileMode>
- <filtered>true</filtered>
- </file>
- <file>
- <source>src/main/resources/bin/start</source>
- <outputDirectory>/bin</outputDirectory>
- <fileMode>0755</fileMode>
- </file>
- <file>
- <source>src/main/resources/bin/stop</source>
- <outputDirectory>/bin</outputDirectory>
- <fileMode>0755</fileMode>
- </file>
- </files>
-</assembly>
-
@@ -1,3 +0,0 @@
-#set( $symbol_pound = '#' )
-#set( $symbol_dollar = '$' )
-#set( $symbol_escape = '\' )
@@ -1,4 +0,0 @@
-#!/bin/sh
-cd `dirname $0`/.. || exit 1
-CLASSPATH=`echo ${project.build.finalName}.jar lib/*.jar | tr ' ' ':'`:$CLASSPATH
-exec java -cp $CLASSPATH bsh.Interpreter $*
@@ -1,9 +0,0 @@
-#!/bin/sh
-
-cd `dirname $0`/.. || exit 1
-rm -f deploy/shutdown.xml
-java -server \
- -Xmx1G \
- -Dorg.mortbay.xml.XmlParser.NotValidating=true \
- -jar ${project.build.finalName}.jar $*
-
@@ -1,5 +0,0 @@
-#!/bin/sh
-
-cd `dirname $0`
-echo Starting Q2
-nohup ./q2 > /dev/null 2>&1 &
@@ -1,4 +0,0 @@
-#!/bin/sh
-
-echo Stopping Q2
-echo '<shutdown/>' > `dirname $0`/../deploy/shutdown.xml
Oops, something went wrong.

0 comments on commit 09794d9

Please sign in to comment.