You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by rm...@apache.org on 2012/01/19 14:11:11 UTC
svn commit: r1233352 - in /openejb/trunk/openejb/server/openejb-ssh:
README.md pom.xml src/main/assembly/ src/main/assembly/ssh.xml
Author: rmannibucau
Date: Thu Jan 19 13:11:11 2012
New Revision: 1233352
URL: http://svn.apache.org/viewvc?rev=1233352&view=rev
Log:
adding an assembly for openejb-ssh
Added:
openejb/trunk/openejb/server/openejb-ssh/README.md
openejb/trunk/openejb/server/openejb-ssh/src/main/assembly/
openejb/trunk/openejb/server/openejb-ssh/src/main/assembly/ssh.xml
Modified:
openejb/trunk/openejb/server/openejb-ssh/pom.xml
Added: openejb/trunk/openejb/server/openejb-ssh/README.md
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb/server/openejb-ssh/README.md?rev=1233352&view=auto
==============================================================================
--- openejb/trunk/openejb/server/openejb-ssh/README.md (added)
+++ openejb/trunk/openejb/server/openejb-ssh/README.md Thu Jan 19 13:11:11 2012
@@ -0,0 +1,9 @@
+* copy jar included in openejb-ssh zip in openejb libs (<tomee>/webapps/openejb/lib for instance)
+* for TomEE add a file system.properties in conf containing
+
+ openejb.servicemanager.enabled = true
+
+* start the server
+* ssh can be configured in conf/ssh.properties
+
+Note: it uses JAAS for authentication, further details on http://openejb.apache.org/tomee-jaas.html
Modified: openejb/trunk/openejb/server/openejb-ssh/pom.xml
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb/server/openejb-ssh/pom.xml?rev=1233352&r1=1233351&r2=1233352&view=diff
==============================================================================
--- openejb/trunk/openejb/server/openejb-ssh/pom.xml (original)
+++ openejb/trunk/openejb/server/openejb-ssh/pom.xml Thu Jan 19 13:11:11 2012
@@ -43,11 +43,6 @@
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
- <artifactId>openejb-server</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>${project.groupId}</groupId>
<artifactId>openejb-common-cli</artifactId>
<version>${project.version}</version>
</dependency>
@@ -56,5 +51,50 @@
<artifactId>jline</artifactId>
<version>0.9.94</version>
</dependency>
+
+ <!-- dependencies we don't want to include in the zip -->
+ <dependency>
+ <groupId>${project.groupId}</groupId>
+ <artifactId>openejb-core</artifactId>
+ <version>${project.version}</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>${project.groupId}</groupId>
+ <artifactId>openejb-server</artifactId>
+ <version>${project.version}</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-api</artifactId>
+ <version>${slf4j.version}</version>
+ <scope>provided</scope>
+ </dependency>
</dependencies>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-assembly-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>bin</id>
+ <phase>package</phase>
+ <goals>
+ <goal>single</goal>
+ </goals>
+ <configuration>
+ <descriptors>
+ <descriptor>src/main/assembly/ssh.xml</descriptor>
+ </descriptors>
+ <appendAssemblyId>false</appendAssemblyId>
+ <tarLongFileMode>gnu</tarLongFileMode>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
</project>
Added: openejb/trunk/openejb/server/openejb-ssh/src/main/assembly/ssh.xml
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb/server/openejb-ssh/src/main/assembly/ssh.xml?rev=1233352&view=auto
==============================================================================
--- openejb/trunk/openejb/server/openejb-ssh/src/main/assembly/ssh.xml (added)
+++ openejb/trunk/openejb/server/openejb-ssh/src/main/assembly/ssh.xml Thu Jan 19 13:11:11 2012
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<assembly>
+ <id>ssh</id>
+ <formats>
+ <format>tar.gz</format>
+ <format>zip</format>
+ </formats>
+ <fileSets>
+ <fileSet>
+ <directory>${project.basedir}/target</directory>
+ <includes>
+ <include>${project.artifactId}-${project.version}.${project.packaging}</include>
+ </includes>
+ <outputDirectory>/</outputDirectory>
+ </fileSet>
+ </fileSets>
+ <dependencySets>
+ <dependencySet>
+ <outputDirectory>/</outputDirectory>
+ <scope>runtime</scope>
+ </dependencySet>
+ </dependencySets>
+</assembly>