Installation

The .NET Maven Plugin is automatically bootstrapped into Maven provided the correct repository configuration is present in the effective POM. This configuration can be set in a couple of ways. The first way is to add the repository directory to a POM:

<project>
...
  <pluginRepositories>
    <pluginRepository>
      <id>doodleproject-repo</id>
      <name>DoodleProject Maven 2 Repository</name>
      <url>http://doodleproject.sourceforge.net/maven2/release</url>
      <releases>
        <enabled>true</enabled>
      </releases>
    </pluginRepository>
    ...
  </pluginRepositories>
...
</project>

The second way is to add the repository to a profile in the ~/.m2/settings.xml file:

<settings>
 ...
 <profiles>
   ...
   <profile>
     <id>doodleproject</id>
     <pluginRepositories>
       <pluginRepository>
         <id>doodleproject-repo</id>
         <name>DoodleProject Maven 2 Repository</name>
         <url>http://doodleproject.sourceforge.net/maven2/release</url>
         <releases>
           <enabled>true</enabled>
         </releases>
       </pluginRepository>
       ...
     </pluginRepositories>
     ...
   </profile>
   ...
 </profiles>

 <activeProfiles>
   <activeProfile>doodleproject</activeProfile>
 </activeProfiles>
 ...
</settings>