mirror of https://github.com/apache/maven.git
Adding resources for the test project in mng-5207.
This commit is contained in:
parent
a9415de94c
commit
a9eb26a5bc
|
@ -0,0 +1,26 @@
|
|||
<?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">
|
||||
<parent>
|
||||
<groupId>bugs.maven.issue</groupId>
|
||||
<artifactId>master</artifactId>
|
||||
<version>x-SNAPSHOT</version>
|
||||
</parent>
|
||||
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<artifactId>application</artifactId>
|
||||
<version>1-SNAPSHOT</version>
|
||||
<packaging>jar</packaging>
|
||||
<name>Issue Application</name>
|
||||
<description><![CDATA[Demonstration of issue with application.]]></description>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>bugs.maven.issue</groupId>
|
||||
<artifactId>delegate</artifactId>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
</project>
|
|
@ -0,0 +1,28 @@
|
|||
<?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">
|
||||
<parent>
|
||||
<groupId>bugs.maven.issue</groupId>
|
||||
<artifactId>master</artifactId>
|
||||
<version>x-SNAPSHOT</version>
|
||||
</parent>
|
||||
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<artifactId>delegate</artifactId>
|
||||
<version>2-SNAPSHOT</version>
|
||||
<packaging>jar</packaging>
|
||||
<name>Issue EJB Delegate</name>
|
||||
<description><![CDATA[Demonstration of issue with EJB delegate.]]></description>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>bugs.maven.issue</groupId>
|
||||
<artifactId>ejb</artifactId>
|
||||
<classifier>client</classifier>
|
||||
<type>ejb-client</type>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
</project>
|
|
@ -0,0 +1,43 @@
|
|||
<?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">
|
||||
<parent>
|
||||
<groupId>bugs.maven.issue</groupId>
|
||||
<artifactId>master</artifactId>
|
||||
<version>x-SNAPSHOT</version>
|
||||
</parent>
|
||||
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<artifactId>ejb</artifactId>
|
||||
<version>2-SNAPSHOT</version>
|
||||
<packaging>ejb</packaging>
|
||||
<name>Issue EJB</name>
|
||||
<description><![CDATA[Demonstration of issue with EJB client.]]></description>
|
||||
|
||||
<build>
|
||||
<pluginManagement>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<artifactId>maven-ejb-plugin</artifactId>
|
||||
<configuration>
|
||||
<archive>
|
||||
<manifest>
|
||||
<addClasspath>true</addClasspath>
|
||||
</manifest>
|
||||
</archive>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</pluginManagement>
|
||||
</build>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>commons-lang</groupId>
|
||||
<artifactId>commons-lang</artifactId>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
</project>
|
|
@ -0,0 +1,5 @@
|
|||
package maven.bugs;
|
||||
|
||||
public interface IssueHome
|
||||
{
|
||||
}
|
|
@ -0,0 +1,14 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN" "http://java.sun.com/dtd/ejb-jar_2_0.dtd">
|
||||
<ejb-jar>
|
||||
<display-name>IssueMEJB18</display-name>
|
||||
<enterprise-beans>
|
||||
<session>
|
||||
<ejb-name>MEJB18</ejb-name>
|
||||
<home>mejb.Issue18Home</home>
|
||||
<remote>mejb.Issue18</remote>
|
||||
<ejb-class>mejb.Issue18Bean</ejb-class>
|
||||
<session-type>Stateless</session-type>
|
||||
</session>
|
||||
</enterprise-beans>
|
||||
</ejb-jar>
|
|
@ -0,0 +1,19 @@
|
|||
<?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>bugs.maven.issue</groupId>
|
||||
<artifactId>builder</artifactId>
|
||||
<packaging>pom</packaging>
|
||||
<name>Builder for Issue</name>
|
||||
<version>x-SNAPSHOT</version>
|
||||
|
||||
<modules>
|
||||
<module>application</module>
|
||||
<module>delegate</module>
|
||||
<module>ejb</module>
|
||||
</modules>
|
||||
</project>
|
Binary file not shown.
|
@ -0,0 +1,28 @@
|
|||
<?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">
|
||||
<parent>
|
||||
<groupId>bugs.maven.issue</groupId>
|
||||
<artifactId>master</artifactId>
|
||||
<version>1</version>
|
||||
</parent>
|
||||
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<artifactId>delegate</artifactId>
|
||||
<version>1</version>
|
||||
<packaging>jar</packaging>
|
||||
<name>Issue EJB Delegate</name>
|
||||
<description><![CDATA[Demonstration of issue with EJB delegate.]]></description>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>bugs.maven.issue</groupId>
|
||||
<artifactId>ejb</artifactId>
|
||||
<classifier>client</classifier>
|
||||
<type>ejb-client</type>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
</project>
|
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1,43 @@
|
|||
<?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">
|
||||
<parent>
|
||||
<groupId>bugs.maven.issue</groupId>
|
||||
<artifactId>master</artifactId>
|
||||
<version>1</version>
|
||||
</parent>
|
||||
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<artifactId>ejb</artifactId>
|
||||
<version>1</version>
|
||||
<packaging>ejb</packaging>
|
||||
<name>Issue EJB</name>
|
||||
<description><![CDATA[Demonstration of issue with EJB client.]]></description>
|
||||
|
||||
<build>
|
||||
<pluginManagement>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<artifactId>maven-ejb-plugin</artifactId>
|
||||
<configuration>
|
||||
<archive>
|
||||
<manifest>
|
||||
<addClasspath>true</addClasspath>
|
||||
</manifest>
|
||||
</archive>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</pluginManagement>
|
||||
</build>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>commons-lang</groupId>
|
||||
<artifactId>commons-lang</artifactId>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
</project>
|
|
@ -0,0 +1,256 @@
|
|||
<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>
|
||||
|
||||
<!-- Define group, artifact and project type -->
|
||||
<groupId>bugs.maven.issue</groupId>
|
||||
<artifactId>master</artifactId>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
<!-- Describe the project -->
|
||||
<name>Master Project</name>
|
||||
<version>1</version>
|
||||
<description>Master project with global settings.</description>
|
||||
|
||||
<!-- Minimum versions to use this POM -->
|
||||
<prerequisites>
|
||||
<maven>2.2.1</maven>
|
||||
</prerequisites>
|
||||
|
||||
<!-- Global build settings -->
|
||||
<build>
|
||||
<pluginManagement>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-assembly-plugin</artifactId>
|
||||
<version>${version.org.apache.maven.plugins.assembly}</version>
|
||||
<extensions>true</extensions>
|
||||
<configuration>
|
||||
<overWriteReleases>false</overWriteReleases>
|
||||
<overWriteSnapshots>true</overWriteSnapshots>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-clean-plugin</artifactId>
|
||||
<version>${version.org.apache.maven.plugins.clean}</version>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<version>${version.org.apache.maven.plugins.compiler}</version>
|
||||
<extensions>true</extensions>
|
||||
<configuration>
|
||||
<source>${java.version.source}</source>
|
||||
<target>${java.version.target}</target>
|
||||
<encoding>${project.build.sourceEncoding}</encoding>
|
||||
<optimize>false</optimize>
|
||||
<debug>true</debug>
|
||||
<showDeprecation>true</showDeprecation>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-dependency-plugin</artifactId>
|
||||
<version>${version.org.apache.maven.plugins.dependency}</version>
|
||||
<extensions>true</extensions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-deploy-plugin</artifactId>
|
||||
<version>${version.org.apache.maven.plugins.deploy}</version>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-ear-plugin</artifactId>
|
||||
<version>${version.org.apache.maven.plugins.ear}</version>
|
||||
<configuration>
|
||||
<defaultJavaBundleDir>/</defaultJavaBundleDir>
|
||||
<displayName>${project.name}</displayName>
|
||||
<archive>
|
||||
<addMavenDescriptor>false</addMavenDescriptor>
|
||||
<manifest>
|
||||
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
|
||||
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
|
||||
</manifest>
|
||||
</archive>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-ejb-plugin</artifactId>
|
||||
<version>${version.org.apache.maven.plugins.ejb}</version>
|
||||
<configuration>
|
||||
<generateClient>true</generateClient>
|
||||
<ejbVersion>${java.ejb.version}</ejbVersion>
|
||||
<clientExcludes>
|
||||
<clientExclude>META-INF/*.xml</clientExclude>
|
||||
<clientExclude>**/ejb/*Bean.class</clientExclude>
|
||||
</clientExcludes>
|
||||
<archive>
|
||||
<addMavenDescriptor>false</addMavenDescriptor>
|
||||
<manifest>
|
||||
<addClasspath>true</addClasspath>
|
||||
<useUniqueVersions>false</useUniqueVersions>
|
||||
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
|
||||
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
|
||||
</manifest>
|
||||
</archive>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-install-plugin</artifactId>
|
||||
<version>${version.org.apache.maven.plugins.install}</version>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-jar-plugin</artifactId>
|
||||
<version>${version.org.apache.maven.plugins.jar}</version>
|
||||
<configuration>
|
||||
<archive>
|
||||
<addMavenDescriptor>false</addMavenDescriptor>
|
||||
<manifest>
|
||||
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
|
||||
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
|
||||
</manifest>
|
||||
</archive>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-resources-plugin</artifactId>
|
||||
<version>${version.org.apache.maven.plugins.resources}</version>
|
||||
<configuration>
|
||||
<!-- Workaround for bug reported with MRESOURCES-104 -->
|
||||
<useDefaultDelimiters>false</useDefaultDelimiters>
|
||||
<delimiters>
|
||||
<delimiter>${*}</delimiter>
|
||||
</delimiters>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-source-plugin</artifactId>
|
||||
<version>${version.org.apache.maven.plugins.source}</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>attach-sources</id>
|
||||
<phase>package</phase>
|
||||
<goals>
|
||||
<goal>jar-no-fork</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
<configuration>
|
||||
<archive>
|
||||
<addMavenDescriptor>false</addMavenDescriptor>
|
||||
<manifest>
|
||||
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
|
||||
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
|
||||
</manifest>
|
||||
</archive>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-surefire-plugin</artifactId>
|
||||
<version>${version.org.apache.maven.plugins.surefire}</version>
|
||||
<extensions>true</extensions>
|
||||
<!-- We set a forkMode -->
|
||||
<configuration>
|
||||
<forkMode>once</forkMode>
|
||||
<argLine>-Xms64m -Xmx128m</argLine>
|
||||
<workingDirectory>${basedir}</workingDirectory>
|
||||
<childDelegation>false</childDelegation>
|
||||
<runOrder>random</runOrder>
|
||||
<useFile>false</useFile>
|
||||
</configuration>
|
||||
</plugin>
|
||||
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>build-helper-maven-plugin</artifactId>
|
||||
<version>${version.org.codehaus.mojo.build-helper-plugin}</version>
|
||||
<extensions>true</extensions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</pluginManagement>
|
||||
</build>
|
||||
|
||||
<dependencyManagement>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>bugs.maven.issue</groupId>
|
||||
<artifactId>application</artifactId>
|
||||
<version>${version.application}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>bugs.maven.issue</groupId>
|
||||
<artifactId>delegate</artifactId>
|
||||
<version>${version.delegate}</version>
|
||||
</dependency>
|
||||
<!-- not required for example
|
||||
<dependency>
|
||||
<groupId>bugs.maven.issue</groupId>
|
||||
<artifactId>ejb</artifactId>
|
||||
<version>${version.ejb}</version>
|
||||
<type>ejb</type>
|
||||
<scope>runtime</scope>
|
||||
</dependency>
|
||||
-->
|
||||
<dependency>
|
||||
<groupId>bugs.maven.issue</groupId>
|
||||
<artifactId>ejb</artifactId>
|
||||
<version>${version.ejb}</version>
|
||||
<classifier>client</classifier>
|
||||
<type>ejb-client</type>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>commons-lang</groupId>
|
||||
<artifactId>commons-lang</artifactId>
|
||||
<version>${version.commons-lang}</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</dependencyManagement>
|
||||
|
||||
<!-- Define properties for better consistency -->
|
||||
<properties>
|
||||
<!-- ==== -->
|
||||
<!-- Java -->
|
||||
<!-- === =-->
|
||||
<java.version.source>1.6</java.version.source>
|
||||
<java.version.target>1.6</java.version.target>
|
||||
<java.ejb.version>2.1</java.ejb.version>
|
||||
|
||||
<!-- ======= -->
|
||||
<!-- Plugins -->
|
||||
<!-- ======= -->
|
||||
<version.org.apache.maven.plugins.assembly>2.2.1</version.org.apache.maven.plugins.assembly>
|
||||
<version.org.apache.maven.plugins.clean>2.4.1</version.org.apache.maven.plugins.clean>
|
||||
<version.org.apache.maven.plugins.compiler>2.3.2</version.org.apache.maven.plugins.compiler>
|
||||
<version.org.apache.maven.plugins.dependency>2.3</version.org.apache.maven.plugins.dependency>
|
||||
<version.org.apache.maven.plugins.deploy>2.7</version.org.apache.maven.plugins.deploy>
|
||||
<version.org.apache.maven.plugins.ear>2.6</version.org.apache.maven.plugins.ear>
|
||||
<version.org.apache.maven.plugins.ejb>2.3</version.org.apache.maven.plugins.ejb>
|
||||
<version.org.apache.maven.plugins.install>2.3.1</version.org.apache.maven.plugins.install>
|
||||
<version.org.apache.maven.plugins.jar>2.3.2</version.org.apache.maven.plugins.jar>
|
||||
<version.org.apache.maven.plugins.resources>2.5</version.org.apache.maven.plugins.resources>
|
||||
<version.org.apache.maven.plugins.source>2.1.2</version.org.apache.maven.plugins.source>
|
||||
<version.org.apache.maven.plugins.surefire>2.9</version.org.apache.maven.plugins.surefire>
|
||||
|
||||
<version.org.codehaus.mojo.build-helper-plugin>1.7</version.org.codehaus.mojo.build-helper-plugin>
|
||||
|
||||
<!-- ============ -->
|
||||
<!-- Dependencies -->
|
||||
<!-- ============ -->
|
||||
<version.application>1-SNAPSHOT</version.application>
|
||||
<version.delegate>1</version.delegate>
|
||||
<version.ejb>1</version.ejb>
|
||||
|
||||
<version.commons-lang>2.4</version.commons-lang>
|
||||
|
||||
<project.build.sourceEncoding>iso-8859-1</project.build.sourceEncoding>
|
||||
</properties>
|
||||
</project>
|
|
@ -0,0 +1,256 @@
|
|||
<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>
|
||||
|
||||
<!-- Define group, artifact and project type -->
|
||||
<groupId>bugs.maven.issue</groupId>
|
||||
<artifactId>master</artifactId>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
<!-- Describe the project -->
|
||||
<name>Master Project</name>
|
||||
<version>x-SNAPSHOT</version>
|
||||
<description>Master project with global settings.</description>
|
||||
|
||||
<!-- Minimum versions to use this POM -->
|
||||
<prerequisites>
|
||||
<maven>2.2.1</maven>
|
||||
</prerequisites>
|
||||
|
||||
<!-- Global build settings -->
|
||||
<build>
|
||||
<pluginManagement>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-assembly-plugin</artifactId>
|
||||
<version>${version.org.apache.maven.plugins.assembly}</version>
|
||||
<extensions>true</extensions>
|
||||
<configuration>
|
||||
<overWriteReleases>false</overWriteReleases>
|
||||
<overWriteSnapshots>true</overWriteSnapshots>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-clean-plugin</artifactId>
|
||||
<version>${version.org.apache.maven.plugins.clean}</version>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<version>${version.org.apache.maven.plugins.compiler}</version>
|
||||
<extensions>true</extensions>
|
||||
<configuration>
|
||||
<source>${java.version.source}</source>
|
||||
<target>${java.version.target}</target>
|
||||
<encoding>${project.build.sourceEncoding}</encoding>
|
||||
<optimize>false</optimize>
|
||||
<debug>true</debug>
|
||||
<showDeprecation>true</showDeprecation>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-dependency-plugin</artifactId>
|
||||
<version>${version.org.apache.maven.plugins.dependency}</version>
|
||||
<extensions>true</extensions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-deploy-plugin</artifactId>
|
||||
<version>${version.org.apache.maven.plugins.deploy}</version>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-ear-plugin</artifactId>
|
||||
<version>${version.org.apache.maven.plugins.ear}</version>
|
||||
<configuration>
|
||||
<defaultJavaBundleDir>/</defaultJavaBundleDir>
|
||||
<displayName>${project.name}</displayName>
|
||||
<archive>
|
||||
<addMavenDescriptor>false</addMavenDescriptor>
|
||||
<manifest>
|
||||
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
|
||||
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
|
||||
</manifest>
|
||||
</archive>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-ejb-plugin</artifactId>
|
||||
<version>${version.org.apache.maven.plugins.ejb}</version>
|
||||
<configuration>
|
||||
<generateClient>true</generateClient>
|
||||
<ejbVersion>${java.ejb.version}</ejbVersion>
|
||||
<clientExcludes>
|
||||
<clientExclude>META-INF/*.xml</clientExclude>
|
||||
<clientExclude>**/ejb/*Bean.class</clientExclude>
|
||||
</clientExcludes>
|
||||
<archive>
|
||||
<addMavenDescriptor>false</addMavenDescriptor>
|
||||
<manifest>
|
||||
<addClasspath>true</addClasspath>
|
||||
<useUniqueVersions>false</useUniqueVersions>
|
||||
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
|
||||
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
|
||||
</manifest>
|
||||
</archive>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-install-plugin</artifactId>
|
||||
<version>${version.org.apache.maven.plugins.install}</version>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-jar-plugin</artifactId>
|
||||
<version>${version.org.apache.maven.plugins.jar}</version>
|
||||
<configuration>
|
||||
<archive>
|
||||
<addMavenDescriptor>false</addMavenDescriptor>
|
||||
<manifest>
|
||||
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
|
||||
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
|
||||
</manifest>
|
||||
</archive>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-resources-plugin</artifactId>
|
||||
<version>${version.org.apache.maven.plugins.resources}</version>
|
||||
<configuration>
|
||||
<!-- Workaround for bug reported with MRESOURCES-104 -->
|
||||
<useDefaultDelimiters>false</useDefaultDelimiters>
|
||||
<delimiters>
|
||||
<delimiter>${*}</delimiter>
|
||||
</delimiters>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-source-plugin</artifactId>
|
||||
<version>${version.org.apache.maven.plugins.source}</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>attach-sources</id>
|
||||
<phase>package</phase>
|
||||
<goals>
|
||||
<goal>jar-no-fork</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
<configuration>
|
||||
<archive>
|
||||
<addMavenDescriptor>false</addMavenDescriptor>
|
||||
<manifest>
|
||||
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
|
||||
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
|
||||
</manifest>
|
||||
</archive>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-surefire-plugin</artifactId>
|
||||
<version>${version.org.apache.maven.plugins.surefire}</version>
|
||||
<extensions>true</extensions>
|
||||
<!-- We set a forkMode -->
|
||||
<configuration>
|
||||
<forkMode>once</forkMode>
|
||||
<argLine>-Xms64m -Xmx128m</argLine>
|
||||
<workingDirectory>${basedir}</workingDirectory>
|
||||
<childDelegation>false</childDelegation>
|
||||
<runOrder>random</runOrder>
|
||||
<useFile>false</useFile>
|
||||
</configuration>
|
||||
</plugin>
|
||||
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>build-helper-maven-plugin</artifactId>
|
||||
<version>${version.org.codehaus.mojo.build-helper-plugin}</version>
|
||||
<extensions>true</extensions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</pluginManagement>
|
||||
</build>
|
||||
|
||||
<dependencyManagement>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>bugs.maven.issue</groupId>
|
||||
<artifactId>application</artifactId>
|
||||
<version>${version.application}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>bugs.maven.issue</groupId>
|
||||
<artifactId>delegate</artifactId>
|
||||
<version>${version.delegate}</version>
|
||||
</dependency>
|
||||
<!-- not required for example
|
||||
<dependency>
|
||||
<groupId>bugs.maven.issue</groupId>
|
||||
<artifactId>ejb</artifactId>
|
||||
<version>${version.ejb}</version>
|
||||
<type>ejb</type>
|
||||
<scope>runtime</scope>
|
||||
</dependency>
|
||||
-->
|
||||
<dependency>
|
||||
<groupId>bugs.maven.issue</groupId>
|
||||
<artifactId>ejb</artifactId>
|
||||
<version>${version.ejb}</version>
|
||||
<classifier>client</classifier>
|
||||
<type>ejb-client</type>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>commons-lang</groupId>
|
||||
<artifactId>commons-lang</artifactId>
|
||||
<version>${version.commons-lang}</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</dependencyManagement>
|
||||
|
||||
<!-- Define properties for better consistency -->
|
||||
<properties>
|
||||
<!-- ==== -->
|
||||
<!-- Java -->
|
||||
<!-- === =-->
|
||||
<java.version.source>1.6</java.version.source>
|
||||
<java.version.target>1.6</java.version.target>
|
||||
<java.ejb.version>2.1</java.ejb.version>
|
||||
|
||||
<!-- ======= -->
|
||||
<!-- Plugins -->
|
||||
<!-- ======= -->
|
||||
<version.org.apache.maven.plugins.assembly>2.2.1</version.org.apache.maven.plugins.assembly>
|
||||
<version.org.apache.maven.plugins.clean>2.4.1</version.org.apache.maven.plugins.clean>
|
||||
<version.org.apache.maven.plugins.compiler>2.3.2</version.org.apache.maven.plugins.compiler>
|
||||
<version.org.apache.maven.plugins.dependency>2.3</version.org.apache.maven.plugins.dependency>
|
||||
<version.org.apache.maven.plugins.deploy>2.7</version.org.apache.maven.plugins.deploy>
|
||||
<version.org.apache.maven.plugins.ear>2.6</version.org.apache.maven.plugins.ear>
|
||||
<version.org.apache.maven.plugins.ejb>2.3</version.org.apache.maven.plugins.ejb>
|
||||
<version.org.apache.maven.plugins.install>2.3.1</version.org.apache.maven.plugins.install>
|
||||
<version.org.apache.maven.plugins.jar>2.3.2</version.org.apache.maven.plugins.jar>
|
||||
<version.org.apache.maven.plugins.resources>2.5</version.org.apache.maven.plugins.resources>
|
||||
<version.org.apache.maven.plugins.source>2.1.2</version.org.apache.maven.plugins.source>
|
||||
<version.org.apache.maven.plugins.surefire>2.9</version.org.apache.maven.plugins.surefire>
|
||||
|
||||
<version.org.codehaus.mojo.build-helper-plugin>1.7</version.org.codehaus.mojo.build-helper-plugin>
|
||||
|
||||
<!-- ============ -->
|
||||
<!-- Dependencies -->
|
||||
<!-- ============ -->
|
||||
<version.application>1-SNAPSHOT</version.application>
|
||||
<version.delegate>1</version.delegate>
|
||||
<version.ejb>2-SNAPSHOT</version.ejb>
|
||||
|
||||
<version.commons-lang>2.6</version.commons-lang>
|
||||
|
||||
<project.build.sourceEncoding>iso-8859-1</project.build.sourceEncoding>
|
||||
</properties>
|
||||
</project>
|
|
@ -0,0 +1,7 @@
|
|||
#!/bin/sh
|
||||
|
||||
mvn install:install-file -Dfile=master-1.pom -DpomFile=master-1.pom
|
||||
mvn install:install-file -Dfile=master-x.pom -DpomFile=master-x.pom
|
||||
mvn install:install-file -Dfile=ejb-1.jar -DpomFile=ejb-1.pom
|
||||
mvn install:install-file -Dfile=ejb-1-client.jar -Dclassifier=client -DpomFile=ejb-1.pom
|
||||
mvn install:install-file -Dfile=delegate-1.jar -DpomFile=delegate-1.pom
|
Loading…
Reference in New Issue