Set up a project with this archetype

What are the intern plugin parameter?
localRepository
The local Repository. Type: org.apache.maven.artifact.repository.ArtifactRepository, @required, @readonly, default:${localRepository}
artifactFactory
The standard artifact factory (a plexus component). dependencies. Type: org.apache.maven.artifact.factory.ArtifactFactory, @component
installer
The standard artifact installer (a plexus component). Type: org.apache.maven.artifact.installer.ArtifactInstaller, @component

What are the useable plugin parameter?
downloads
A list of artifacts to download and install. Type: java.util.List<DownloadArtifact>,

Which maven repository contains the 1jar-maven-plugin?

This plugin is not available in the standard maven repository. But you can download it via the following repository entry in your pom.xml

For Download Plugin from Sourceforge, please add this to your pom.xml

	<pluginRepositories>
		<pluginRepository>
			<id>sourceforge-frs</id>
			<name>SF Maven Plugin Repository</name>
			<url>http://sourceforge.net/projects/sf-mvn-plugins/files/m2-repo</url>
		</pluginRepository>
	</pluginRepositories>
	
	<repositories>
		<repository>
			<id>sourceforge-svn</id>
			<name>SF Maven Plugin SVN Repository</name>
			<url>http://sf-mvn-plugins.svn.sourceforge.net/svnroot/sf-mvn-plugins/_m2-repo</url>
		</repository>
	</repositories>
	
               

And add this to your settings.xml

    <server>
      <id>sourceforge-frs</id>
      <configuration>
        <wagonProvider>sourceforge</wagonProvider>
     </configuration>
   </server>
               

Example to use the 1jar-maven-plugin

How can i use the plugin?

Here is a example how you can add the plugin to your pom.xml.

<build>
<extensions>
	<extension>
		<groupId>net.sf.maven.plugins</groupId>
		<artifactId>wagon-http-sourceforge</artifactId>
		<version>0.4-SNAPSHOT</version>
	</extension>
</extensions>

<plugins>
	:
	<plugin>
		<groupId>net.sf.maven.plugins</groupId>
		<artifactId>jar-install-plugin</artifactId>
		<executions>
			<execution>
				<goals>
					<goal>install</goal>
				</goals>
				<configuration>
					<downloads>
						<downloadArtifact>
							<url>http://sourceforge.net/projects/one-jar/files/one-jar/one-jar-0.96/one-jar-boot-0.96.jar/download</url>
							<groupId>com.simontuffs.onejar</groupId>
							<artifactId>one-jar-boot</artifactId>
							<version>0.96</version>
						</downloadArtifact>
					</downloads>
				</configuration>
			</execution>
		</executions>
	</plugin>
	:
</plugins>
:
</build>
				

Known bugs of Plugin

Wich bugs are known?
?