Author: kono
Date: 2011-05-11 15:36:31 -0700 (Wed, 11 May 2011)
New Revision: 25013

Modified:
   
core3/archetypes/trunk/bundle-plugin/src/main/resources/archetype-resources/pom.xml
   
core3/archetypes/trunk/bundle-plugin/src/main/resources/archetype-resources/src/main/java/internal/Cy3PluginImpl.java
Log:
Logger dependency had been added.

Modified: 
core3/archetypes/trunk/bundle-plugin/src/main/resources/archetype-resources/pom.xml
===================================================================
--- 
core3/archetypes/trunk/bundle-plugin/src/main/resources/archetype-resources/pom.xml
 2011-05-11 22:21:35 UTC (rev 25012)
+++ 
core3/archetypes/trunk/bundle-plugin/src/main/resources/archetype-resources/pom.xml
 2011-05-11 22:36:31 UTC (rev 25013)
@@ -1,16 +1,17 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd";>
+<project xmlns="http://maven.apache.org/POM/4.0.0"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
+       xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd";>
 
-       <properties>
-               
<bundle.symbolicName>org.cytoscape.bundle-plugin</bundle.symbolicName>
-               <bundle.namespace>org.cytoscape.plugin</bundle.namespace>
-       </properties>
-
        <modelVersion>4.0.0</modelVersion>
        <groupId>${groupId}</groupId>
        <artifactId>${artifactId}</artifactId>
        <version>${version}</version>
 
+       <properties>
+               
<bundle.symbolicName>${groupId}.${artifactId}</bundle.symbolicName>
+               <bundle.namespace>${groupId}.${artifactId}</bundle.namespace>
+       </properties>
+
        <name>${bundle.symbolicName} [${bundle.namespace}]</name>
 
        <packaging>bundle</packaging>
@@ -93,6 +94,16 @@
 
        <!-- Dependencies needed to compile this project. -->
        <dependencies>
+
+
+               <!-- This is for logging  -->
+               <dependency>
+                       <groupId>org.ops4j.pax.logging</groupId>
+                       <artifactId>pax-logging-api</artifactId>
+                       <version>1.5.2</version>
+                       <scope>provided</scope>
+               </dependency>
+               
                <!-- dependencies specifically for unit testing -->
                <dependency>
                        <groupId>junit</groupId>

Modified: 
core3/archetypes/trunk/bundle-plugin/src/main/resources/archetype-resources/src/main/java/internal/Cy3PluginImpl.java
===================================================================
--- 
core3/archetypes/trunk/bundle-plugin/src/main/resources/archetype-resources/src/main/java/internal/Cy3PluginImpl.java
       2011-05-11 22:21:35 UTC (rev 25012)
+++ 
core3/archetypes/trunk/bundle-plugin/src/main/resources/archetype-resources/src/main/java/internal/Cy3PluginImpl.java
       2011-05-11 22:36:31 UTC (rev 25013)
@@ -3,12 +3,21 @@
 #set( $symbol_escape = '\' )
 package ${package}.internal;
 
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
 import ${package}.Cy3Plugin;
 
 public class Cy3PluginImpl implements Cy3Plugin {
+       
+       private static final Logger logger = 
LoggerFactory.getLogger(Cy3PluginImpl.class);
+       
+       public Cy3PluginImpl() {
+               logger.debug("An instance of Cy3PluginImpl has been created.");
+       }
 
        public void doSomething() {
-               
+               // Write your function here.
        }
 
 }

-- 
You received this message because you are subscribed to the Google Groups 
"cytoscape-cvs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/cytoscape-cvs?hl=en.

Reply via email to