Permalink
Browse files

updated site

  • Loading branch information...
1 parent 1ccda19 commit ed5149801202a0898f26ecbd3a9073b475e8067e @mads-hartmann mads-hartmann committed Jan 27, 2012
Showing with 256 additions and 48 deletions.
  1. +5 −3 community-plugins.html
  2. +5 −3 download.html
  3. +1 −0 index.html
  4. +5 −3 repository-rules.html
  5. +126 −0 resources/syntax.css
  6. +108 −0 talks.html
  7. +6 −39 using_sonatype.html
@@ -5,9 +5,10 @@
<head>
<title>Community Plugins - </title>
<link href='http://fonts.googleapis.com/css?family=Copse' rel='stylesheet' type='text/css'>
- <link href='resources/site.css' rel='stylesheet' type='text/css'>
- <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js">
- </script>
+ <link href='resources/site.css' rel='stylesheet' type='text/css'>
+ <link href='resources/syntax.css' rel='stylesheet' type='text/css'>
+ <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js">
+ </script>
</head>
<body>
@@ -20,6 +21,7 @@
<a class="brand" href="/">SBT</a>
<ul class="nav">
<li><a href="/community-plugins.html">Community Plugins</a></li>
+ <li><a href="/talks.html">Talks</a></li>
<li><a target="_blank" href="http://github.com/harrah/xsbt">Source</a></li>
<li><a target="_blank" href="http://groups.google.com/group/simple-build-tool/topics">Community</a></li>
<li><a target="_blank" href="http://github.com/harrah/xsbt/wiki">Documentation</a></li>
View
@@ -5,9 +5,10 @@
<head>
<title>download - </title>
<link href='http://fonts.googleapis.com/css?family=Copse' rel='stylesheet' type='text/css'>
- <link href='resources/site.css' rel='stylesheet' type='text/css'>
- <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js">
- </script>
+ <link href='resources/site.css' rel='stylesheet' type='text/css'>
+ <link href='resources/syntax.css' rel='stylesheet' type='text/css'>
+ <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js">
+ </script>
</head>
<body>
@@ -20,6 +21,7 @@
<a class="brand" href="/">SBT</a>
<ul class="nav">
<li><a href="/community-plugins.html">Community Plugins</a></li>
+ <li><a href="/talks.html">Talks</a></li>
<li><a target="_blank" href="http://github.com/harrah/xsbt">Source</a></li>
<li><a target="_blank" href="http://groups.google.com/group/simple-build-tool/topics">Community</a></li>
<li><a target="_blank" href="http://github.com/harrah/xsbt/wiki">Documentation</a></li>
View
@@ -17,6 +17,7 @@
<a class="brand" href="/">SBT</a>
<ul class="nav">
<li><a href="/community-plugins.html">Community Plugins</a></li>
+ <li><a href="/talks.html">Talks</a></li>
<li><a target="_blank" href="http://github.com/harrah/xsbt">Source</a></li>
<li><a target="_blank" href="http://groups.google.com/group/simple-build-tool/topics">Community</a></li>
<li><a target="_blank" href="http://github.com/harrah/xsbt/wiki">Documentation</a></li>
@@ -5,9 +5,10 @@
<head>
<title>Community Repository Policy - </title>
<link href='http://fonts.googleapis.com/css?family=Copse' rel='stylesheet' type='text/css'>
- <link href='resources/site.css' rel='stylesheet' type='text/css'>
- <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js">
- </script>
+ <link href='resources/site.css' rel='stylesheet' type='text/css'>
+ <link href='resources/syntax.css' rel='stylesheet' type='text/css'>
+ <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js">
+ </script>
</head>
<body>
@@ -20,6 +21,7 @@
<a class="brand" href="/">SBT</a>
<ul class="nav">
<li><a href="/community-plugins.html">Community Plugins</a></li>
+ <li><a href="/talks.html">Talks</a></li>
<li><a target="_blank" href="http://github.com/harrah/xsbt">Source</a></li>
<li><a target="_blank" href="http://groups.google.com/group/simple-build-tool/topics">Community</a></li>
<li><a target="_blank" href="http://github.com/harrah/xsbt/wiki">Documentation</a></li>
View
@@ -0,0 +1,126 @@
+.hll { background-color: #ffffcc }
+.scala { /* background: #f8f8f8; */ }
+.c { color: #408080; font-style: italic } /* Comment */
+.err { border: 1px solid #FF0000 } /* Error */
+.k { color: #008000; font-weight: bold } /* Keyword */
+.o { color: #666666 } /* Operator */
+.cm { color: #408080; font-style: italic } /* Comment.Multiline */
+.cp { color: #BC7A00 } /* Comment.Preproc */
+.c1 { color: #408080; font-style: italic } /* Comment.Single */
+.cs { color: #408080; font-style: italic } /* Comment.Special */
+.gd { color: #A00000 } /* Generic.Deleted */
+.ge { font-style: italic } /* Generic.Emph */
+.gr { color: #FF0000 } /* Generic.Error */
+.gh { color: #000080; font-weight: bold } /* Generic.Heading */
+.gi { color: #00A000 } /* Generic.Inserted */
+.go { color: #808080 } /* Generic.Output */
+.gp { color: #000080; font-weight: bold } /* Generic.Prompt */
+.gs { font-weight: bold } /* Generic.Strong */
+.gu { color: #800080; font-weight: bold } /* Generic.Subheading */
+.gt { color: #0040D0 } /* Generic.Traceback */
+.kc { color: #008000; font-weight: bold } /* Keyword.Constant */
+.kd { color: #008000; font-weight: bold } /* Keyword.Declaration */
+.kn { color: #008000; font-weight: bold } /* Keyword.Namespace */
+.kp { color: #008000 } /* Keyword.Pseudo */
+.kr { color: #008000; font-weight: bold } /* Keyword.Reserved */
+.kt { color: #B00040 } /* Keyword.Type */
+.m { color: #666666 } /* Literal.Number */
+.s { color: #BA2121 } /* Literal.String */
+.na { color: #7D9029 } /* Name.Attribute */
+.nb { color: #008000 } /* Name.Builtin */
+.nc { color: #0000FF; font-weight: bold } /* Name.Class */
+.no { color: #880000 } /* Name.Constant */
+.nd { color: #AA22FF } /* Name.Decorator */
+.ni { color: #999999; font-weight: bold } /* Name.Entity */
+.ne { color: #D2413A; font-weight: bold } /* Name.Exception */
+.nf { color: #0000FF } /* Name.Function */
+.nl { color: #A0A000 } /* Name.Label */
+.nn { color: #0000FF; font-weight: bold } /* Name.Namespace */
+.nt { color: #22AA22; font-weight: bold } /* Name.Tag */
+.nv { color: #19177C } /* Name.Variable */
+.ow { color: #AA22FF; font-weight: bold } /* Operator.Word */
+.w { color: #bbbbbb } /* Text.Whitespace */
+.mf { color: #666666 } /* Literal.Number.Float */
+.mh { color: #666666 } /* Literal.Number.Hex */
+.mi { color: #666666 } /* Literal.Number.Integer */
+.mo { color: #666666 } /* Literal.Number.Oct */
+.sb { color: #BA2121 } /* Literal.String.Backtick */
+.sc { color: #BA2121 } /* Literal.String.Char */
+.sd { color: #BA2121; font-style: italic } /* Literal.String.Doc */
+.s2 { color: #BA2121 } /* Literal.String.Double */
+.se { color: #BB6622; font-weight: bold } /* Literal.String.Escape */
+.sh { color: #BA2121 } /* Literal.String.Heredoc */
+.si { color: #BB6688; font-weight: bold } /* Literal.String.Interpol */
+.sx { color: #008000 } /* Literal.String.Other */
+.sr { color: #BB6688 } /* Literal.String.Regex */
+.s1 { color: #BA2121 } /* Literal.String.Single */
+.ss { color: #19177C } /* Literal.String.Symbol */
+.bp { color: #008000 } /* Name.Builtin.Pseudo */
+.vc { color: #19177C } /* Name.Variable.Class */
+.vg { color: #19177C } /* Name.Variable.Global */
+.vi { color: #19177C } /* Name.Variable.Instance */
+.il { color: #666666 } /* Literal.Number.Integer.Long */
+
+
+.scala .hll { /*background-color: #ffffcc*/ }
+.scala { /*background: #f8f8f8;*/ }
+.scala .c { color: #408080; font-style: italic } /* Comment */
+.scala .err { border: 1px solid #FF0000 } /* Error */
+.scala .k { color: #22aa22; font-weight: bold } /* Keyword */
+.scala .o { color: #666666 } /* Operator */
+.scala .cm { color: #408080; font-style: italic } /* Comment.Multiline */
+.scala .cp { color: #BC7A00 } /* Comment.Preproc */
+.scala .c1 { color: #408080; font-style: italic } /* Comment.Single */
+.scala .cs { color: #408080; font-style: italic } /* Comment.Special */
+.scala .gd { color: #A00000 } /* Generic.Deleted */
+.scala .ge { font-style: italic } /* Generic.Emph */
+.scala .gr { color: #FF0000 } /* Generic.Error */
+.scala .gh { color: #000080; font-weight: bold } /* Generic.Heading */
+.scala .gi { color: #00A000 } /* Generic.Inserted */
+.scala .go { color: #808080 } /* Generic.Output */
+.scala .gp { color: #000080; font-weight: bold } /* Generic.Prompt */
+.scala .gs { font-weight: bold } /* Generic.Strong */
+.scala .gu { color: #800080; font-weight: bold } /* Generic.Subheading */
+.scala .gt { color: #0040D0 } /* Generic.Traceback */
+.scala .kc { color: #22AA22; font-weight: bold } /* Keyword.Constant */
+.scala .kd { color: #008000; font-weight: bold } /* Keyword.Declaration */
+.scala .kn { color: #008000; font-weight: bold } /* Keyword.Namespace */
+.scala .kp { color: #008000 } /* Keyword.Pseudo */
+.scala .kr { color: #008000; font-weight: bold } /* Keyword.Reserved */
+.scala .kt { color: #B00040 } /* Keyword.Type */
+.scala .m { color: #666666 } /* Literal.Number */
+.scala .s { color: #ee3333 } /* Literal.String */
+.scala .na { color: #7D9029 } /* Name.Attribute */
+.scala .nb { color: #008000 } /* Name.Builtin */
+.scala .nc { color: #6677ff; font-weight: bold } /* Name.Class */
+.scala .no { color: #880000 } /* Name.Constant */
+.scala .nd { color: #AA22FF } /* Name.Decorator */
+.scala .ni { color: #999999; font-weight: bold } /* Name.Entity */
+.scala .ne { color: #D2413A; font-weight: bold } /* Name.Exception */
+.scala .nf { color: #0000FF } /* Name.Function */
+.scala .nl { color: #A0A000 } /* Name.Label */
+.scala .nn { color: #0000FF; font-weight: bold } /* Name.Namespace */
+.scala .nt { color: #22AA22; font-weight: bold } /* Name.Tag */
+.scala .nv { color: #19177C } /* Name.Variable */
+.scala .ow { color: #AA22FF; font-weight: bold } /* Operator.Word */
+.scala .w { color: #bbbbbb } /* Text.Whitespace */
+.scala .mf { color: #666666 } /* Literal.Number.Float */
+.scala .mh { color: #666666 } /* Literal.Number.Hex */
+.scala .mi { color: #666666 } /* Literal.Number.Integer */
+.scala .mo { color: #666666 } /* Literal.Number.Oct */
+.scala .sb { color: #BA2121 } /* Literal.String.Backtick */
+.scala .sc { color: #BA2121 } /* Literal.String.Char */
+.scala .sd { color: #BA2121; font-style: italic } /* Literal.String.Doc */
+.scala .s2 { color: #BA2121 } /* Literal.String.Double */
+.scala .se { color: #BB6622; font-weight: bold } /* Literal.String.Escape */
+.scala .sh { color: #BA2121 } /* Literal.String.Heredoc */
+.scala .si { color: #BB6688; font-weight: bold } /* Literal.String.Interpol */
+.scala .sx { color: #008000 } /* Literal.String.Other */
+.scala .sr { color: #BB6688 } /* Literal.String.Regex */
+.scala .s1 { color: #BA2121 } /* Literal.String.Single */
+.scala .ss { color: #19177C } /* Literal.String.Symbol */
+.scala .bp { color: #008000 } /* Name.Builtin.Pseudo */
+.scala .vc { color: #19177C } /* Name.Variable.Class */
+.scala .vg { color: #19177C } /* Name.Variable.Global */
+.scala .vi { color: #19177C } /* Name.Variable.Instance */
+.scala .il { color: #666666 } /* Literal.Number.Integer.Long */
View
@@ -0,0 +1,108 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en-us">
+<head>
+ <title>Talks - </title>
+ <link href='http://fonts.googleapis.com/css?family=Copse' rel='stylesheet' type='text/css'>
+ <link href='resources/site.css' rel='stylesheet' type='text/css'>
+ <link href='resources/syntax.css' rel='stylesheet' type='text/css'>
+ <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js">
+ </script>
+</head>
+<body>
+
+
+ <!-- Topbar
+ ================================================== -->
+ <div class="cf" id="more" >
+ <div id="top">
+ <div class="container">
+ <a class="brand" href="/">SBT</a>
+ <ul class="nav">
+ <li><a href="/community-plugins.html">Community Plugins</a></li>
+ <li><a href="/talks.html">Talks</a></li>
+ <li><a target="_blank" href="http://github.com/harrah/xsbt">Source</a></li>
+ <li><a target="_blank" href="http://groups.google.com/group/simple-build-tool/topics">Community</a></li>
+ <li><a target="_blank" href="http://github.com/harrah/xsbt/wiki">Documentation</a></li>
+ <li><a target="_blank" href="https://github.com/harrah/xsbt#readme">Contribute</a></li>
+ <li><a href="#top">Top</a></li>
+ </ul>
+ </div>
+ </div>
+ </div>
+
+
+<div class="cf" id="container">
+ <div class="span2 columns container-spacer"><p>&nbsp;</p></div>
+ <div id="intro" class="span10 columns content">
+ <div id="head" class="cf">
+ <div id="name" class="left">
+ <h1>sbt</h1>
+ <h2>Talks</h2>
+ <p id="what">People presenting SBT topics</p>
+ </div>
+ <div class="left page-description" id="vc">
+ <p>This page contains a list of presentations about SBT. If you know about a presentation that isn&#8217;t on the list please open an issue <a href='https://github.com/sbt/sbt.github.com'>https://github.com/sbt/sbt.github.com</a>.</p>
+ </div>
+ </div>
+ <div id="features" class="cf">
+ <div id="feature-list">
+ <ul class="left">
+
+
+ <li><a href="#buildingsbtplugins">Building SBT Plugins</a></li>
+
+ </ul>
+ <ul class="left">
+
+
+
+
+ </ul>
+ </div>
+ </div>
+ <div id="pagecontent" class="cf">
+
+ </div>
+ </div>
+
+ <div id="extra">
+ <ul id="examples">
+
+ <li id="buildingsbtplugins" class="feature contained"><h4 id='building_sbt_plugins'>Building SBT Plugins</h4>
+
+<p>Presentation showing how to build SBT plugins. The source code and presentation pdf can be found <a href='https://github.com/mads379/sbt-plugin-examples' title='here'>here</a>.</p></li>
+
+ </ul>
+ </div>
+ </div>
+ <div class="span6 columns"><p>&nbsp;</p></div>
+</div>
+
+
+
+<script type="text/javascript" src="jquery.scrollto.min.js"></script>
+<script type="text/javascript">
+ (function($){ $(function(){
+ $("#top").click(function(){ $("#intro").ScrollTo(); })
+
+ var applyH = function() {
+ $("#intro, .feature").height($(window).height());
+ };
+ $(window).bind('resize', function() { applyH(); });
+ applyH();
+
+ $('#features a, .st').click(function(e){
+ e.preventDefault();
+ var h = $(this).attr('href');
+ $(h).ScrollTo({
+ callback:function(){ window.location.hash = h;}
+ });
+ });
+ });})(jQuery);
+</script>
+
+</body>
+</html>
+
View
@@ -5,9 +5,10 @@
<head>
<title>Deploying to Sonatype - </title>
<link href='http://fonts.googleapis.com/css?family=Copse' rel='stylesheet' type='text/css'>
- <link href='resources/site.css' rel='stylesheet' type='text/css'>
- <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js">
- </script>
+ <link href='resources/site.css' rel='stylesheet' type='text/css'>
+ <link href='resources/syntax.css' rel='stylesheet' type='text/css'>
+ <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js">
+ </script>
</head>
<body>
@@ -20,6 +21,7 @@
<a class="brand" href="/">SBT</a>
<ul class="nav">
<li><a href="/community-plugins.html">Community Plugins</a></li>
+ <li><a href="/talks.html">Talks</a></li>
<li><a target="_blank" href="http://github.com/harrah/xsbt">Source</a></li>
<li><a target="_blank" href="http://groups.google.com/group/simple-build-tool/topics">Community</a></li>
<li><a target="_blank" href="http://github.com/harrah/xsbt/wiki">Documentation</a></li>
@@ -50,61 +52,26 @@ <h2 id='second__maven_publishing_settings'>Second - Maven Publishing Settings</h
<p>To publish to a maven repository, you&#8217;ll need to configure a few settings so that the correct metadata is generated.</p>
-<pre><code>publishMavenStyle := true</code></pre>
-
<p>is used to ensure POMs are generated and pushed. Next, you have to set up the repositories you wish to push too. Luckily, Sonatype&#8217;s OSSRH uses the same URLs for everyone:</p>
-<pre><code>publishTo &lt;&lt;= version { (v: String) =&gt;
- val nexus = &quot;https://oss.sonatype.org/&quot;
- if (v.trim.endsWith(&quot;SNAPSHOT&quot;)) Some(&quot;snapshots&quot; at nexus + &quot;content/repositories/snapshots&quot;)
- else Some(&quot;releases&quot; at nexus + &quot;service/local/staging/deploy/maven2&quot;)
-}</code></pre>
-
<p>Another good idea is to not publish your test artifacts:</p>
-<pre><code>publishArtifact in Test := false</code></pre>
-
<h2 id='third__pom_metadata'>Third - POM Metadata</h2>
<p>Now, we want to control what&#8217;s available in the <code>pom.xml</code> file. This file describes our project in the maven repository and is used by indexing services for search and discover. This means it&#8217;s important that <code>pom.xml</code> should have all information we wish to advertise as well as required info!</p>
<p>First, let&#8217;s make sure no repositories show up in the POM file. To publish on maven-central, all <em>required</em> artifacts must also be hosted on maven central. However, sometimes we have optional dependencies for special features. If that&#8217;s the case, let&#8217;s remove the repositories for optional dependencies in our artifact:</p>
-<pre><code>pomIncludeRepository := { x =&gt; false },</code></pre>
-
<p>Next, the POM metadata that isn&#8217;t generated by SBT must be added. This is done through the <code>pomExtra</code> configuration option:</p>
-<pre><code> pomExtra := (
- &lt;url&gt;http://jsuereth.com/scala-arm&lt;/url&gt;
- &lt;licenses&gt;
- &lt;license&gt;
- &lt;name&gt;BSD-style&lt;/name&gt;
- &lt;url&gt;http://www.opensource.org/licenses/bsd-license.php&lt;/url&gt;
- &lt;distribution&gt;repo&lt;/distribution&gt;
- &lt;/license&gt;
- &lt;/licenses&gt;
- &lt;scm&gt;
- &lt;url&gt;git@github.com:jsuereth/scala-arm.git&lt;/url&gt;
- &lt;connection&gt;scm:git:git@github.com:jsuereth/scala-arm.git&lt;/connection&gt;
- &lt;/scm&gt;
- &lt;developers&gt;
- &lt;developer&gt;
- &lt;id&gt;jsuereth&lt;/id&gt;
- &lt;name&gt;Josh Suereth&lt;/name&gt;
- &lt;url&gt;http://jsuereth.com&lt;/url&gt;
- &lt;/developer&gt;
- &lt;/developers&gt;)</code></pre>
-
-<p>Specifically, the <code>license</code>, <code>scm.url</code>, <code>scm.connection</code> and <code>developer</code> sections are required. The above is an example from the <a href='http://jsuereth.com/scala-arm'>scala-arm</a> project.</p>
+<p>Specifically, the <code>url</code>, <code>license</code>, <code>scm.url</code>, <code>scm.connection</code> and <code>developer</code> sections are required. The above is an example from the <a href='http://jsuereth.com/scala-arm'>scala-arm</a> project.</p>
<p><em>The full format of a pom.xml file is <a href='http://maven.apache.org/pom.html'>outlined here</a>.</em></p>
<h2 id='fourth__adding_credentials'>Fourth - Adding credentials</h2>
<p>The credentails for your Sonatype OSSRH account need to be added somewhere. Common convention is a <code>~/.sbt/sonatype.sbt</code> file with the following:</p>
-<pre><code>credentials += Credentials(&quot;Sonatype Nexus Repository Manager&quot;, &quot;oss.sonatype.org&quot;, &quot;&lt;your username&gt;&quot;, &quot;&lt;your password&gt;&quot;)</code></pre>
-
<p><em>Note: The first two strings</em><em>must</em>* be <code>&quot;Sonatype Nexus Repository Manager&quot;</code> and <code>&quot;oss.sonatype.org&quot;</code> for Ivy to use the credentials.*</p>
<h2 id='finally__publish'>Finally - Publish</h2>

0 comments on commit ed51498

Please sign in to comment.