You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@amoro.apache.org by "klion26 (via GitHub)" <gi...@apache.org> on 2024/04/09 11:40:54 UTC

[PR] Add shaded project [incubator-amoro-shade]

klion26 opened a new pull request, #1:
URL: https://github.com/apache/incubator-amoro-shade/pull/1

   Add shade project(jackson, guava) for Apache Amoro (incubating)


-- 
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.

To unsubscribe, e-mail: dev-unsubscribe@amoro.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Add shaded project [amoro-shade]

Posted by "zhoujinsong (via GitHub)" <gi...@apache.org>.
zhoujinsong commented on code in PR #1:
URL: https://github.com/apache/amoro-shade/pull/1#discussion_r1575563995


##########
pom.xml:
##########
@@ -0,0 +1,283 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+  http://www.apache.org/licenses/LICENSE-2.0
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+<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/maven-v4_0_0.xsd">
+
+    <modelVersion>4.0.0</modelVersion>
+
+    <parent>
+        <groupId>org.apache</groupId>
+        <artifactId>apache</artifactId>
+        <version>23</version>
+    </parent>
+
+    <artifactId>amoro-shade</artifactId>
+    <modules>
+        <module>amoro-shade-guava-32</module>
+        <module>amoro-shade-jackson-parent</module>
+    </modules>
+    <groupId>org.apache.amoro</groupId>
+    <name>amoro-shade</name>
+    <version>1.0-SNAPSHOT</version>

Review Comment:
   I think we may need to keep the same version with the Amoro repo just like Flink and Paimon do.



-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@amoro.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Add shaded project [amoro-shade]

Posted by "klion26 (via GitHub)" <gi...@apache.org>.
klion26 commented on code in PR #1:
URL: https://github.com/apache/amoro-shade/pull/1#discussion_r1577371836


##########
pom.xml:
##########
@@ -0,0 +1,283 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+  http://www.apache.org/licenses/LICENSE-2.0
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+<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/maven-v4_0_0.xsd">
+
+    <modelVersion>4.0.0</modelVersion>
+
+    <parent>
+        <groupId>org.apache</groupId>
+        <artifactId>apache</artifactId>
+        <version>23</version>
+    </parent>
+
+    <artifactId>amoro-shade</artifactId>
+    <modules>
+        <module>amoro-shade-guava-32</module>
+        <module>amoro-shade-jackson-parent</module>
+    </modules>
+    <groupId>org.apache.amoro</groupId>
+    <name>amoro-shade</name>
+    <version>0.7-SNAPSHOT</version>

Review Comment:
   Yes, the version of paimom-shade does not respect the main repo for now. 
   For `paimon aligns this version with the main repo` I mean that when paimon-shade bumps its version, it will repesct the *current* version of paimon.



-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@amoro.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Add shaded project [amoro-shade]

Posted by "klion26 (via GitHub)" <gi...@apache.org>.
klion26 commented on code in PR #1:
URL: https://github.com/apache/amoro-shade/pull/1#discussion_r1577310688


##########
pom.xml:
##########
@@ -0,0 +1,283 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+  http://www.apache.org/licenses/LICENSE-2.0
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+<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/maven-v4_0_0.xsd">
+
+    <modelVersion>4.0.0</modelVersion>
+
+    <parent>
+        <groupId>org.apache</groupId>
+        <artifactId>apache</artifactId>
+        <version>23</version>
+    </parent>
+
+    <artifactId>amoro-shade</artifactId>
+    <modules>
+        <module>amoro-shade-guava-32</module>
+        <module>amoro-shade-jackson-parent</module>
+    </modules>
+    <groupId>org.apache.amoro</groupId>
+    <name>amoro-shade</name>
+    <version>0.7-SNAPSHOT</version>

Review Comment:
   IMHO the version in the shaded project doesn't need to respect the version of the main repo, because their update frequency is completely different. But I'm fine with the either way.
   Seems flink-shade doesn't align the version with the main repo, paimon aligns this version with the main repo. 
   
   



-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@amoro.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Add shaded project [amoro-shade]

