[prev in list] [next in list] [prev in thread] [next in thread] 

List:       maven-user
Subject:    compile tries to bundle up the ear - should it?
From:       "EJ Ciramella" <ejciramella () upromise ! com>
Date:       2007-01-31 23:22:38
Message-ID: C0D46AE760D942458B26B850713F86F50FF91440 () knight
[Download RAW message or body]

I'm running just compile but one module that has an ear artifact is
trying to bundle up the ear file (which subsequently fails because the
war and ejbs don't exist).  
 
Is this supposed to happen or is this something I've misconfigured:

[INFO]
------------------------------------------------------------------------
----

[INFO] Building ltyApp_ear

[INFO]    task-segment: [compile]

[INFO]
------------------------------------------------------------------------
----

Downloading:
file:\\build.corp.upromise.com/maven2/lty/upErrorEJB/1.0-SNAPSHOT/upErro
rEJB-1.0-SNAPSHOT.jar

[WARNING] Unable to get resource from repository central
(file:\\build.corp.upromise.com/maven2)

Downloading:
file:\\build.corp.upromise.com/maven2/lty/salesscriptEJB/1.0-SNAPSHOT/sa
lesscriptEJB-1.0-SNAPSHOT.jar

[WARNING] Unable to get resource from repository central
(file:\\build.corp.upromise.com/maven2)

Downloading:
file:\\build.corp.upromise.com/maven2/lty/transferEJB/1.0-SNAPSHOT/trans
ferEJB-1.0-SNAPSHOT.jar

[WARNING] Unable to get resource from repository central
(file:\\build.corp.upromise.com/maven2)

Downloading:
file:\\build.corp.upromise.com/maven2/lty/transactionEJB/1.0-SNAPSHOT/tr
ansactionEJB-1.0-SNAPSHOT.jar

[WARNING] Unable to get resource from repository central
(file:\\build.corp.upromise.com/maven2)

Downloading:
file:\\build.corp.upromise.com/maven2/lty/CSREJB/1.0-SNAPSHOT/CSREJB-1.0
-SNAPSHOT.jar

[WARNING] Unable to get resource from repository central
(file:\\build.corp.upromise.com/maven2)

Downloading:
file:\\build.corp.upromise.com/maven2/lty/upAdminEJB/1.0-SNAPSHOT/upAdmi
nEJB-1.0-SNAPSHOT.jar

[WARNING] Unable to get resource from repository central
(file:\\build.corp.upromise.com/maven2)

Downloading:
file:\\build.corp.upromise.com/maven2/lty/inboundenrollmentEJB/1.0-SNAPS
HOT/inboundenrollmentEJB-1.0-SNAPSHOT.jar

[WARNING] Unable to get resource from repository central
(file:\\build.corp.upromise.com/maven2)

Downloading:
file:\\build.corp.upromise.com/maven2/lty/authserverEJB/1.0-SNAPSHOT/aut
hserverEJB-1.0-SNAPSHOT.jar

[WARNING] Unable to get resource from repository central
(file:\\build.corp.upromise.com/maven2)

Downloading:
file:\\build.corp.upromise.com/maven2/lty/communityEJB/1.0-SNAPSHOT/comm
unityEJB-1.0-SNAPSHOT.jar

[WARNING] Unable to get resource from repository central
(file:\\build.corp.upromise.com/maven2)

Downloading:
file:\\build.corp.upromise.com/maven2/lty/accountGuestEJB/1.0-SNAPSHOT/a
ccountGuestEJB-1.0-SNAPSHOT.jar

[WARNING] Unable to get resource from repository central
(file:\\build.corp.upromise.com/maven2)

Downloading:
file:\\build.corp.upromise.com/maven2/lty/testcellEJB/1.0-SNAPSHOT/testc
ellEJB-1.0-SNAPSHOT.jar

[WARNING] Unable to get resource from repository central
(file:\\build.corp.upromise.com/maven2)

Downloading:
file:\\build.corp.upromise.com/maven2/lty/enrollmentEJB/1.0-SNAPSHOT/enr
ollmentEJB-1.0-SNAPSHOT.jar

[WARNING] Unable to get resource from repository central
(file:\\build.corp.upromise.com/maven2)

Downloading:
file:\\build.corp.upromise.com/maven2/lty/partnerEJB/1.0-SNAPSHOT/partne
rEJB-1.0-SNAPSHOT.jar

[WARNING] Unable to get resource from repository central
(file:\\build.corp.upromise.com/maven2)

Downloading:
file:\\build.corp.upromise.com/maven2/lty/groceryEJB/1.0-SNAPSHOT/grocer
yEJB-1.0-SNAPSHOT.jar

[WARNING] Unable to get resource from repository central
(file:\\build.corp.upromise.com/maven2)

Downloading:
file:\\build.corp.upromise.com/maven2/lty/messageEJB/1.0-SNAPSHOT/messag
eEJB-1.0-SNAPSHOT.jar

[WARNING] Unable to get resource from repository central
(file:\\build.corp.upromise.com/maven2)

Downloading:
file:\\build.corp.upromise.com/maven2/lty/memberProfileEJB/1.0-SNAPSHOT/
memberProfileEJB-1.0-SNAPSHOT.jar

[WARNING] Unable to get resource from repository central
(file:\\build.corp.upromise.com/maven2)

Downloading:
file:\\build.corp.upromise.com/maven2/lty/ltyWebApp/1.0-SNAPSHOT/ltyWebA
pp-1.0-SNAPSHOT.war

[WARNING] Unable to get resource from repository central
(file:\\build.corp.upromise.com/maven2)

Downloading:
file:\\build.corp.upromise.com/maven2/lty/withdrawalEJB/1.0-SNAPSHOT/wit
hdrawalEJB-1.0-SNAPSHOT.jar

[WARNING] Unable to get resource from repository central
(file:\\build.corp.upromise.com/maven2)

[INFO]
------------------------------------------------------------------------

[ERROR] BUILD ERROR

[INFO]
------------------------------------------------------------------------

[INFO] Failed to resolve artifact.

 

 

 

 

<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>lty</groupId>

                        <artifactId>ltyApp</artifactId>

                        <version>1.0-SNAPSHOT</version>

            </parent>

            <artifactId>EAR</artifactId>

            <packaging>ear</packaging>

            <name>ltyApp_ear</name>

            <url>http://www.upromise.com</url>

            <version>1.0-SNAPSHOT</version>

            <dependencies>

 

                        <dependency>

                                    <groupId>lty</groupId>

                                    <artifactId>oldSource</artifactId>

                                    <version>1.0-SNAPSHOT</version>

                                    <type>jar</type>

 

                        </dependency>

                        <dependency>

                                    <groupId>lty</groupId>

 
<artifactId>accountGuestEJB</artifactId>

                                    <version>1.0-SNAPSHOT</version>

                                    <type>ejb</type>

                        </dependency>

                        <dependency>

                                    <groupId>lty</groupId>

 
<artifactId>authserverEJB</artifactId>

                                    <version>1.0-SNAPSHOT</version>

                                    <type>ejb</type>

                        </dependency>

                        <dependency>

                                    <groupId>lty</groupId>

 
<artifactId>communityEJB</artifactId>

                                    <version>1.0-SNAPSHOT</version>

                                    <type>ejb</type>

                        </dependency>

                        <dependency>

                                    <groupId>lty</groupId>

                                    <artifactId>CSREJB</artifactId>

                                    <version>1.0-SNAPSHOT</version>

                                    <type>ejb</type>

                        </dependency>

                        <dependency>

                                    <groupId>lty</groupId>

 
<artifactId>enrollmentEJB</artifactId>

                                    <version>1.0-SNAPSHOT</version>

                                    <type>ejb</type>

                        </dependency>

                        <dependency>

                                    <groupId>lty</groupId>

                                    <artifactId>groceryEJB</artifactId>

                                    <version>1.0-SNAPSHOT</version>

                                    <type>ejb</type>

                        </dependency>

                        <dependency>

                                    <groupId>lty</groupId>

 
<artifactId>inboundenrollmentEJB</artifactId>

                                    <version>1.0-SNAPSHOT</version>

                                    <type>ejb</type>

                        </dependency>

                        <dependency>

                                    <groupId>lty</groupId>

 
<artifactId>memberProfileEJB</artifactId>

                                    <version>1.0-SNAPSHOT</version>

                                    <type>ejb</type>

                        </dependency>

                        <dependency>

                                    <groupId>lty</groupId>

                                    <artifactId>messageEJB</artifactId>

                                    <version>1.0-SNAPSHOT</version>

                                    <type>ejb</type>

                        </dependency>

                        <dependency>

                                    <groupId>lty</groupId>

                                    <artifactId>partnerEJB</artifactId>

                                    <version>1.0-SNAPSHOT</version>

                                    <type>ejb</type>

                        </dependency>

                        <dependency>

                                    <groupId>lty</groupId>

 
<artifactId>salesscriptEJB</artifactId>

                                    <version>1.0-SNAPSHOT</version>

                                    <type>ejb</type>

                        </dependency>

                        <dependency>

                                    <groupId>lty</groupId>

                                    <artifactId>testcellEJB</artifactId>

                                    <version>1.0-SNAPSHOT</version>

                                    <type>ejb</type>

                        </dependency>

                        <dependency>

                                    <groupId>lty</groupId>

 
<artifactId>transactionEJB</artifactId>

                                    <version>1.0-SNAPSHOT</version>

                                    <type>ejb</type>

                        </dependency>

                        <dependency>

                                    <groupId>lty</groupId>

                                    <artifactId>transferEJB</artifactId>

                                    <version>1.0-SNAPSHOT</version>

                                    <type>ejb</type>

                        </dependency>

                        <dependency>

                                    <groupId>lty</groupId>

                                    <artifactId>upAdminEJB</artifactId>

                                    <version>1.0-SNAPSHOT</version>

                                    <type>ejb</type>

                        </dependency>

                        <dependency>

                                    <groupId>lty</groupId>

                                    <artifactId>upErrorEJB</artifactId>

                                    <version>1.0-SNAPSHOT</version>

                                    <type>ejb</type>

                        </dependency>

                        <dependency>

                                    <groupId>lty</groupId>

 
<artifactId>withdrawalEJB</artifactId>

                                    <version>1.0-SNAPSHOT</version>

                                    <type>ejb</type>

                        </dependency>

                        <dependency>

                                    <groupId>lty</groupId>

                                    <artifactId>ltyWebApp</artifactId>

                                    <version>1.0-SNAPSHOT</version>

                                    <type>war</type>

                                    <!--scope>system</scope>

                                    <systemPath>

 
${work.dir}/frontoffice/ltyApp/ltyWebApp/target

                                    </systemPath-->

                        </dependency>

            </dependencies>

            <build>

 

                        <finalName>UPIntermediate.ear</finalName>

                        <resources>

                                    <resource>

 
<directory>../ltyWebApp/target/uprweb.war</directory>

                                                <targetPath>

                                                /uprweb.war

                                                </targetPath>

                                    </resource>

                        </resources>

                        <plugins>

 

                                    <plugin>

 

 
<groupId>org.apache.maven.plugins</groupId>

 
<artifactId>maven-ear-plugin</artifactId>

 

                                                <dependencies>

 

                                                            <dependency>

 

 
<groupId>org.apache.maven</groupId>

 
<artifactId>maven-project</artifactId>

 
<version>2.0</version>

 
</dependency>

 
<!--dependency>

 
<groupId>org.apache.maven</groupId>

 
<artifactId>maven-archiver</artifactId>

 
<version>2.2</version>

 
</dependency-->

                                                            <dependency>

 
<groupId>org.apache.maven</groupId>

 
<artifactId>maven-plugin-api</artifactId>

 
<version>2.0</version>

 
</dependency>

                                                            <dependency>

 
<groupId>org.codehaus.plexus</groupId>

 
<artifactId>plexus-utils</artifactId>

 
<version>1.0.4</version>

 
</dependency>

                                                </dependencies>

                                                <configuration>

 
<displayName>ltyApp_UPIntermediate_EAR</displayName>

 
<description>This is Upromsie EAR file</description>

 
<version>1.0-SNAPSHOT</version>

                                                            <modules>

 
<ejbModule>

 
<groupId>lty</groupId>

 
<artifactId>accountGuestEJB</artifactId>

 
</ejbModule>

 
<ejbModule>

 
<groupId>lty</groupId>

 
<artifactId>authserverEJB</artifactId>

 
</ejbModule>

 
<ejbModule>

 
<groupId>lty</groupId>

 
<artifactId>communityEJB</artifactId>

 
</ejbModule>

 
<ejbModule>

 
<groupId>lty</groupId>

 
<artifactId>CSREJB</artifactId>

 
</ejbModule>

 
<ejbModule>

 
<groupId>lty</groupId>

 
<artifactId>enrollmentEJB</artifactId>

 
</ejbModule>

 
<ejbModule>

 
<groupId>lty</groupId>

 
<artifactId>groceryEJB</artifactId>

 
</ejbModule>

 
<ejbModule>

 
<groupId>lty</groupId>

 
<artifactId>

 
inboundenrollmentEJB

 
</artifactId>

 
</ejbModule>

 
<ejbModule>

 
<groupId>lty</groupId>

 
<artifactId>memberProfileEJB</artifactId>

 
</ejbModule>

 
<ejbModule>

 
<groupId>lty</groupId>

 
<artifactId>messageEJB</artifactId>

 
</ejbModule>

 
<ejbModule>

 
<groupId>lty</groupId>

 
<artifactId>partnerEJB</artifactId>

 
</ejbModule>

 
<ejbModule>

 
<groupId>lty</groupId>

 
<artifactId>salesscriptEJB</artifactId>

 
</ejbModule>

 
<ejbModule>

 
<groupId>lty</groupId>

 
<artifactId>testcellEJB</artifactId>

 
</ejbModule>

 
<ejbModule>

 
<groupId>lty</groupId>

 
<artifactId>transactionEJB</artifactId>

 
</ejbModule>

 
<ejbModule>

 
<groupId>lty</groupId>

 
<artifactId>transferEJB</artifactId>

 
</ejbModule>

 
<ejbModule>

 
<groupId>lty</groupId>

 
<artifactId>upAdminEJB</artifactId>

 
</ejbModule>

 
<ejbModule>

 
<groupId>lty</groupId>

 
<artifactId>upErrorEJB</artifactId>

 
</ejbModule>

 
<ejbModule>

 
<groupId>lty</groupId>

 
<artifactId>withdrawalEJB</artifactId>

 
</ejbModule>

 
<!-- javaModule>

 
<groupId>lty</groupId>

 
<artifactId>oldSource</artifactId>

 
<bundleDir>ltyAppClasses</bundleDir>

 
</javaModule-->

 
<webModule>

 
<groupId>lty</groupId>

 
<artifactId>ltyWebApp</artifactId>

 
<contextRoot>/</contextRoot>

 
</webModule>

                                                            </modules>

                                                </configuration>

                                    </plugin>

                                    <plugin>

 
<artifactId>maven-antrun-plugin</artifactId>

                                                <executions>

                                                            <execution>

 
<id>assembler</id>

 
<phase>package</phase>

 
<configuration>

 
<tasks>

 
<ant antfile="build.xml" target="create.application.xml">


 
</ant>

 
</tasks>

 
</configuration>

 
<goals>

 
<goal>run</goal>

 
</goals>

                                                            </execution>

                                                </executions>
                                    </plugin>

                        </plugins>
            </build>
</project>
 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic