3
0
Fork 0

test release

This commit is contained in:
willem.cazander 2011-01-10 21:54:34 +01:00
parent 2906c482d1
commit 7b5c61f4da
7 changed files with 268 additions and 62 deletions

View file

@ -3,18 +3,18 @@
<parent> <parent>
<groupId>com.idcanet.foei</groupId> <groupId>com.idcanet.foei</groupId>
<artifactId>foei-base</artifactId> <artifactId>foei-base</artifactId>
<version>0.8-SNAPSHOT</version> <version>0.8.1-SNAPSHOT</version>
</parent> </parent>
<groupId>com.idcanet.foei</groupId> <groupId>com.idcanet.foei</groupId>
<artifactId>foei-components</artifactId> <artifactId>foei-components</artifactId>
<version>0.8-SNAPSHOT</version> <version>0.8.1-SNAPSHOT</version>
<name>foei-components</name> <name>foei-components</name>
<description>foei-component</description> <description>foei-component</description>
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>com.idcanet.foei</groupId> <groupId>com.idcanet.foei</groupId>
<artifactId>foei-core</artifactId> <artifactId>foei-core</artifactId>
<version>0.8-SNAPSHOT</version> <version>${project.version}</version>
</dependency> </dependency>
</dependencies> </dependencies>
</project> </project>

View file

@ -3,11 +3,11 @@
<parent> <parent>
<groupId>com.idcanet.foei</groupId> <groupId>com.idcanet.foei</groupId>
<artifactId>foei-base</artifactId> <artifactId>foei-base</artifactId>
<version>0.8-SNAPSHOT</version> <version>0.8.1-SNAPSHOT</version>
</parent> </parent>
<groupId>com.idcanet.foei</groupId> <groupId>com.idcanet.foei</groupId>
<artifactId>foei-core</artifactId> <artifactId>foei-core</artifactId>
<version>0.8-SNAPSHOT</version> <version>0.8.1-SNAPSHOT</version>
<name>foei-core</name> <name>foei-core</name>
<description>foei-core</description> <description>foei-core</description>
<dependencies> <dependencies>

View file