Posted by "zhoujinsong (via GitHub)" <gi...@apache.org>.
zhoujinsong commented on PR #1:
URL: https://github.com/apache/amoro-shade/pull/1#issuecomment-2068412253

   Sorry for the late reply, I will review it today.


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@amoro.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Add shaded project [amoro-shade]

Posted by "klion26 (via GitHub)" <gi...@apache.org>.
klion26 commented on PR #1:
URL: https://github.com/apache/amoro-shade/pull/1#issuecomment-2068403929

   kindly ping @zhoujinsong 


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@amoro.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Add shaded project [incubator-amoro-shade]

Posted by "klion26 (via GitHub)" <gi...@apache.org>.
klion26 commented on code in PR #1:
URL: https://github.com/apache/incubator-amoro-shade/pull/1#discussion_r1557507693


##########
pom.xml:
##########
@@ -0,0 +1,283 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+  http://www.apache.org/licenses/LICENSE-2.0
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+<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/maven-v4_0_0.xsd">
+
+    <modelVersion>4.0.0</modelVersion>
+
+    <parent>
+        <groupId>org.apache</groupId>
+        <artifactId>apache</artifactId>
+        <version>23</version>
+    </parent>
+
+    <artifactId>amoro-shade</artifactId>
+    <modules>
+        <module>amoro-shade-guava-32</module>
+        <module>amoro-shade-jackson-parent</module>
+    </modules>
+    <groupId>org.apache.amoro</groupId>
+    <name>amoro-shade</name>
+    <version>1.0-SNAPSHOT</version>

Review Comment:
   not sure should this respect the version of amoro or not



-- 
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.

To unsubscribe, e-mail: dev-unsubscribe@amoro.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Add shaded project [amoro-shade]

Posted by "zhongqishang (via GitHub)" <gi...@apache.org>.
zhongqishang commented on code in PR #1:
URL: https://github.com/apache/amoro-shade/pull/1#discussion_r1577211968


##########
pom.xml:
##########
@@ -0,0 +1,283 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+  http://www.apache.org/licenses/LICENSE-2.0
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+<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/maven-v4_0_0.xsd">
+
+    <modelVersion>4.0.0</modelVersion>
+
+    <parent>
+        <groupId>org.apache</groupId>
+        <artifactId>apache</artifactId>
+        <version>23</version>
+    </parent>
+
+    <artifactId>amoro-shade</artifactId>
+    <modules>
+        <module>amoro-shade-guava-32</module>
+        <module>amoro-shade-jackson-parent</module>
+    </modules>
+    <groupId>org.apache.amoro</groupId>
+    <name>amoro-shade</name>
+    <version>0.7-SNAPSHOT</version>

Review Comment:
   @zhoujinsong @klion26 



-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@amoro.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Add shaded project [amoro-shade]

Posted by "zhongqishang (via GitHub)" <gi...@apache.org>.
zhongqishang commented on code in PR #1:
URL: https://github.com/apache/amoro-shade/pull/1#discussion_r1577346217


##########
pom.xml:
##########
@@ -0,0 +1,283 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+  http://www.apache.org/licenses/LICENSE-2.0
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+<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/maven-v4_0_0.xsd">
+
+    <modelVersion>4.0.0</modelVersion>
+
+    <parent>
+        <groupId>org.apache</groupId>
+        <artifactId>apache</artifactId>
+        <version>23</version>
+    </parent>
+
+    <artifactId>amoro-shade</artifactId>
+    <modules>
+        <module>amoro-shade-guava-32</module>
+        <module>amoro-shade-jackson-parent</module>
+    </modules>
+    <groupId>org.apache.amoro</groupId>
+    <name>amoro-shade</name>
+    <version>0.7-SNAPSHOT</version>

Review Comment:
   I saw that the latest version paimon is also unaligned, so aligned version is meaningless. 
   And keep its self release version will be fine.  
   WDYT? @zhoujinsong 



-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@amoro.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Add shaded project [amoro-shade]

Posted by "zhoujinsong (via GitHub)" <gi...@apache.org>.
zhoujinsong merged PR #1:
URL: https://github.com/apache/amoro-shade/pull/1


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@amoro.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Add shaded project [incubator-amoro-shade]

