You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. Apache Archiva
  2. ==============
  3. To get involved in Archiva development, contact dev@archiva.apache.org.
  4. NOTE: you will need a MAVEN_OPTS with some memory setup as sample :
  5. export MAVEN_OPTS="-Xmx768m -Xms768m -XX:MaxPermSize=256m"
  6. Running from Source Code
  7. ========================
  8. As webapp js is in dev and won't probably be released soon, the module is not activated by default and it's included only in a profile
  9. mvn tomcat7:run -pl :archiva-webapp -am (to save fingers :-) use sh ./t7.sh )
  10. or
  11. mvn tomcat6:run -pl :archiva-webapp -am
  12. hit your browser: http://localhost:9091/archiva/index.html
  13. Test Registration email
  14. ========================
  15. Redback can send email on registration by default the mail jndi si configured to use localhost.
  16. You can use your gmail accout for testing purpose
  17. In your ~/.m2/settings.xml add a property with a path to a tomcat context file:
  18. <tomcatContextXml>/Users/olamy/dev/tomcat-context-archiva-gmail.xml</tomcatContextXml>
  19. This file must contains:
  20. <Context path="/archiva">
  21. <Resource name="jdbc/users" auth="Container" type="javax.sql.DataSource"
  22. username="sa"
  23. password=""
  24. driverClassName="org.apache.derby.jdbc.EmbeddedDriver"
  25. url="jdbc:derby:${catalina.base}/target/database/users;create=true"
  26. />
  27. <Resource name="mail/Session" auth="Container"
  28. type="javax.mail.Session"
  29. mail.smtp.host="smtp.gmail.com"
  30. mail.smtp.port="465"
  31. mail.smtp.auth="true"
  32. mail.smtp.user="your gmail account"
  33. password="your gmail password"
  34. mail.smtp.starttls.enable="true"
  35. mail.smtp.socketFactory.class="javax.net.ssl.SSLSocketFactory"/>
  36. </Context>
  37. jrebel
  38. generate files: mvn org.zeroturnaround:jrebel-maven-plugin:1.1.3:generate -Pjs