Skip to content

Commit

Permalink
Enhance deployment process
Browse files Browse the repository at this point in the history
  • Loading branch information
sarxos committed Mar 9, 2013
1 parent 73c9bc3 commit 840e615
Show file tree
Hide file tree
Showing 5 changed files with 37 additions and 207 deletions.
5 changes: 3 additions & 2 deletions distribution.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@

<id>dist</id>
<formats>
<!-- <format>tar.gz</format> <format>tar.bz2</format> -->
<!--<format>tar.gz</format>
<format>tar.bz2</format> -->
<format>zip</format>
</formats>

Expand Down Expand Up @@ -59,7 +60,7 @@
</includes>
</fileSet>
<fileSet>
<directory>${project.build.directory}/apidocs</directory>
<directory>${project.build.directory}/site/apidocs</directory>
<outputDirectory>docs</outputDirectory>
</fileSet>
<fileSet>
Expand Down
20 changes: 4 additions & 16 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>2.3</version>
<version>2.4</version>
<configuration>
<descriptors>
<descriptor>${project.assembly.descriptor}</descriptor>
Expand Down Expand Up @@ -237,29 +237,17 @@
<simpleHTMLChangeLogFilename>CHANGELOG.htm</simpleHTMLChangeLogFilename>
<generateHTMLTableOnlyChangeLog>false</generateHTMLTableOnlyChangeLog>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>2.2.1</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.9</version>
<executions>
<execution>
<id>attach-javadocs</id>
<id>generate-javadocs</id>
<phase>prepare-package</phase>
<goals>
<goal>jar</goal>
<goal>javadoc</goal>
</goals>
</execution>
</executions>
Expand Down
30 changes: 30 additions & 0 deletions webcam-capture/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,36 @@
</dependency>
</dependencies>

<!--
<profiles>
<profile>
<id>deploy-snapshot</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<executions>
<execution>
<id>upload-jar</id>
<phase>deploy</phase>
<goals>
<goal>deploy-file</goal>
</goals>
<configuration>
<file>${project.build.directory}/${project.artifactId}-${project.version}.jar</file>
<repositoryId>sarxos-ftp-repo</repositoryId>
<url>ftp://repo.sarxos.pl/maven2</url>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
-->

<build>
<plugins>
<plugin>
Expand Down
189 changes: 0 additions & 189 deletions webcam-capture/src/etc/licenses/dx-1.7.LICENSE

This file was deleted.

0 comments on commit 840e615

Please sign in to comment.