Skip to content
Closed
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions modules/opencensus/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -116,4 +116,27 @@
<scope>test</scope>
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<id>copy-libs</id>
<phase>test-compile</phase>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you clarify the following questions, please:

  • why phase test-compile instead of package?
  • all the opencensus libs will be available at libs directory by default, right? should we copy them from e.g. libs/opencensus directory only when this integration is used?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello @Mmuzaf ,

why phase test-compile instead of package?

Changed to package. Thank you!

all the opencensus libs will be available at libs directory by default, right?

All libs will be placed at libs/optional/ignite-opencensus in the release build.

<goals>
<goal>copy-dependencies</goal>
</goals>
<configuration>
<excludeGroupIds>org.gridgain</excludeGroupIds>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we really need this? It seems all vendor-specific things must be excluded from the pom.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My fault. Fixed. <excludeGroupIds>org.gridgain</excludeGroupIds> -> <excludeGroupIds>org.apache.ignite</excludeGroupIds>

<outputDirectory>target/libs</outputDirectory>
<includeScope>runtime</includeScope>
<excludeTransitive>false</excludeTransitive>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>