@ -372,9 +372,7 @@ public class MemoryContext implements Context {
return listBindings(new CompositeName(name)); return listBindings(new CompositeName(name));
} }
public NamingEnumeration listBindings(Name name) throws NamingException public NamingEnumeration listBindings(Name name) throws NamingException {
{
//System.err.println("FoeiContext list bindings is called "+this+" map size:"+bindings.size());
if (name.isEmpty()) { if (name.isEmpty()) {
// listing this context // listing this context

View file

@ -3,11 +3,11 @@
<parent> <parent>
<groupId>com.idcanet.foei</groupId> <groupId>com.idcanet.foei</groupId>
<artifactId>foei-base</artifactId> <artifactId>foei-base</artifactId>
<version>0.8-SNAPSHOT</version> <version>0.8.1-SNAPSHOT</version>
</parent> </parent>
<groupId>com.idcanet.foei</groupId> <groupId>com.idcanet.foei</groupId>
<artifactId>foei-ee-ejb3</artifactId> <artifactId>foei-ee-ejb3</artifactId>
<version>0.8-SNAPSHOT</version> <version>0.8.1-SNAPSHOT</version>
<name>foei-ee-ejb3</name> <name>foei-ee-ejb3</name>
<description>foei-ee-ejb3</description> <description>foei-ee-ejb3</description>
</project> </project>

View file

@ -3,18 +3,18 @@
<parent> <parent>
<groupId>com.idcanet.foei</groupId> <groupId>com.idcanet.foei</groupId>
<artifactId>foei-base</artifactId> <artifactId>foei-base</artifactId>
<version>0.8-SNAPSHOT</version> <version>0.8.1-SNAPSHOT</version>
</parent> </parent>
<groupId>com.idcanet.foei</groupId> <groupId>com.idcanet.foei</groupId>
<artifactId>foei-ee-jca</artifactId> <artifactId>foei-ee-jca</artifactId>
<version>0.8-SNAPSHOT</version> <version>0.8.1-SNAPSHOT</version>
<name>foei-ee-jca</name> <name>foei-ee-jca</name>
<description>foei-ee-jca</description> <description>foei-ee-jca</description>
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>com.idcanet.foei</groupId> <groupId>com.idcanet.foei</groupId>
<artifactId>foei-core</artifactId> <artifactId>foei-core</artifactId>
<version>0.8-SNAPSHOT</version> <version>${project.version}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.jboss.jbossas</groupId> <groupId>org.jboss.jbossas</groupId>

View file

@ -3,11 +3,11 @@
<parent> <parent>
<groupId>com.idcanet.foei</groupId> <groupId>com.idcanet.foei</groupId>
<artifactId>foei-base</artifactId> <artifactId>foei-base</artifactId>
<version>0.8-SNAPSHOT</version> <version>0.8.1-SNAPSHOT</version>
</parent> </parent>
<groupId>com.idcanet.foei</groupId> <groupId>com.idcanet.foei</groupId>
<artifactId>foei-server</artifactId> <artifactId>foei-server</artifactId>
<version>0.8-SNAPSHOT</version> <version>0.8.1-SNAPSHOT</version>
<name>foei-server</name> <name>foei-server</name>
<description>foei-server</description> <description>foei-server</description>
<dependencies> <dependencies>

308
pom.xml
View file

@ -5,24 +5,11 @@
<groupId>com.idcanet.foei</groupId> <groupId>com.idcanet.foei</groupId>
<artifactId>foei-base</artifactId> <artifactId>foei-base</artifactId>
<packaging>pom</packaging> <packaging>pom</packaging>
<version>0.8-SNAPSHOT</version> <version>0.8.1-SNAPSHOT</version>
<name>foei</name> <name>foei</name>
<description>Creates an easy xml layer for objects and creating your own xml language implementions.</description> <description>Creates an easy xml layer for objects and creating your own xml language implementions.</description>
<url>http://www.x4o.org/foei</url> <url>http://www.x4o.org/foei</url>
<modules> <inceptionYear>2002</inceptionYear>
<module>foei-core</module>
<module>foei-server</module>
<module>foei-components</module>
<module>foei-ee-jca</module>
<module>foei-ee-ejb3</module>
</modules>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<juel.version>2.1.0</juel.version>
<testng.version>5.8</testng.version>
<x4o-core.version>0.8-SNAPSHOT</x4o-core.version>
<servlet-api.version>2.4</servlet-api.version>
</properties>
<organization> <organization>
<name>IDCA</name> <name>IDCA</name>
<url>http://www.idca.nl</url> <url>http://www.idca.nl</url>
@ -31,43 +18,34 @@
<system>Trac</system> <system>Trac</system>
<url>https://decaid.idca.nl/trac/oss/</url> <url>https://decaid.idca.nl/trac/oss/</url>
</issueManagement> </issueManagement>
<licenses>
<license>
<name>BSD</name>
<url>http://repository.idcanet.com/licenses/bsd.txt</url>
</license>
</licenses>
<scm> <scm>
<connection>scm:svn:https://decaid.idca.nl/svn/oss/com.idcanet.foei/</connection> <connection>https://decaid.idca.nl/hg/com.idcanet.foei/</connection>
<developerConnection>scm:svn:https://decaid.idca.nl/svn/oss/com.idcanet.foei/</developerConnection> <developerConnection>scm:hg:${hg.repo.url}</developerConnection>
<url>https://decaid.idca.nl/svn/oss/com.idcanet.foei/</url> <url>https://decaid.idca.nl/hg/com.idcanet.foei/file/</url>
</scm> </scm>
<developers> <modules>
<developer> <module>foei-core</module>
<id>willem.cazander</id> <module>foei-server</module>
<name>Willem Cazander</name> <module>foei-components</module>
<email>w.cazander@gmail.com</email> <module>foei-ee-jca</module>
<organization>IDCA</organization> <module>foei-ee-ejb3</module>
<timezone>+2</timezone> </modules>
<roles> <properties>
<role>Project Manager</role> <hg.repo.url>https://decaid.idca.nl/hg/com.idcanet.foei/</hg.repo.url>
<role>Architect</role> <staging.mvn.repo.url>file://${project.build.directory}/target-maven-repo</staging.mvn.repo.url>
</roles> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</developer> <juel.version>2.1.0</juel.version>
<developer> <testng.version>5.8</testng.version>
<id>sqrbass</id> <x4o-core.version>0.8.1</x4o-core.version>
<name>Bas van Oostveen</name> <servlet-api.version>2.4</servlet-api.version>
<email></email> </properties>
<organization>IDCA</organization>
<timezone>+2</timezone>
<roles>
<role>Architect Reviewer</role>
</roles>
</developer>
</developers>
<repositories>
<repository>
<id>jboss</id>
<name>JBoss Repository Switchboard</name>
<layout>default</layout>
<url>http://repository.jboss.com/maven2/</url>
<snapshots><enabled>true</enabled></snapshots>
</repository>
</repositories>
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>org.testng</groupId> <groupId>org.testng</groupId>
@ -128,7 +106,30 @@
<version>2.4</version> <version>2.4</version>
<configuration></configuration> <configuration></configuration>
</plugin> </plugin>
<!-- Perform maven releases -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>2.1</version>
<configuration>
<preparationGoals>clean install verify</preparationGoals>
<!-- rmed assembly:assembly -->
<goals>clean install javadoc:javadoc deploy</goals>
<arguments>-Prelease -DaltDeploymentRepository="${altDeploymentRepository}"</arguments>
</configuration>
</plugin>
</plugins> </plugins>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>2.1</version>
</plugin>
</plugins>
</pluginManagement>
</build> </build>
<reporting> <reporting>
@ -189,5 +190,212 @@
</plugins> </plugins>
</reporting> </reporting>
<repositories>
<repository>
<id>local</id>
<url>http://localhost:8081/nexus/content/groups/public/</url>
<snapshots><enabled>true</enabled></snapshots>
<releases><enabled>true</enabled></releases>
</repository>
<repository>
<id>jboss</id>
<name>JBoss Repository Switchboard</name>
<layout>default</layout>
<url>http://repository.jboss.com/maven2/</url>
<snapshots><enabled>true</enabled></snapshots>
</repository>
</repositories>
<!-- PluginRepositories -->
<pluginRepositories>
<pluginRepository>
<id>local</id>
<url>http://localhost:8081/nexus/content/groups/public/</url>
<snapshots><enabled>true</enabled></snapshots>
<releases><enabled>true</enabled></releases>
</pluginRepository>
</pluginRepositories>
<!-- DistributionManagement -->
<distributionManagement>
<repository>
<id>releases</id>
<name>Internal Releases</name>
<url>http://localhost:8081/nexus/content/repositories/releases</url>
</repository>
<snapshotRepository>
<id>snapshots</id>
<name>Internal Snapshots</name>
<url>http://localhost:8081/nexus/content/repositories/snapshots</url>
</snapshotRepository>
</distributionManagement>
<developers>
<developer>
<id>willem.cazander</id>
<name>Willem Cazander</name>
<email>w.cazander@gmail.com</email>
<organization>IDCA</organization>
<timezone>+2</timezone>
<roles>
<role>Project Manager</role>
<role>Architect</role>
</roles>
</developer>
<developer>
<id>sqrbass</id>
<name>Bas van Oostveen</name>
<email></email>
<organization>IDCA</organization>
<timezone>+2</timezone>
<roles>
<role>Architect Reviewer</role>
</roles>
</developer>
</developers>
<!-- Profiles -->
<profiles>
<profile>
<id>release</id>
<properties>
<hg.repo.url>file://${project.build.directory}/dummy-hg-repo</hg.repo.url>
<altDeploymentRepository>release-repo-hudson::default::${staging.mvn.repo.url}</altDeploymentRepository>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<executions>
<execution>
<id>clean-release-dirs</id>
<phase>initialize</phase>
<goals>
<goal>exec</goal>
</goals>
<inherited>false</inherited>
<configuration>
<executable>rm</executable>
<arguments>
<argument>-rf</argument>
<argument>${project.build.directory}/dummy-hg-repo</argument>
<argument>${project.build.directory}/target-maven-repo</argument>
</arguments>
</configuration>
</execution>
<execution>
<id>create-release-dirs</id>
<phase>initialize</phase>
<goals>
<goal>exec</goal>
</goals>
<inherited>false</inherited>
<configuration>
<executable>mkdir</executable>
<arguments>
<argument>-p</argument>
<argument>${project.build.directory}/dummy-hg-repo</argument>
<argument>${project.build.directory}/target-maven-repo</argument>
</arguments>
</configuration>
</execution>
<execution>
<id>init-dummy-hg-repo</id>
<phase>initialize</phase>
<goals>
<goal>exec</goal>
</goals>
<inherited>false</inherited>
<configuration>
<executable>hg</executable>
<workingDirectory>${project.build.directory}/dummy-hg-repo</workingDirectory>
<arguments>
<argument>init</argument>
</arguments>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>release-commit</id>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<executions>
<execution>
<id>push-hg</id>
<phase>initialize</phase>
<goals>
<goal>exec</goal>
</goals>
<inherited>false</inherited>
<configuration>
<executable>hg</executable>
<arguments>
<argument>push</argument>
</arguments>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>wagon-maven-plugin</artifactId>
<configuration>
<source>${staging.mvn.repo.url}</source>
<target>${project.distributionManagement.repository.url}</target>
<targetId>${project.distributionManagement.repository.id}</targetId>
</configuration>
<executions>
<execution>
<id>merge-repo</id>
<phase>initialize</phase>
<goals>
<goal>merge-maven-repos</goal>
</goals>
<inherited>false</inherited>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>release-cancel</id>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<executions>
<execution>
<id>strip-hg</id>
<phase>initialize</phase>
<goals>
<goal>exec</goal>
</goals>
<inherited>false</inherited>
<configuration>
<!-- FIXME: would be better to strip local changes -->
<executable>rm</executable>
<arguments>
<argument>-rf</argument>
<argument>.hg</argument>
</arguments>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<!-- END --> <!-- END -->
</project> </project>