Archive for June, 2011

javascript: OAuth with iOS, PhoneGap, and Chrome Extension

Friday, June 10th, 2011

Maven: Copy the jar dependencies in a folder

Friday, June 3rd, 2011
	  <!-- Clean & Copy .jar file to /bin/lib -->
      <plugin>
        <artifactId>maven-antrun-plugin</artifactId>
        <version>1.4</version>
        <executions>
          <execution>
          	<phase>package</phase>
            <configuration>
              <tasks>
                <delete dir="bin/lib">
                </delete>
              </tasks>
            </configuration>
            <goals>
              <goal>run</goal>
            </goals>
          </execution>
        </executions>
      </plugin>

      <plugin>
        <artifactId>maven-dependency-plugin</artifactId>
        <executions>
          <execution>
            <phase>package</phase>
            <goals>
              <goal>copy-dependencies</goal>
            </goals>
            <configuration>
              <outputDirectory>bin/lib</outputDirectory>
            </configuration>
          </execution>
        </executions>
      </plugin>
      <!-- /Clean & Copy  .jar file to /bin/lib -->