Skip to content

Commit

Permalink
AMBARI-25920: Fix ambari server build failed due to ambari-serviceadv…
Browse files Browse the repository at this point in the history
…isor version (apache#3679)
  • Loading branch information
JiaLiangC authored and kevinw66 committed Apr 7, 2023
1 parent 37cbfd1 commit 2f44170
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ambari-server/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1790,7 +1790,7 @@
<dependency>
<groupId>org.apache.ambari</groupId>
<artifactId>ambari-serviceadvisor</artifactId>
<version>1.0.0.0-SNAPSHOT</version>
<version>${revision}</version>
<exclusions>
<exclusion>
<groupId>commons-httpclient</groupId>
Expand Down
16 changes: 15 additions & 1 deletion ambari-serviceadvisor/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,16 @@
To test independently without needing the rest of Ambari, simply compile and run as,
java -jar ambari-serviceadvisor-$VERSION.jar [ACTION] [HOSTS_FILE.json] [SERVICES_FILE.json]
-->
<parent>
<groupId>org.apache.ambari</groupId>
<artifactId>ambari-project</artifactId>
<version>${revision}</version>
<relativePath>../ambari-project</relativePath>
</parent>

<groupId>org.apache.ambari</groupId>
<artifactId>ambari-serviceadvisor</artifactId>
<name>Ambari Service Advisor</name>
<version>2.8.0.0.0</version>
<description>Service Advisor</description>
<properties>
<jdk.version>1.8</jdk.version>
Expand Down Expand Up @@ -111,6 +117,14 @@
<target>${jdk.version}</target>
</configuration>
</plugin>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<configuration>
<descriptors>
<descriptor>${project.parent.basedir}/src/main/assemblies/empty.xml</descriptor>
</descriptors>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>rpm-maven-plugin</artifactId>
Expand Down

0 comments on commit 2f44170

Please sign in to comment.