Hello Kenney,
thanx for suggestion,but still getting

[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] One or more required plugin parameters are invalid/missing for
'ear:ear'

[0] inside the definition for plugin: 'maven-ear-plugin'specify the
following:

<configuration>
 ...
 <outputDirectory>VALUE</outputDirectory>
</configuration>

-OR-

on the command line, specify: '-Ddeploy.directory=VALUE'


my settings.xml is in ..\.m2\ directory, now it has this content

<settings>
 <profiles>
   <profile>
     <activation>
       <activeByDefault/>
     </activation>
     <properties>
        <deploy.directory>C:\Sw\jboss-4.0.4RC1\server\default\deploy
</deploy.directory>
      </properties>
   </profile>
 </profiles>
</settings>

and, again, here' smy pom.xml

<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>ExpenseControl</groupId>
       <artifactId>project</artifactId>
       <version>1.0</version>
   </parent>
   <modelVersion>4.0.0</modelVersion>
   <artifactId>jboss-seam-test</artifactId>
       <name>EAR project</name>
   <packaging>ear</packaging>
       <build>
       <plugins>
           <plugin>
               <groupId>org.apache.maven.plugins</groupId>
               <artifactId>maven-ear-plugin</artifactId>
               <configuration>
                   <modules>
                       <ejbModule>
                           <groupId>ExpenseControl</groupId>
                           <artifactId>ejbs</artifactId>
                           <bundleFileName>
                               ejb3-app-1.0-SNAPSHOT.jar
                           </bundleFileName>
                       </ejbModule>
                       <webModule>
                           <groupId>ExpenseControl</groupId>
                           <artifactId>web</artifactId>
                           <bundleFileName>
                               ejb3-web.war
                           </bundleFileName>
                       </webModule>
                     </modules>
                                       <outputDirectory>${deploy.directory
}</outputDirectory>*
                    </configuration>
           </plugin>
       </plugins>
   </build>

   <dependencies>
        <dependency>
           <groupId>ExpenseControl</groupId>
       <artifactId>ejbs</artifactId>
       <version>1.0</version>
       <type>ejb</type>
      </dependency>
           <dependency>
           <groupId>ExpenseControl</groupId>
       <artifactId>web</artifactId>
       <version>1.0</version>
       <type>war</type>
      </dependency>
    </dependencies>
</project>



and i m simplying typing

mvn clean install

withouth specifying any  profiles...

what am i still missing?

thanks and regards
marco

Reply via email to