Hi
If I import the following pom:

<?xml version="1.0" encoding="UTF-8"?>
<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>
    <artifactId>my-parent</artifactId>
    <groupId>com.mycompany</groupId>
    <version>1.0.0</version>
  </parent>
  <groupId>com.mycompany</groupId>
  <artifactId>web</artifactId>
  <packaging>war</packaging>
  <version>1.0.0</version>
  <name>MyCompanyWeb</name>
  ...
</project>

I want my eclipse project to use the name "MyCompanyWeb".
Instead I get the folder name "web" for my eclipse project.

The path looks like this:

parent (parent pom.xml)
  |
  |
  \-------web (MyCompanyWeb pom.xml)


In the parent pom.xml I reference to my subpom like this:

  <modules>
    <module>web</module>
  </modules>

Have I misinterpreted the meaning of the <name>-tag?

/Mikael E

Reply via email to