Hello,

I'm trying to use modules in my component project to "resolve" the
fact that jaxb can't compile multiple xsd in the same project.

But when I launch mvn eclipse:init in the parent project, here's what I get :
...
Project ID: org.codehaus.plexus:plexus-yahoo-search
POM Location: [...]/plexus-yahoo-search/pom.xml
Validation Messages:

   [0]  Packaging 'jar' is invalid. Aggregator projects require 'pom'
as packaging.


Reason: Failed to validate POM
...

The error disapeared when I remove the <modules> bloc in the parent
pom.xml file (joined).

Any solutions?

Laurent.
<?xml version="1.0" encoding="UTF-8"?>
<project>

  <parent>
    <artifactId>plexus-components</artifactId>
    <groupId>org.codehaus.plexus</groupId>
    <version>1.1.5</version>
  </parent>

  <modelVersion>4.0.0</modelVersion>
  <artifactId>plexus-yahoo-search</artifactId>
  <name>Plexus Yahoo! Search Web Services Client</name>
  <version>1.0-alpha-1-SNAPSHOT</version>
  <description>A Plexus client component for Yahoo! Search Web Services.</description>

  <modules>
    <module>plexus-yahoo-search-image</module>
  </modules>

  <build>
    <plugins>
      <plugin>
        <groupId>org.codehaus.plexus</groupId>
        <artifactId>plexus-maven-plugin</artifactId>
        <version>1.1</version>
        <executions>
          <execution>
            <goals>
              <goal>descriptor</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
      
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-compiler-plugin</artifactId>
        <configuration>
          <source>1.5</source>
          <target>1.5</target>
        </configuration>
      </plugin>
    </plugins>
  </build>

  <dependencies>
    <dependency>
      <groupId>org.codehaus.plexus</groupId>
      <artifactId>plexus-httpclient</artifactId>
  	  <version>1.0-alpha-1-SNAPSHOT</version>
    </dependency>
  </dependencies>
</project>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to