liujiankang 7 лет назад
Родитель
Сommit
060eaa68de

+ 15 - 0
iamberry-common-parent/iamberry-common-config/.classpath

@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+	<classpathentry including="**/*.java" kind="src" path="src"/>
+	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7">
+		<attributes>
+			<attribute name="maven.pomderived" value="true"/>
+		</attributes>
+	</classpathentry>
+	<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
+		<attributes>
+			<attribute name="maven.pomderived" value="true"/>
+		</attributes>
+	</classpathentry>
+	<classpathentry kind="output" path="target/classes"/>
+</classpath>

+ 36 - 0
iamberry-common-parent/iamberry-common-config/.project

@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+	<name>iamberry-common-config</name>
+	<comment></comment>
+	<projects>
+	</projects>
+	<buildSpec>
+		<buildCommand>
+			<name>org.eclipse.wst.common.project.facet.core.builder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+		<buildCommand>
+			<name>org.eclipse.jdt.core.javabuilder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+		<buildCommand>
+			<name>org.eclipse.wst.validation.validationbuilder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+		<buildCommand>
+			<name>org.eclipse.m2e.core.maven2Builder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+	</buildSpec>
+	<natures>
+		<nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
+		<nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
+		<nature>org.eclipse.jdt.core.javanature</nature>
+		<nature>org.eclipse.m2e.core.maven2Nature</nature>
+		<nature>org.eclipse.wst.common.project.facet.core.nature</nature>
+	</natures>
+</projectDescription>

+ 6 - 0
iamberry-common-parent/iamberry-common-config/.settings/org.eclipse.core.resources.prefs

@@ -0,0 +1,6 @@
+eclipse.preferences.version=1
+encoding//src/main/java=UTF-8
+encoding//src/main/resources=UTF-8
+encoding//src/test/java=UTF-8
+encoding//src/test/resources=UTF-8
+encoding/<project>=UTF-8

+ 13 - 0
iamberry-common-parent/iamberry-common-config/.settings/org.eclipse.jdt.core.prefs

@@ -0,0 +1,13 @@
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
+org.eclipse.jdt.core.compiler.codegen.methodParameters=do not generate
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7
+org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
+org.eclipse.jdt.core.compiler.compliance=1.7
+org.eclipse.jdt.core.compiler.debug.lineNumber=generate
+org.eclipse.jdt.core.compiler.debug.localVariable=generate
+org.eclipse.jdt.core.compiler.debug.sourceFile=generate
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning
+org.eclipse.jdt.core.compiler.source=1.7

+ 4 - 0
iamberry-common-parent/iamberry-common-config/bin/test/resources/zk.properties

@@ -0,0 +1,4 @@
+#zookeeper \u5730\u5740 black
+#zookeeper.addr=zookeeper://120.76.229.31:2181?backup=112.74.68.5:2181,120.76.152.52:2181,120.76.156.82:2181,120.76.99.239:2181
+zookeeper.addr=zookeeper://127.0.0.1:2181
+dubbo.register.type=zookeeper

+ 13 - 0
iamberry-common-parent/iamberry-common-config/pom.xml

@@ -0,0 +1,13 @@
+<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/xsd/maven-4.0.0.xsd">
+	<modelVersion>4.0.0</modelVersion>
+	
+	<!-- 父类定义 -->
+	<parent>
+		<groupId>com.iamberry</groupId>
+		<artifactId>iamberry-parent</artifactId>
+		<version>1.0.0</version>
+	</parent>
+	<artifactId>iamberry-common-config</artifactId>
+	<!-- config不依赖其他模块,可以对外引用 -->
+</project>

+ 4 - 0
iamberry-common-parent/iamberry-common-config/src/test/resources/zk.properties

@@ -0,0 +1,4 @@
+#zookeeper \u5730\u5740 black
+#zookeeper.addr=zookeeper://120.76.229.31:2181?backup=112.74.68.5:2181,120.76.152.52:2181,120.76.156.82:2181,120.76.99.239:2181
+zookeeper.addr=zookeeper://127.0.0.1:2181
+dubbo.register.type=zookeeper

BIN
iamberry-common-parent/iamberry-common-config/target/iamberry-common-config-1.0.0.jar


+ 5 - 0
iamberry-common-parent/iamberry-common-config/target/maven-archiver/pom.properties

@@ -0,0 +1,5 @@
+#Generated by Maven
+#Tue Nov 15 09:17:01 CST 2016
+version=1.0.0
+groupId=com.iamberry
+artifactId=iamberry-common-config

+ 4 - 0
iamberry-common-parent/iamberry-common-config/target/test-classes/zk.properties

@@ -0,0 +1,4 @@
+#zookeeper \u5730\u5740 black
+#zookeeper.addr=zookeeper://120.76.229.31:2181?backup=112.74.68.5:2181,120.76.152.52:2181,120.76.156.82:2181,120.76.99.239:2181
+zookeeper.addr=zookeeper://127.0.0.1:2181
+dubbo.register.type=zookeeper