Skip to content

Conversation

@labkey-susanh
Copy link

Rationale

It is generally best practice to explicitly declare dependencies that are used in your code rather than relying on them to come through transitively. Though in reality the risk of these transitive dependencies disappearing is low and would be easily noticed, the declaration of proper dependencies will assure that our published pom files are accurate and others will not have to separately declare some dependencies that we rely on when using our jar files.

Related Pull Requests

Changes

  • Update dependencies and jars.txt

Copy link
Member

@labkey-tchad labkey-tchad left a comment

Choose a reason for hiding this comment

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

FastqcRunner can't find the commons-math3 jar.

java.lang.RuntimeException: Not found: /mnt/teamcity/agent/work/7ab98a03a8eb2a15/build/deploy/modules/sequenceanalysis/lib/commons-math3-3.6.1.jar
       at org.labkey.sequenceanalysis.run.util.FastqcRunner.getBaseParams(FastqcRunner.java:365)
       at org.labkey.sequenceanalysis.run.util.FastqcRunner.getParams(FastqcRunner.java:395)
       at org.labkey.sequenceanalysis.run.util.FastqcRunner.runForFile(FastqcRunner.java:130)
       at org.labkey.sequenceanalysis.run.util.FastqcRunner.execute(FastqcRunner.java:104)
       at org.labkey.sequenceanalysis.SequenceAnalysisController$FastqcReportAction.getView(SequenceAnalysisController.java:315)
       at org.labkey.sequenceanalysis.SequenceAnalysisController$FastqcReportAction.getView(SequenceAnalysisController.java:218)

TeamCity

@labkey-susanh
Copy link
Author

FastqcRunner can't find the commons-math3 jar.

java.lang.RuntimeException: Not found: /mnt/teamcity/agent/work/7ab98a03a8eb2a15/build/deploy/modules/sequenceanalysis/lib/commons-math3-3.6.1.jar
       at org.labkey.sequenceanalysis.run.util.FastqcRunner.getBaseParams(FastqcRunner.java:365)
       at org.labkey.sequenceanalysis.run.util.FastqcRunner.getParams(FastqcRunner.java:395)
       at org.labkey.sequenceanalysis.run.util.FastqcRunner.runForFile(FastqcRunner.java:130)
       at org.labkey.sequenceanalysis.run.util.FastqcRunner.execute(FastqcRunner.java:104)
       at org.labkey.sequenceanalysis.SequenceAnalysisController$FastqcReportAction.getView(SequenceAnalysisController.java:315)
       at org.labkey.sequenceanalysis.SequenceAnalysisController$FastqcReportAction.getView(SequenceAnalysisController.java:218)

TeamCity

Updated to get at that jar from the core module (ugh).

@labkey-susanh labkey-susanh merged commit 8d92c5f into develop Sep 22, 2020
@labkey-susanh labkey-susanh deleted the fb_dependencyHealth branch September 22, 2020 14:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants