Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
xml
xml
<project>
  <build>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-install-plugin</artifactId>
        <version>2.2<3.1</version>
        <configuration><executions>
           <!-- your example configuration here --> <execution>
                <id>install-library</id>
                <phase>install</phase>
                <goals>
                    <goal>install-file</goal>
                </goals>
                <configuration>
                  <file>${path_to_file}</file>
                  <classifier>${classifier_if_this_isnt_the_main_artifact_of_this_project}</classifier>
                  <groupId>${groupId}</groupId>
                  <artifactId>${artifactId}</artifactId>
                  <version>${version}</version>
                  <packaging>${packaging_basically_the_file_type_extension}</packaging>
                  <generatePom>${true_if_you_want_it_generated}</generatePom>
                </configuration>
            </execution>
        </executions>
      </plugin>
    </plugins>
  </build>
</project>

...