ascrutae commented on a change in pull request #737: Remove OJDBC and resin 
artifacts from ci-dependencies driectory as they as not Apache license 
compatible
URL: 
https://github.com/apache/incubator-skywalking/pull/737#discussion_r160851405
 
 

 ##########
 File path: pom.xml
 ##########
 @@ -318,4 +278,89 @@
             </plugin>
         </plugins>
     </build>
+
+
+    <profiles>
+        <profile>
+            <!-- ojdbc is not Apache license compatible, so it must be 
manually downloaded first -->
+            <id>install-ojdbc</id>
+            <activation>
+                <file>
+                    
<exists>${basedir}/ci-dependencies/ojdbc14-10.2.0.4.0.jar</exists>
+                </file>
+            </activation>
+            <build>
+                <plugins>
+                    <plugin>
+                        <groupId>org.codehaus.mojo</groupId>
+                        <artifactId>exec-maven-plugin</artifactId>
+                        <version>1.6.0</version>
+                        <executions>
+                            <execution>
+                                <id>install-ojdbc</id>
+                                <inherited>false</inherited>
+                                <phase>process-resources</phase>
+                                <goals>
+                                    <goal>exec</goal>
+                                </goals>
+                                <configuration>
+                                    <executable>mvn</executable>
+                                    <arguments>
+                                        
<argument>install:install-file</argument>
+                                        
<argument>-Dfile=ojdbc14-10.2.0.4.0.jar</argument>
+                                        
<argument>-DgroupId=com.oracle</argument>
+                                        
<argument>-DartifactId=ojdbc14</argument>
+                                        
<argument>-Dversion=10.2.0.4.0</argument>
+                                        <argument>-Dpackaging=jar</argument>
+                                    </arguments>
+                                    
<workingDirectory>${project.basedir}/ci-dependencies</workingDirectory>
+                                </configuration>
+                            </execution>
+                        </executions>
+                    </plugin>
+                </plugins>
+            </build>
+        </profile>
+        <profile>
+            <!-- resin is not Apache license compatible, so it must be 
manually downloaded first -->
+            <id>install-resin</id>
 
 Review comment:
   I think the `resin-3` plugin should be removed too. 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to