You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicemix.apache.org by lh...@apache.org on 2008/10/17 17:50:26 UTC

svn commit: r705647 - in /servicemix/archetypes/trunk: ./ servicemix-snmp-service-unit/ servicemix-snmp-service-unit/src/ servicemix-snmp-service-unit/src/main/ servicemix-snmp-service-unit/src/main/resources/ servicemix-snmp-service-unit/src/main/reso...

Author: lhein
Date: Fri Oct 17 08:50:25 2008
New Revision: 705647

URL: http://svn.apache.org/viewvc?rev=705647&view=rev
Log:
added archetype for new snmp bc

Added:
    servicemix/archetypes/trunk/servicemix-snmp-service-unit/
    servicemix/archetypes/trunk/servicemix-snmp-service-unit/pom.xml   (with props)
    servicemix/archetypes/trunk/servicemix-snmp-service-unit/src/
    servicemix/archetypes/trunk/servicemix-snmp-service-unit/src/main/
    servicemix/archetypes/trunk/servicemix-snmp-service-unit/src/main/resources/
    servicemix/archetypes/trunk/servicemix-snmp-service-unit/src/main/resources/META-INF/
    servicemix/archetypes/trunk/servicemix-snmp-service-unit/src/main/resources/META-INF/maven/
    servicemix/archetypes/trunk/servicemix-snmp-service-unit/src/main/resources/META-INF/maven/archetype.xml   (with props)
    servicemix/archetypes/trunk/servicemix-snmp-service-unit/src/main/resources/archetype-resources/
    servicemix/archetypes/trunk/servicemix-snmp-service-unit/src/main/resources/archetype-resources/pom.xml   (with props)
    servicemix/archetypes/trunk/servicemix-snmp-service-unit/src/main/resources/archetype-resources/src/
    servicemix/archetypes/trunk/servicemix-snmp-service-unit/src/main/resources/archetype-resources/src/main/
    servicemix/archetypes/trunk/servicemix-snmp-service-unit/src/main/resources/archetype-resources/src/main/resources/
    servicemix/archetypes/trunk/servicemix-snmp-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml   (with props)
Modified:
    servicemix/archetypes/trunk/pom.xml

Modified: servicemix/archetypes/trunk/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/archetypes/trunk/pom.xml?rev=705647&r1=705646&r2=705647&view=diff
==============================================================================
--- servicemix/archetypes/trunk/pom.xml (original)
+++ servicemix/archetypes/trunk/pom.xml Fri Oct 17 08:50:25 2008
@@ -68,6 +68,7 @@
     <module>servicemix-osworkflow-service-unit</module>
     <module>servicemix-mail-service-unit</module>
     <module>servicemix-scripting-service-unit</module>
+    <module>servicemix-snmp-service-unit</module>
     <module>servicemix-validation-service-unit</module>
     <module>servicemix-archetype-catalog</module>
     <module>servicemix-project-root</module>

Added: servicemix/archetypes/trunk/servicemix-snmp-service-unit/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/archetypes/trunk/servicemix-snmp-service-unit/pom.xml?rev=705647&view=auto
==============================================================================
--- servicemix/archetypes/trunk/servicemix-snmp-service-unit/pom.xml (added)
+++ servicemix/archetypes/trunk/servicemix-snmp-service-unit/pom.xml Fri Oct 17 08:50:25 2008
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one or more
+    contributor license agreements.  See the NOTICE file distributed with
+    this work for additional information regarding copyright ownership.
+    The ASF licenses this file to You under the Apache License, Version 2.0
+    (the "License"); you may not use this file except in compliance with
+    the License.  You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+-->
+
+<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">
+  <modelVersion>4.0.0</modelVersion>
+
+  <parent>
+    <groupId>org.apache.servicemix</groupId>
+    <artifactId>archetypes</artifactId>
+    <version>2008.01-SNAPSHOT</version>
+  </parent>
+
+  <groupId>org.apache.servicemix.tooling</groupId>
+  <artifactId>servicemix-snmp-service-unit</artifactId>
+  <name>ServiceMix :: Archetypes :: SnmpServiceUnit</name>
+
+</project>

Propchange: servicemix/archetypes/trunk/servicemix-snmp-service-unit/pom.xml
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: servicemix/archetypes/trunk/servicemix-snmp-service-unit/src/main/resources/META-INF/maven/archetype.xml
URL: http://svn.apache.org/viewvc/servicemix/archetypes/trunk/servicemix-snmp-service-unit/src/main/resources/META-INF/maven/archetype.xml?rev=705647&view=auto
==============================================================================
--- servicemix/archetypes/trunk/servicemix-snmp-service-unit/src/main/resources/META-INF/maven/archetype.xml (added)
+++ servicemix/archetypes/trunk/servicemix-snmp-service-unit/src/main/resources/META-INF/maven/archetype.xml Fri Oct 17 08:50:25 2008
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one or more
+    contributor license agreements.  See the NOTICE file distributed with
+    this work for additional information regarding copyright ownership.
+    The ASF licenses this file to You under the Apache License, Version 2.0
+    (the "License"); you may not use this file except in compliance with
+    the License.  You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+
+-->
+<archetype>
+  <id>servicemix-su</id>
+  <resources>
+    <resource>src/main/resources/xbean.xml</resource>
+  </resources>
+</archetype>

Propchange: servicemix/archetypes/trunk/servicemix-snmp-service-unit/src/main/resources/META-INF/maven/archetype.xml
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: servicemix/archetypes/trunk/servicemix-snmp-service-unit/src/main/resources/archetype-resources/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/archetypes/trunk/servicemix-snmp-service-unit/src/main/resources/archetype-resources/pom.xml?rev=705647&view=auto
==============================================================================
--- servicemix/archetypes/trunk/servicemix-snmp-service-unit/src/main/resources/archetype-resources/pom.xml (added)
+++ servicemix/archetypes/trunk/servicemix-snmp-service-unit/src/main/resources/archetype-resources/pom.xml Fri Oct 17 08:50:25 2008
@@ -0,0 +1,57 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one or more
+    contributor license agreements.  See the NOTICE file distributed with
+    this work for additional information regarding copyright ownership.
+    The ASF licenses this file to You under the Apache License, Version 2.0
+    (the "License"); you may not use this file except in compliance with
+    the License.  You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+
+-->
+<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">
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>${groupId}</groupId>
+  <artifactId>${artifactId}</artifactId>
+  <packaging>jbi-service-unit</packaging>
+  <version>${version}</version>
+  <name>A snmp poll service unit</name>
+  <url>http://www.myorganization.org</url>
+
+  @{repositories}
+
+  <properties>
+    <componentName>servicemix-snmp</componentName>
+  </properties>
+
+  <build>
+    <resources>
+      <resource>
+        <directory>src/main/resources</directory>
+        <includes>
+          <include>**/*</include>
+        </includes>
+      </resource>
+    </resources>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.servicemix.tooling</groupId>
+        <artifactId>jbi-maven-plugin</artifactId>
+        <version>@{jbi-maven-plugin-version}</version>
+        <extensions>true</extensions>
+        <configuration>
+          <type>service-unit</type>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
+</project>

Propchange: servicemix/archetypes/trunk/servicemix-snmp-service-unit/src/main/resources/archetype-resources/pom.xml
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: servicemix/archetypes/trunk/servicemix-snmp-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml
URL: http://svn.apache.org/viewvc/servicemix/archetypes/trunk/servicemix-snmp-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml?rev=705647&view=auto
==============================================================================
--- servicemix/archetypes/trunk/servicemix-snmp-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml (added)
+++ servicemix/archetypes/trunk/servicemix-snmp-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml Fri Oct 17 08:50:25 2008
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one or more
+    contributor license agreements.  See the NOTICE file distributed with
+    this work for additional information regarding copyright ownership.
+    The ASF licenses this file to You under the Apache License, Version 2.0
+    (the "License"); you may not use this file except in compliance with
+    the License.  You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+
+-->
+<beans xmlns:snmp="http://servicemix.apache.org/snmp/1.0"
+       xmlns:replaceMe="http://servicemix.apache.org/replaceMe"
+       xmlns="http://www.springframework.org/schema/beans"
+       xmlns:xsi="http://http://www.w3.org/2001/XMLSchema-instance"
+       xsi:schemaLocation="http://servicemix.apache.org/file/1.0 http://servicemix.apache.org/schema/servicemix-file-@{servicemix-version}.xsd
+       http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd">
+
+ <snmp:sender service="replaceMe:withYourService"
+              endpoint="endpoint"
+              targetService="replaceMe:targetService"
+              address="udp:127.0.0.1/616"
+              oids="1.3.6.1.2.1.1.3.0 , 1.3.6.1.2.1.25.3.2.1.5.1 , 1.3.6.1.2.1.25.3.5.1.1.1 , 1.3.6.1.2.1.43.5.1.1.11.1" />
+         <!-- oids="classpath:oids.txt" /> -->
+
+</beans>

Propchange: servicemix/archetypes/trunk/servicemix-snmp-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml
------------------------------------------------------------------------------
    svn:mime-type = text/plain