Skip to content

PDE - MavenDependencies with "test" scope fails when declared in the target file since 2025-03Β #1976

@opcoach

Description

@opcoach

I use a maven block with this scope in my target file (see below), and since Eclipse 2025-03, the target fails to load:

includeDependencyScopes="compile,test"

If I remove the "test" scope, the target is loaded.

Is there a problem with maven test scope ?

 <location includeDependencyDepth="infinite" includeDependencyScopes="compile,test" includeSource="true" missingManifest="generate" type="Maven" label="MavenDependencies"> 
      <dependencies>
        <dependency>
          <groupId>com.clearspring.analytics</groupId>
          <artifactId>stream</artifactId>
          <version>2.9.6</version>
          <type>jar</type>
        </dependency>
        <dependency>
          <groupId>javax.xml.rpc</groupId>
          <artifactId>javax.xml.rpc-api</artifactId>
          <version>1.1.2</version>
          <type>jar</type>
        </dependency>
        <dependency>
          <groupId>org.apache.avro</groupId>
          <artifactId>avro</artifactId>
          <version>1.12.0</version>
          <type>jar</type>
        </dependency>
      </dependencies>
    </location>

Here is the message with "test" :

Image

And the message without test :

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions