[ 
https://issues.apache.org/jira/browse/DAFFODIL-2945?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dave Thompson closed DAFFODIL-2945.
-----------------------------------

Closing as Not a bug per ticket creator.

> Issues using 3.9.0 as a dependency in schema projects
> -----------------------------------------------------
>
>                 Key: DAFFODIL-2945
>                 URL: https://issues.apache.org/jira/browse/DAFFODIL-2945
>             Project: Daffodil
>          Issue Type: Bug
>          Components: Back End
>    Affects Versions: 3.9.0
>            Reporter: Olabusayo Kilo
>            Priority: Major
>
> When I try to set the daffodilVersion to 3.9.0, the build fails with the 
> following error. The workaround is to add in the daffodil-runTime1-layers 
> dependency using the compile configuration specifically.
> build.sbt excerpt
> {code}
> libraryDependencies ++= Seq(
>   "com.owlcyberdefense" %% "extendedcharsets" % "1.1.0",
>   "org.apache.daffodil" %% "daffodil-sapi" % daffodilVersion.value % "test",
> )
> enablePlugins(DaffodilPlugin)
> {code}
> Error:
> {noformat}
> [warn]        ::::::::::::::::::::::::::::::::::::::::::::::
> [warn]        ::          UNRESOLVED DEPENDENCIES         ::
> [warn]        ::::::::::::::::::::::::::::::::::::::::::::::
> [warn]        :: org.apache.daffodil#daffodil-runtime1-layers_2.12;3.9.0: 
> configuration not found in 
> org.apache.daffodil#daffodil-runtime1-layers_2.12;3.9.0: 'master'. It was 
> required from org.apache.daffodil#daffodil-runtime1-unparser_2.12;3.9.0 
> compile
> [warn]        ::::::::::::::::::::::::::::::::::::::::::::::
> [warn]
> [warn]        Note: Unresolved dependencies path:
> [warn]                org.apache.daffodil:daffodil-runtime1-layers_2.12:3.9.0 
> ()
> [warn]                  +- 
> org.apache.daffodil:daffodil-runtime1-unparser_2.12:3.9.0 ()
> [warn]                  +- org.apache.daffodil:daffodil-core_2.12:3.9.0 ()
> [warn]                  +- org.apache.daffodil:daffodil-codegen-c_2.12:3.9.0 
> ()
> [warn]                  +- 
> org.apache.daffodil:daffodil-tdml-processor_2.12:3.9.0 
> (/home/[email protected]/git/owlsvcs/data/dfdl/formats/jreap/build.sbt#L24-28)
> [warn]                  +- com.owlcyberdefense:dfdl-jreap:2.2.0
> [error] stack trace is suppressed; run 'last update' for the full output
> [error] stack trace is suppressed; run 'last ssExtractDependencies' for the 
> full output
> [error] (update) sbt.librarymanagement.ResolveException: unresolved 
> dependency: org.apache.daffodil#daffodil-runtime1-layers_2.12;3.9.0: 
> configuration not found in 
> org.apache.daffodil#daffodil-runtime1-layers_2.12;3.9.0: 'master'. It was 
> required from org.apache.daffodil#daffodil-runtime1-unparser_2.12;3.9.0 
> compile
> [error] (ssExtractDependencies) sbt.librarymanagement.ResolveException: 
> unresolved dependency: 
> org.apache.daffodil#daffodil-runtime1-layers_2.12;3.9.0: configuration not 
> found in org.apache.daffodil#daffodil-runtime1-layers_2.12;3.9.0: 'master'. 
> It was required from 
> org.apache.daffodil#daffodil-runtime1-unparser_2.12;3.9.0 compile
> {noformat}
> Workaround:
> {code}
> libraryDependencies ++= Seq(
>   "com.owlcyberdefense" %% "extendedcharsets" % "1.1.0",
>   "org.apache.daffodil" %% "daffodil-runtime1-layers" % daffodilVersion.value 
> % "compile",
>   "org.apache.daffodil" %% "daffodil-sapi" % daffodilVersion.value % "test",
> )
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to