hit-lacus commented on a change in pull request #1278:
URL: https://github.com/apache/kylin/pull/1278#discussion_r443201784



##########
File path: external/pom.xml
##########
@@ -20,17 +20,13 @@
          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd";>
     <modelVersion>4.0.0</modelVersion>
 
+    <groupId>org.apache.kylin</groupId>
+    <version>3.1.0</version>

Review comment:
       Oh, I am sorry, let me try to explain the problem I faced:
   
   As I am the release manager of kylin 3.1.0, I am trying to use following 
command to do the release.
   ```sh
   mvn release:prepare
   ```
   
   And this plugin will check a lot of pre-requirements, at the end, it will 
throw an exception:
   ```
   [ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-release-plugin:2.5.3:prepare (default-cli) on 
project kylin: Can't release project due to non released dependencies :
   [ERROR]     org.apache.kylin:kylin-shaded-guava:jar:3.1.0-SNAPSHOT:compile
   [ERROR] in project 'Apache Kylin - Core Common' 
(org.apache.kylin:kylin-core-common:jar:3.1.0-SNAPSHOT)
   [ERROR] -> [Help 1]
   ```
   
   It means that a dependency which has a "SNAPSHOT" version and source code is 
provided is not forbidden.
   Unluckily, the "shaded-guava" is a "SNAPSHOT" dependency, and it source code 
is not provided.
   
   As a workaround, I remove the "SNAPSHOT" and install "shaded-guava" locally. 
Finally I execute `mvn release:prepare` command and everything look fine in my 
machine.
   




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to