Skip to content

Commit

Permalink
Generate dummy jars for bypassing the staging rules. see #61
Browse files Browse the repository at this point in the history
  • Loading branch information
hapsunday committed Jun 2, 2020
1 parent b247bac commit f2e1cf9
Show file tree
Hide file tree
Showing 4 changed files with 66 additions and 1 deletion.
59 changes: 59 additions & 0 deletions shaded_libraries/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
<version>0.1-SNAPSHOT</version>

<name>alink-shaded</name>
<description>Alink is the Machine Learning algorithm platform based on Flink, developed by the PAI team of Alibaba computing platform.</description>
<url>/~https://github.com/alibaba/Alink</url>

<licenses>
Expand Down Expand Up @@ -175,6 +176,64 @@
</plugins>
</build>
</profile>

<profile>
<id>generate-sources-jar</id>
<activation>
<file><exists>empty_sources</exists></file>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.1.0</version>
<executions>
<execution>
<id>sources-jar</id>
<phase>package</phase>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<classifier>sources</classifier>
<classesDirectory>${project.basedir}/empty_sources</classesDirectory>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>

<profile>
<id>generate-javadoc-jar</id>
<activation>
<file><exists>empty_javadoc</exists></file>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.1.0</version>
<executions>
<execution>
<id>javadoc-jar</id>
<phase>package</phase>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<classifier>javadoc</classifier>
<classesDirectory>${project.basedir}/dummy_javadoc</classesDirectory>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>

</project>
Empty file.
Empty file.
8 changes: 7 additions & 1 deletion shaded_libraries/shaded_protobuf_java/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@
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>

<parent>
<groupId>com.alibaba.alink</groupId>
<artifactId>alink_shaded</artifactId>
<version>0.1-SNAPSHOT</version>
</parent>

<properties>
<protobuf.java.version>3.6.1</protobuf.java.version>
</properties>
Expand Down Expand Up @@ -68,4 +74,4 @@
</plugin>
</plugins>
</build>
</project>
</project>

0 comments on commit f2e1cf9

Please sign in to comment.