2007/11/16, Wayne Fay <[EMAIL PROTECTED]>:
> Show us the full mvn install line that you executed.
>
> I think you simply are getting the groupId, artifactId, and version
> messed up somewhere.
>
> Wayne


Hi,
I attach the pom.xml:

<?xml version="1.0" encoding="UTF-8"?><project>
  <modelVersion>4.0.0</modelVersion>
  <groupId>com.myGroupId</groupId>
  <artifactId>pers</artifactId>
  <name>pers</name>
  <version>0.1-SNAPSHOT</version>
  <url>http://maven.apache.org</url>
  <build>
    <plugins>
      <plugin>
        <artifactId>maven-compiler-plugin</artifactId>
        <configuration>
          <source>1.5</source>
          <target>1.5</target>
        </configuration>
      </plugin>
    </plugins>
  </build>
  <dependencies>
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <version>3.8.1</version>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.hibernate</groupId>
      <artifactId>hibernate</artifactId>
      <version>3.2.4.sp1</version>
      <exclusions>
        <exclusion>
          <artifactId>jta</artifactId>
          <groupId>javax.transaction</groupId>
        </exclusion>
      </exclusions>
    </dependency>
    <dependency>
      <groupId>postgresql</groupId>
      <artifactId>postgresql</artifactId>
      <version>8.1-408.jdbc3</version>
    </dependency>
    <dependency>
      <groupId>javax.persistence</groupId>
      <artifactId>persistence-api</artifactId>
      <version>1.0</version>
    </dependency>
    <dependency>
      <groupId>hibernate</groupId>
      <artifactId>hibernate-annotations</artifactId>
      <version>3.1beta4</version>
    </dependency>
    <dependency>
      <groupId>javax.persistence</groupId>
      <artifactId>ejb-3.0-public-draft</artifactId>
      <version>20050623</version>
    </dependency>
  </dependencies>
</project>

I execute commands by m2 plugin for eclipse.
The pom was completed using "Add Dependency" from m2.

Thank
Nic

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to