May 2011 Archives

quartz的full distribution里面没有附带src的jar, 只得自己编译
mvn编译的时候提示找不到jms-1.1.jar
Google的结果显示原因是:

Often users are confronted with the need to build against JARs provide by Sun like the JavaMail JAR, or the Activation JAR and users have found these JARs not present in central repository resulting in a broken build. Unfortunately most of these artifacts fall under Sun's Binary License which disallows us from distributing them from Ibiblio.

解决方案也就是自己添加相应的repository, 在自己的POM文件或者settings.xml中添加

 

    <repositories>
        <repository>
            <id>maven2-repository.dev.java.net</id>
            <name>Java.net Repository for Maven</name>
            <url>http://download.java.net/maven/2/</url>
            <layout>default</layout>
        </repository>
        <repository>
            <id>maven2-repository.jboss.org</id>
            <name>Jboss Repository for Maven</name>
            <url>http://repository.jboss.org/maven2/</url>
            <layout>default</layout>
        </repository>
    </repositories>
 
 
ps1: maven官网说新建个java.net repository条目即可, 但是java.net的maven仓库已经没有jms了 =,= 还是jboss的repository比较给力
ps2: 顺带提供编译好的quartz-2.0.1-src.jar

pastie
pastebin
notepad.im (powered by fredwang && neowang)
simplenoteapp
droplr (mac专用)

不过不公开的话, 还是evernote好用...