Posted by "klion26 (via GitHub)" <gi...@apache.org>.
klion26 commented on PR #1:
URL: https://github.com/apache/incubator-amoro-shade/pull/1#issuecomment-2044968937

   cc @zhoujinsong @zhongqishang 


-- 
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.

To unsubscribe, e-mail: dev-unsubscribe@amoro.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Add shaded project [amoro-shade]

Posted by "zhongqishang (via GitHub)" <gi...@apache.org>.
zhongqishang commented on code in PR #1:
URL: https://github.com/apache/amoro-shade/pull/1#discussion_r1577153962


##########
amoro-shade-guava-32/src/main/resources/META-INF/NOTICE:
##########
@@ -0,0 +1,10 @@
+amoro-shade-guava-32
+Copyright 2024-2024 The Apache Software Foundation

Review Comment:
   ```suggestion
   Copyright 2024 The Apache Software Foundation
   ```



##########
amoro-shade-jackson-parent/amoro-shade-jackson-2/src/main/resources/META-INF/NOTICE:
##########
@@ -0,0 +1,16 @@
+amoro-shade-jackson-2
+Copyright 2024-2024 The Apache Software Foundation

Review Comment:
   ```suggestion
   Copyright 2024 The Apache Software Foundation
   ```



##########
amoro-shade-jackson-parent/amoro-shade-jackson-module-jsonSchema-2/src/main/resources/META-INF/NOTICE:
##########
@@ -0,0 +1,13 @@
+amoro-shade-jackson-module-jsonSchema-2
+Copyright 2024-2024 The Apache Software Foundation

Review Comment:
   ```suggestion
   Copyright 2024 The Apache Software Foundation
   ```



##########
NOTICE:
##########
@@ -0,0 +1,5 @@
+Apache Amoro (incubating)
+Copyright 2014-2022 The Apache Software Foundation

Review Comment:
   ```suggestion
   Copyright 2024 The Apache Software Foundation.
   ```



##########
pom.xml:
##########
@@ -0,0 +1,283 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+  http://www.apache.org/licenses/LICENSE-2.0
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+<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/maven-v4_0_0.xsd">
+
+    <modelVersion>4.0.0</modelVersion>
+
+    <parent>
+        <groupId>org.apache</groupId>
+        <artifactId>apache</artifactId>
+        <version>23</version>
+    </parent>
+
+    <artifactId>amoro-shade</artifactId>
+    <modules>
+        <module>amoro-shade-guava-32</module>
+        <module>amoro-shade-jackson-parent</module>
+    </modules>
+    <groupId>org.apache.amoro</groupId>
+    <name>amoro-shade</name>
+    <version>0.7-SNAPSHOT</version>

Review Comment:
   I checked the flink and paimon projects, and the shade project has a separate version. Defined as `paimon.shade.version` and `flink.shaded.version` in the project respectively. So I don’t think it needs to be consistent with the amoro project.



-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@amoro.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Add shaded project [amoro-shade]

Posted by "zhongqishang (via GitHub)" <gi...@apache.org>.
zhongqishang commented on code in PR #1:
URL: https://github.com/apache/amoro-shade/pull/1#discussion_r1577346217


##########
pom.xml:
##########
@@ -0,0 +1,283 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+  http://www.apache.org/licenses/LICENSE-2.0
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+<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/maven-v4_0_0.xsd">
+
+    <modelVersion>4.0.0</modelVersion>
+
+    <parent>
+        <groupId>org.apache</groupId>
+        <artifactId>apache</artifactId>
+        <version>23</version>
+    </parent>
+
+    <artifactId>amoro-shade</artifactId>
+    <modules>
+        <module>amoro-shade-guava-32</module>
+        <module>amoro-shade-jackson-parent</module>
+    </modules>
+    <groupId>org.apache.amoro</groupId>
+    <name>amoro-shade</name>
+    <version>0.7-SNAPSHOT</version>

Review Comment:
   I saw that the latest version paimon is also unaligned, so aligned version is meaningless. 
   And keep its self release version will be fine. 



-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@amoro.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org