Skip to content

Possible way to prevent the robovm-rt/robovm-cocoatouch dependencies in M2Eclipse imported projects #55

@ntherning

Description

@ntherning

Can we prevent the robovm-rt and robovm-cocoatouch dependencies to show up in the Maven Dependencies classpath container in Eclipse when importing as a maven project if we enclose these dependencies in a profile which is inactive when M2Eclipse (m2e.version) is detected?

<profiles>
  <profile>
    <id>not-eclipse</id>
    <activation>
      <property>
        <name>!m2e.version</name>
      </property>
    </activation>
    <dependencies>
      <dependency>
        <groupId>org.robovm</groupId>
        <artifactId>robovm-rt</artifactId>
      </dependency>
      <dependency>
        <groupId>org.robovm</groupId>
        <artifactId>robovm-cocoatouch</artifactId>
      </dependency>
    </dependencies>
  </profile>
</profiles>

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions