Ralph, when you delete the IDEA-specific configuration (i.e., *.iml files
and .idea directory), compile the sources via Maven, and open the folder in
IDEA, can you run *any* tests? If so, do you have any custom IDEA
configurations? Which IDEA version are you using? If you are not using the
wrapper, which Maven version are you using?

I use Maven Wrapper to make sure Maven behaves the same in all
environments, independent of my local setup. It also saves you from a local
Maven dependency.

On Wed, Apr 7, 2021 at 1:17 AM Ralph Goers <ralph.go...@dslextreme.com>
wrote:

> I deleted the files from my local repo and restarted the build. It is
> running along just fine - at least until it hits json template layout.
>
> Is there a reason you use the maven wrapper instead of Maven itself? I
> have never used the wrapper. I am wondering if there is something going on
> there.
>
> Ralph
>
> > On Apr 6, 2021, at 4:10 PM, Ralph Goers <ralph.go...@dslextreme.com>
> wrote:
> >
> > I’ve never seen that. What is maven-annotations-production:log4j-api?
> >
> > Let me try removing the files from my maven local repo as you did.
> >
> > Ralph
> >
> >> On Apr 6, 2021, at 1:14 PM, Volkan Yazıcı <volkan.yaz...@gmail.com>
> wrote:
> >>
> >> As subject hints, I am not able to run tests in IDEA anymore after Java
> 11
> >> upgrade. I have deleted all IDEA related files and issued a clean Maven
> >> build:
> >>
> >> $ rm -rf ./.idea ./**/*.iml
> >> $ rm -rf ~/.m2/repository/org/apache/logging/log4j/*/3*-SNAPSHOT
> >> $ ./mvnw clean install -DskipTests=true
> >>
> >> Opened the directory using IDEA (2021.1 RC), but couldn't get it to have
> >> successful build:
> >>
> >> W: Output path
> >>
> /home/vy/Projects/log4j/3/log4j-core/target/generated-sources/annotations
> >> intersects with a source root. Only files that were created by build
> will
> >> be cleaned
> >> W: Output path
> >>
> /home/vy/Projects/log4j/3/log4j-plugins/target/generated-test-sources/test-annotations
> >> intersects with a source root. Only files that were created by build
> will
> >> be cleaned
> >> W: Output path
> >>
> /home/vy/Projects/log4j/3/log4j-layout-template-json/target/generated-test-sources/test-annotations
> >> intersects with a source root. Only files that were created by build
> will
> >> be cleaned
> >> W: Output path
> >>
> /home/vy/Projects/log4j/3/log4j-plugins/target/generated-sources/annotations
> >> intersects with a source root. Only files that were created by build
> will
> >> be cleaned
> >> W: Output path
> >>
> /home/vy/Projects/log4j/3/log4j-layout-template-json/target/generated-sources/annotations
> >> intersects with a source root. Only files that were created by build
> will
> >> be cleaned
> >> W: Output path
> >>
> /home/vy/Projects/log4j/3/log4j-layout-jackson-json/target/generated-sources/annotations
> >> intersects with a source root. Only files that were created by build
> will
> >> be cleaned
> >> W: Output path
> >>
> /home/vy/Projects/log4j/3/log4j-core/target/generated-test-sources/test-annotations
> >> intersects with a source root. Only files that were created by build
> will
> >> be cleaned
> >>
> >> *E: Cannot build maven-annotations-production:log4j-api because it is
> >> included into a circular dependency (module 'log4j-api' production,
> >> maven-annotations-production:log4j-api, module 'log4j-plugins'
> production,
> >> maven-annotations-production:log4j-plugins)E: Cannot build
> >> maven-annotations-test:log4j-plugins because it is included into a
> circular
> >> dependency (maven-annotations-test:log4j-plugins, module 'log4j-api'
> tests,
> >> maven-annotations-test:log4j-api, module 'log4j-plugins' tests)*
> >>
> >> Did you get it working? What shall I do to make it work?
> >
> >
> >
>
>
>

Reply via email to