Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ntherning opened this issue Jun 21, 2015 · 0 comments

Comments

@ntherning
Copy link
Collaborator

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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant