Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

After deploy in Nexus, the variables in POM.xml are not resolved?

I use Maven Multi-Modul, Jenkins builds and then deploy in Nexus...

I'm using in my Pom files many variables that I have defined in parent-pom part propertis

I would have after the build/deploy resolved the variables in Pom-Nexus.

I know that this is feasible, because I made a few years ago....

like image 618
Fawi Avatar asked Sep 11 '25 22:09

Fawi


1 Answers

I think, i found it

  <build>
    <plugins>
      <plugin>
        <groupId>com.sap.prd.mobile.ios.maven.plugins</groupId>
        <artifactId>resolve-pom-maven-plugin</artifactId>
        <version>1.0</version>
        <executions>
          <execution>
            <id>resolve-pom-props</id>
            <goals>
              <goal>resolve-pom-props</goal>
            </goals>              
          </execution>
        </executions>
      </plugin>
    </plugins>
  </build>
like image 88
Fawi Avatar answered Sep 14 '25 14:09

Fawi