[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [m2e-users] Performance problems

I am able to reproduce the problem both using current m2e and maven
3.0.3 on command line, which I believe confirms the problem is in Maven
(more specifically, in Aether 1.11 used both in m2e and Maven 3.0.3).

I believe the problem is already fixed in Aether 1.12, but I opened
AETHER-122 [1] just in case.

Unfortunately it will take some time before the new version becomes
available in Maven and m2e as both projects wait for Aether to become
Eclipse.org project and produce first official release, likely using a
new namespace.

In the mean time, your only option is to produce custom m2e (and I guess
Maven) with Aether 1.12.


[1] https://issues.sonatype.org/browse/AETHER-122

--
Regards,
Igor

On 11-08-25 3:35 PM, Jay Perkins wrote:
<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/xsd/maven-4.0.0.xsd";>
   <modelVersion>4.0.0</modelVersion>
   <groupId>Three</groupId>
   <artifactId>Three</artifactId>
   <version>0.0.1-SNAPSHOT</version>
   <packaging>war</packaging>
   <name/>
   <description/>
   <dependencies>
     <dependency>
       <groupId>org.apache.openejb</groupId>
       <artifactId>javaee-api</artifactId>
       <version>5.0-1</version>
       <scope>provided</scope>
     </dependency>
     <dependency>
       <groupId>javax.faces</groupId>
       <artifactId>jsf-api</artifactId>
       <version>1.2_04</version>
       <scope>provided</scope>
     </dependency>
     <dependency>
       <groupId>javax.servlet</groupId>
       <artifactId>jstl</artifactId>
       <version>1.2</version>
       <scope>provided</scope>
     </dependency>
     <dependency>
       <groupId>javax.servlet.jsp</groupId>
       <artifactId>jsp-api</artifactId>
       <version>2.1</version>
       <scope>provided</scope>
     </dependency>
     <dependency>
       <groupId>javax.faces</groupId>
       <artifactId>jsf-impl</artifactId>
       <version>1.2_04</version>
       <scope>provided</scope>
     </dependency>
   </dependencies>
   <build>
     <sourceDirectory>${basedir}/src</sourceDirectory>
     <outputDirectory>${basedir}/WebRoot/WEB-INF/classes</outputDirectory>
     <resources>
       <resource>
         <directory>${basedir}/src</directory>
         <excludes>
           <exclude>**/*.java</exclude>
         </excludes>
       </resource>
     </resources>
     <plugins>
       <plugin>
         <artifactId>maven-war-plugin</artifactId>
         <configuration>
           <webappDirectory>${basedir}/WebRoot</webappDirectory>
           <warSourceDirectory>${basedir}/WebRoot</warSourceDirectory>
         </configuration>
       </plugin>
       <plugin>
         <artifactId>maven-compiler-plugin</artifactId>
         <configuration>
           <source>1.5</source>
           <target>1.5</target>
         </configuration>
       </plugin>
     </plugins>
   </build>
</project>