Hi,

I know you can do this manually with Preferences->Maven->User Settings, but
I was hoping for something more automated.

Ideally I would like to be able to have my project as:

src/
pom.xml
settings.xml (this declares a mirror to my company's internal repository)

And inside pom.xml perhaps there would be something like:

<build>
  <pluginManagement>
    <plugins>
      <!-- This doesn't exist -->
      <plugin>
        <groupId>org.eclipse.m2e</groupId>
        <artifactId>m2e-config</artifactId>
        <version>1.0.0</version>
        <configuration>
          <settings>settings.xml</settings>
        </configuration>
      </plugin>
    </plugins>
  </pluginManagement>
</build>

The end result would be as if eclipse called every maven command with
mvn -s settings.xml ...
_______________________________________________
m2e-users mailing list
m2e-users@eclipse.org
https://dev.eclipse.org/mailman/listinfo/m2e-users

Reply via email to