Author: tommaso
Date: Fri Nov 25 22:09:19 2011
New Revision: 1206358

URL: http://svn.apache.org/viewvc?rev=1206358&view=rev
Log:
weight in Synapse set to long
moved some plugins in the parent pom inside the apache-release profile
fixed version of core

Modified:
    labs/yay/trunk/core/pom.xml
    labs/yay/trunk/core/src/main/java/org/apache/yay/bio/Synapse.java
    labs/yay/trunk/pom.xml

Modified: labs/yay/trunk/core/pom.xml
URL: 
http://svn.apache.org/viewvc/labs/yay/trunk/core/pom.xml?rev=1206358&r1=1206357&r2=1206358&view=diff
==============================================================================
--- labs/yay/trunk/core/pom.xml (original)
+++ labs/yay/trunk/core/pom.xml Fri Nov 25 22:09:19 2011
@@ -3,11 +3,12 @@
         xmlns="http://maven.apache.org/POM/4.0.0"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
   <modelVersion>4.0.0</modelVersion>
   <artifactId>core</artifactId>
-  <version>1.0-SNAPSHOT</version>
+  <version>0.1-SNAPSHOT</version>
   <parent>
     <groupId>org.apache.yay</groupId>
     <artifactId>parent</artifactId>
     <version>0.1-SNAPSHOT</version>
     <relativePath>../</relativePath>
   </parent>
+  <name>Yay core</name>
 </project>
\ No newline at end of file

Modified: labs/yay/trunk/core/src/main/java/org/apache/yay/bio/Synapse.java
URL: 
http://svn.apache.org/viewvc/labs/yay/trunk/core/src/main/java/org/apache/yay/bio/Synapse.java?rev=1206358&r1=1206357&r2=1206358&view=diff
==============================================================================
--- labs/yay/trunk/core/src/main/java/org/apache/yay/bio/Synapse.java (original)
+++ labs/yay/trunk/core/src/main/java/org/apache/yay/bio/Synapse.java Fri Nov 
25 22:09:19 2011
@@ -10,9 +10,9 @@ public abstract class Synapse {
 
   private Neuron from;
   private Neuron to;
-  private Weight weight;
+  private Long weight;
 
-  Synapse(Neuron from, Neuron to, Weight weight) {
+  Synapse(Neuron from, Neuron to, Long weight) {
     this.from = from;
     this.to = to;
     this.weight = weight;

Modified: labs/yay/trunk/pom.xml
URL: 
http://svn.apache.org/viewvc/labs/yay/trunk/pom.xml?rev=1206358&r1=1206357&r2=1206358&view=diff
==============================================================================
--- labs/yay/trunk/pom.xml (original)
+++ labs/yay/trunk/pom.xml Fri Nov 25 22:09:19 2011
@@ -6,7 +6,7 @@
   <artifactId>parent</artifactId>
   <packaging>pom</packaging>
   <version>0.1-SNAPSHOT</version>
-  <name>Yay</name>
+  <name>Yay parent</name>
   <url>http://svn.apache.org/repos/asf/labs/yay</url>
   <organization>
     <name>Apache Software Foundation</name>
@@ -70,6 +70,7 @@
       <dependency>
         <groupId>junit</groupId>
         <artifactId>junit</artifactId>
+        <version>4.7</version>
       </dependency>
     </dependencies>
   </dependencyManagement>
@@ -77,7 +78,6 @@
     <dependency>
       <groupId>junit</groupId>
       <artifactId>junit</artifactId>
-      <version>4.7</version>
       <scope>test</scope>
     </dependency>
   </dependencies>
@@ -174,43 +174,6 @@
         <artifactId>maven-surefire-plugin</artifactId>
         <version>2.5</version>
       </plugin>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-site-plugin</artifactId>
-        <configuration>
-          <outputEncoding>UTF-8</outputEncoding>
-        </configuration>
-      </plugin>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-pdf-plugin</artifactId>
-        <executions>
-          <execution>
-            <id>pdf</id>
-            <phase>site</phase>
-            <goals>
-              <goal>pdf</goal>
-            </goals>
-          </execution>
-        </executions>
-        <configuration>
-          <includeReports>false</includeReports>
-          <indentSize>1</indentSize>
-        </configuration>
-      </plugin>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-gpg-plugin</artifactId>
-        <executions>
-          <execution>
-            <id>sign-artifacts</id>
-            <phase>verify</phase>
-            <goals>
-              <goal>sign</goal>
-            </goals>
-          </execution>
-        </executions>
-      </plugin>
     </plugins>
     <resources>
       <resource>
@@ -230,4 +193,53 @@
   <modules>
     <module>core</module>
   </modules>
+  <profiles>
+    <profile>
+      <id>apache-release</id>
+      <activation>
+        <activeByDefault>false</activeByDefault>
+      </activation>
+      <build>
+        <plugins>
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-site-plugin</artifactId>
+            <configuration>
+              <outputEncoding>UTF-8</outputEncoding>
+            </configuration>
+          </plugin>
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-pdf-plugin</artifactId>
+            <executions>
+              <execution>
+                <id>pdf</id>
+                <phase>site</phase>
+                <goals>
+                  <goal>pdf</goal>
+                </goals>
+              </execution>
+            </executions>
+            <configuration>
+              <includeReports>false</includeReports>
+              <indentSize>1</indentSize>
+            </configuration>
+          </plugin>
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-gpg-plugin</artifactId>
+            <executions>
+              <execution>
+                <id>sign-artifacts</id>
+                <phase>verify</phase>
+                <goals>
+                  <goal>sign</goal>
+                </goals>
+              </execution>
+            </executions>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+  </profiles>
 </project>
\ No newline at end of file



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to