Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <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/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <groupId>com.javatpoint.application1</groupId>
- <artifactId>my-app</artifactId>
- <version>1</version>
- <!--<dependencies>
- <dependency>
- <groupId>org.jfrog.buildinfo</groupId>
- <artifactId>artifactory-maven-plugin</artifactId>
- <version>2.2.1</version>
- <type>pom</type>
- </dependency>
- </dependencies> -->
- <build>
- <plugins>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>exec-maven-plugin</artifactId>
- <version>1.1.1</version>
- <executions>
- <execution>
- <id>some-execution</id>
- <phase>compile</phase>
- <goals>
- <goal>exec</goal>
- </goals>
- </execution>
- </executions>
- <configuration>
- <executable>hostname</executable>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.jfrog.buildinfo</groupId>
- <artifactId>artifactory-maven-plugin</artifactId>
- <version>2.2.1</version>
- <inherited>false</inherited>
- <executions>
- <execution>
- <id>build-info</id>
- <goals>
- <goal>publish</goal>
- </goals>
- <configuration>
- <deployProperties>
- <gradle>awesome</gradle>
- <review.team>qa</review.team>
- </deployProperties>
- <publisher>
- <contextUrl>https://jfrog-repo.url/artifactory/REPO_NAME</contextUrl>
- <username>user-id</username>
- <password>user-password</password>
- </publisher>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- </project>
Add Comment
Please, Sign In to add comment