2 years ago

#64368

test-img

Michal Hodul

Parent in maven is rewrited

Hellou, i create classic pom in Java like New project-maven

<groupId>learn.maven</groupId>
    <artifactId>multimodul</artifactId>
    <version>1.0-SNAPSHOT</version>

After i want create his parent POM, i choice achretype-webapp and build it, after i create it, my code is good

<parent>
        <artifactId>multimodul</artifactId>
        <groupId>learn.maven</groupId>
        <version>1.0-SNAPSHOT</version>
    </parent>

but for 10seconds after building command my parent lookslike

<groupId>learn.maven</groupId>
  <artifactId>web</artifactId>
  <version>1.0-SNAPSHOT</version>
  <packaging>war</packaging>

and my parent was rewrited via Java idea Its this automaticli rewrite ok? cause i lost my parent after

java

maven

tomcat

url-rewriting

parent

0 Answers

Your Answer

Accepted video resources