简体   繁体   中英

Renaming module in maven project?

I have below multi module maven project.

Parent
      pom.xml
      artifactId1
            pom.xml
      artifactId2
            pom.xml

now i want to rename artifactId2 . how can i do this?

Thanks!

It's a two step procedure:

1) Rename the project in Eclipse (F2 or Refactor -> Rename)
2) Update the artifactId in the parent pom.xml and in the artifactId2 pom.xml

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM