Archive

Archive for the ‘DEV’ Category

[How to] Add jar to mvn dependency without installing

October 23, 2011 Leave a comment

 <dependency>
      <groupId>groupId here</groupId>
      <artifactId>artifactId here</artifactId>
      <version>version here</version>
      <scope>system</scope>
      <systemPath>${project.basedir}/lib/my_lib-1.0-SNAPSHOT.jar</systemPath>
    </dependency>

Categories: DEV, MVN Tags: , , , , , , ,

[MVN] How do I add resources to my JAR?

October 18, 2011 Leave a comment

How do I add resources to my JAR?

${basedir}/src/main/resources directory are packaged in your JAR with the exact same structure starting at the base of the JAR.

Categories: DEV, MVN Tags: , , , , , ,

[How to] make run maven proguard plug-in on OS X

October 15, 2011 Leave a comment
...
<plugin>
<executions>
<execution>
<configuration>
<libs>
<lib>${java.home}/lib/rt.jar</lib>
</libs>
</configuration>
</execution>
</executions>
</plugin>
...

Windows platform.

...
<plugin>
<executions>
<execution>
<configuration>
<libs>
<lib>${java.home}/bundle/Classes/classes.jar</lib>
</libs>
</configuration>
</execution>
</executions>
</plugin>
...

Mac OS X platform.

Categories: DEV, MVN Tags: , , , , , , , , , ,

[Link] SourceTree by ATLASSIAN

October 11, 2011 Leave a comment
Categories: DEV Tags: , , , , , , ,
Design a site like this with WordPress.com
Get started