Commit 5d9c07f7 authored by 谢森's avatar 谢森

<dev> 添加 distributionManagement

parent 004f40c3
Pipeline #14398 failed with stages
in 2 minutes and 24 seconds
...@@ -40,18 +40,58 @@ under the License. ...@@ -40,18 +40,58 @@ under the License.
</properties> </properties>
<repositories> <repositories>
<!-- Using Local Nexus Maven Repository -->
<repository> <repository>
<id>apache.snapshots</id> <id>nexus</id>
<name>Apache Development Snapshot Repository</name> <name>Nexus Repository</name>
<url>https://repository.apache.org/content/repositories/snapshots/</url> <url>http://nexus.zorkdata.com/repository/maven-public/</url>
<releases> <releases>
<enabled>false</enabled> <enabled>true</enabled>
</releases> </releases>
<snapshots> <snapshots>
<enabled>true</enabled> <enabled>true</enabled>
</snapshots> </snapshots>
</repository> </repository>
<repository>
<id>oss</id>
<name>oss</name>
<url>https://oss.sonatype.org/content/groups/public</url>
</repository>
<repository>
<id>spring-milestones</id>
<name>Spring Milestones</name>
<url>https://repo.spring.io/libs-milestone</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
</repositories> </repositories>
<pluginRepositories>
<pluginRepository>
<id>nexus</id>
<name>Nexus Repository</name>
<url>http://nexus.zorkdata.com/repository/maven-public/</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</pluginRepository>
</pluginRepositories>
<distributionManagement>
<repository>
<id>releases</id>
<name>Internal Releases</name>
<url>http://nexus.zorkdata.com/repository/releases/</url>
</repository>
<snapshotRepository>
<id>snapshots</id>
<name>Internal Snapshots</name>
<url>http://nexus.zorkdata.com/repository/snapshots/</url>
</snapshotRepository>
</distributionManagement>
<dependencies> <dependencies>
<!-- Apache Flink dependencies --> <!-- Apache Flink dependencies -->
......
  • SonarQube analysis reported 155 issues

    • 🚫 17 critical
    • 90 major
    • 🔽 47 minor
    • 1 info

    Top 30 extra issues

    Note: The following issues were found on lines that were not modified in the commit. Because these issues can't be reported as line comments, they are summarized here:

    1. 🚫 Move constants to a class or enum. 📘
    2. 🚫 Move constants to a class or enum. 📘
    3. 🚫 Add a nested comment explaining why this method is empty, throw an UnsupportedOperationException or complete the implementation. 📘
    4. 🚫 Change this "try" to a try-with-resources. (sonar.java.source not set. Assuming 7 or greater.) 📘
    5. 🚫 Refactor this code to not throw exceptions in finally blocks. 📘
    6. 🚫 Refactor this code to not throw exceptions in finally blocks. 📘
    7. 🚫 Define a constant instead of duplicating this literal "序列化失败" 15 times. 📘
    8. 🚫 Define a constant instead of duplicating this literal " {\n" 7 times. 📘
    9. 🚫 [Define a constant instead of duplicating this literal " "type": \n" 7 times. 📘
    10. 🚫 Define a constant instead of duplicating this literal " "string",\n" 4 times. 📘
    11. 🚫 Define a constant instead of duplicating this literal " "null"\n" 4 times. 📘
    12. 🚫 [Define a constant instead of duplicating this literal " ]\n" 7 times.](https://git.zorkdata.com/xiesen/transactionlogmask/blob/5d9c07f78ad5f88a3aca0ee74739919401cf0043/src/main/java/com/zorkdata/datamask/util/avro/LogAvroMacroDef.java#L20) 📘
    13. 🚫 Define a constant instead of duplicating this literal " },\n" 6 times. 📘
    14. 🚫 Define a constant instead of duplicating this literal " "null",\n" 3 times. 📘
    15. 🚫 Define a constant instead of duplicating this literal " {\n" 3 times. 📘
    16. 🚫 Define a constant instead of duplicating this literal " "type": "map",\n" 3 times. 📘
    17. 🚫 Define a constant instead of duplicating this literal " }\n" 3 times. 📘
    18. Define and throw a dedicated exception instead of using a generic one. 📘
    19. Remove this unused "source" private field. 📘
    20. Remove this unused "hdfsSrc" private field. 📘
    21. Remove this unused "hdfsDest" private field. 📘
    22. Remove this unused "core" private field. 📘
    23. Remove this unused "date" private field. 📘
    24. Remove this unused "startTime" private field. 📘
    25. Remove this unused "endTime" private field. 📘
    26. Remove this unused "servers" private field. 📘
    27. Remove this unused "zookeeper" private field. 📘
    28. Remove this unused "topic" private field. 📘
    29. Remove this unused "hdfsDest" private field. 📘
    30. Remove this unused "core" private field. 📘
    • ... 125 more
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment