[jboss-cvs] JBossAS SVN: r105012 - in projects/metadata/rar/tags: 2.0.0.Alpha7 and 1 other directories.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Thu May 20 01:37:39 EDT 2010
Author: jeff.zhang
Date: 2010-05-20 01:37:39 -0400 (Thu, 20 May 2010)
New Revision: 105012
Added:
projects/metadata/rar/tags/2.0.0.Alpha7/
projects/metadata/rar/tags/2.0.0.Alpha7/pom.xml
projects/metadata/rar/tags/2.0.0.Alpha7/src/main/java/org/jboss/metadata/rar/spec/ConfigPropertyMetaData.java
Removed:
projects/metadata/rar/tags/2.0.0.Alpha7/pom.xml
projects/metadata/rar/tags/2.0.0.Alpha7/src/main/java/org/jboss/metadata/rar/spec/ConfigPropertyMetaData.java
Log:
[maven-release-plugin] copy for tag 2.0.0.Alpha7
Copied: projects/metadata/rar/tags/2.0.0.Alpha7 (from rev 105008, projects/metadata/rar/trunk)
Deleted: projects/metadata/rar/tags/2.0.0.Alpha7/pom.xml
===================================================================
--- projects/metadata/rar/trunk/pom.xml 2010-05-20 01:47:36 UTC (rev 105008)
+++ projects/metadata/rar/tags/2.0.0.Alpha7/pom.xml 2010-05-20 05:37:39 UTC (rev 105012)
@@ -1,125 +0,0 @@
-<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.jboss</groupId>
- <artifactId>jboss-parent</artifactId>
- <version>4.0.CR1</version>
- </parent>
- <groupId>org.jboss.metadata</groupId>
- <artifactId>jboss-metadata-rar</artifactId>
- <packaging>jar</packaging>
- <version>2.0.0-SNAPSHOT</version>
- <name>JBoss Metadata RAR</name>
- <url>http://www.jboss.org</url>
- <description>The common JavaEE metadata classes</description>
- <scm>
- <connection>scm:svn:http://anonsvn.jboss.org/repos/jbossas/projects/metadata/rar/trunk/</connection>
- <developerConnection>scm:svn:https://svn.jboss.org/repos/jbossas/projects/metadata/rar/trunk/</developerConnection>
- </scm>
-
- <build>
- <outputDirectory>${profile.outputDirectory}</outputDirectory>
- <testOutputDirectory>${profile.testOutputDirectory}</testOutputDirectory>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <version>2.4.3</version>
- <configuration>
- <printSummary>true</printSummary>
- <disableXmlReport>false</disableXmlReport>
- <redirectTestOutputToFile>true</redirectTestOutputToFile>
- <testFailureIgnore>false</testFailureIgnore>
- <includes>
- <include>**/*TestCase.java</include>
- </includes>
- </configuration>
- </plugin>
- </plugins>
- </build>
-
- <repositories>
- <repository>
- <id>repository.jboss.org</id>
- <name>JBoss Repository</name>
- <layout>default</layout>
- <url>http://repository.jboss.org/maven2/</url>
- <snapshots>
- <enabled>false</enabled>
- </snapshots>
- </repository>
- <repository>
- <id>snapshots.jboss.org</id>
- <name>JBoss Snapshot Repository</name>
- <layout>default</layout>
- <url>http://snapshots.jboss.org/maven2/</url>
- <releases>
- <enabled>false</enabled>
- </releases>
- <snapshots>
- <enabled>true</enabled>
- </snapshots>
- </repository>
- </repositories>
-
- <!--
- Eclipse settings have been removed from parent. This needs to be
- done via an eclipse profile.
- http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085896#4085896
- -->
- <profiles>
- <profile>
- <id>default</id>
- <activation>
- <activeByDefault>true</activeByDefault>
- </activation>
- <properties>
- <profile.outputDirectory>target/classes</profile.outputDirectory>
- <profile.testOutputDirectory>target/tests-classes</profile.testOutputDirectory>
- </properties>
- </profile>
-
- <profile>
- <id>eclipse</id>
- <properties>
- <profile.outputDirectory>eclipse-target/classes</profile.outputDirectory>
- <profile.testOutputDirectory>eclipse-target/tests-classes</profile.testOutputDirectory>
- </properties>
- </profile>
- </profiles>
-
- <!-- Compile Dependencies -->
- <dependencies>
-
- <dependency>
- <groupId>org.jboss.metadata</groupId>
- <artifactId>jboss-metadata-common</artifactId>
- <version>2.0.0.Alpha11</version>
- </dependency>
-
- <dependency>
- <groupId>org.jboss.metadata</groupId>
- <artifactId>jboss-metadata-common</artifactId>
- <version>2.0.0.Alpha11</version>
- <type>test-jar</type>
- <scope>test</scope>
- </dependency>
-
- <!-- Test Dependencies -->
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>4.4</version>
- <scope>test</scope>
- </dependency>
-
- <dependency>
- <groupId>org.jboss.test</groupId>
- <artifactId>jboss-test</artifactId>
- <version>1.1.4.GA</version>
- <scope>test</scope>
- </dependency>
-
- </dependencies>
-
-</project>
Copied: projects/metadata/rar/tags/2.0.0.Alpha7/pom.xml (from rev 105011, projects/metadata/rar/trunk/pom.xml)
===================================================================
--- projects/metadata/rar/tags/2.0.0.Alpha7/pom.xml (rev 0)
+++ projects/metadata/rar/tags/2.0.0.Alpha7/pom.xml 2010-05-20 05:37:39 UTC (rev 105012)
@@ -0,0 +1,125 @@
+<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.jboss</groupId>
+ <artifactId>jboss-parent</artifactId>
+ <version>4.0.CR1</version>
+ </parent>
+ <groupId>org.jboss.metadata</groupId>
+ <artifactId>jboss-metadata-rar</artifactId>
+ <packaging>jar</packaging>
+ <version>2.0.0.Alpha7</version>
+ <name>JBoss Metadata RAR</name>
+ <url>http://www.jboss.org</url>
+ <description>The common JavaEE metadata classes</description>
+ <scm>
+ <connection>scm:svn:http://anonsvn.jboss.org/repos/jbossas/projects/metadata/rar/tags/2.0.0.Alpha7</connection>
+ <developerConnection>scm:svn:https://svn.jboss.org/repos/jbossas/projects/metadata/rar/tags/2.0.0.Alpha7</developerConnection>
+ </scm>
+
+ <build>
+ <outputDirectory>${profile.outputDirectory}</outputDirectory>
+ <testOutputDirectory>${profile.testOutputDirectory}</testOutputDirectory>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <version>2.4.3</version>
+ <configuration>
+ <printSummary>true</printSummary>
+ <disableXmlReport>false</disableXmlReport>
+ <redirectTestOutputToFile>true</redirectTestOutputToFile>
+ <testFailureIgnore>false</testFailureIgnore>
+ <includes>
+ <include>**/*TestCase.java</include>
+ </includes>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+
+ <repositories>
+ <repository>
+ <id>repository.jboss.org</id>
+ <name>JBoss Repository</name>
+ <layout>default</layout>
+ <url>http://repository.jboss.org/maven2/</url>
+ <snapshots>
+ <enabled>false</enabled>
+ </snapshots>
+ </repository>
+ <repository>
+ <id>snapshots.jboss.org</id>
+ <name>JBoss Snapshot Repository</name>
+ <layout>default</layout>
+ <url>http://snapshots.jboss.org/maven2/</url>
+ <releases>
+ <enabled>false</enabled>
+ </releases>
+ <snapshots>
+ <enabled>true</enabled>
+ </snapshots>
+ </repository>
+ </repositories>
+
+ <!--
+ Eclipse settings have been removed from parent. This needs to be
+ done via an eclipse profile.
+ http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085896#4085896
+ -->
+ <profiles>
+ <profile>
+ <id>default</id>
+ <activation>
+ <activeByDefault>true</activeByDefault>
+ </activation>
+ <properties>
+ <profile.outputDirectory>target/classes</profile.outputDirectory>
+ <profile.testOutputDirectory>target/tests-classes</profile.testOutputDirectory>
+ </properties>
+ </profile>
+
+ <profile>
+ <id>eclipse</id>
+ <properties>
+ <profile.outputDirectory>eclipse-target/classes</profile.outputDirectory>
+ <profile.testOutputDirectory>eclipse-target/tests-classes</profile.testOutputDirectory>
+ </properties>
+ </profile>
+ </profiles>
+
+ <!-- Compile Dependencies -->
+ <dependencies>
+
+ <dependency>
+ <groupId>org.jboss.metadata</groupId>
+ <artifactId>jboss-metadata-common</artifactId>
+ <version>2.0.0.Alpha15</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.jboss.metadata</groupId>
+ <artifactId>jboss-metadata-common</artifactId>
+ <version>2.0.0.Alpha15</version>
+ <type>test-jar</type>
+ <scope>test</scope>
+ </dependency>
+
+ <!-- Test Dependencies -->
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <version>4.4</version>
+ <scope>test</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>org.jboss.test</groupId>
+ <artifactId>jboss-test</artifactId>
+ <version>1.1.4.GA</version>
+ <scope>test</scope>
+ </dependency>
+
+ </dependencies>
+
+</project>
Deleted: projects/metadata/rar/tags/2.0.0.Alpha7/src/main/java/org/jboss/metadata/rar/spec/ConfigPropertyMetaData.java
===================================================================
--- projects/metadata/rar/trunk/src/main/java/org/jboss/metadata/rar/spec/ConfigPropertyMetaData.java 2010-05-20 01:47:36 UTC (rev 105008)
+++ projects/metadata/rar/tags/2.0.0.Alpha7/src/main/java/org/jboss/metadata/rar/spec/ConfigPropertyMetaData.java 2010-05-20 05:37:39 UTC (rev 105012)
@@ -1,186 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2006, Red Hat Middleware LLC, and individual contributors
- * as indicated by the @author tags. See the copyright.txt file in the
- * distribution for a full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jboss.metadata.rar.spec;
-
-import javax.xml.bind.annotation.XmlElement;
-import javax.xml.bind.annotation.XmlType;
-
-import org.jboss.metadata.javaee.support.IdMetaDataImplWithDescriptions;
-import org.jboss.xb.binding.JBossXBRuntimeException;
-
-/**
- * Config property meta data
- *
- * @author <a href="mailto:adrian at jboss.com">Adrian Brock</a>
- * @author Jeff Zhang
- * @version $Revision: 83809 $
- */
- at XmlType(name="config-propertyType",
- propOrder={"descriptions", "name", "type", "value", "ignore", "supportsDynamicUpdates", "confidential"})
-public class ConfigPropertyMetaData extends IdMetaDataImplWithDescriptions
-{
- private static final long serialVersionUID = -3247621229521854849L;
-
- /** The name */
- private String name;
-
- /** The type */
- private String type = "java.lang.String";
-
- /** The value */
- private String value = "";
-
- private boolean ignore;
-
- private boolean supportsDynamicUpdates;
-
- private boolean confidential;
-
- /**
- * Get the name
- *
- * @return the name
- */
- public String getName()
- {
- return name;
- }
-
- /**
- * Set the name
- *
- * @param name the name
- */
- @XmlElement(name="config-property-name", required=true)
- public void setName(String name)
- {
- this.name = name;
- }
-
- /**
- * Get the type
- *
- * @return the type
- */
- public String getType()
- {
- return type;
- }
-
- /**
- * Set the type
- *
- * @param type the type
- */
- @XmlElement(name="config-property-type", required=true)
- public void setType(String type)
- {
- if (type != null)
- {
- if (type.equals("java.lang.Boolean") ||
- type.equals("java.lang.String") ||
- type.equals("java.lang.Integer") ||
- type.equals("java.lang.Double") ||
- type.equals("java.lang.Byte") ||
- type.equals("java.lang.Short") ||
- type.equals("java.lang.Long") ||
- type.equals("java.lang.Float") ||
- type.equals("java.lang.Character"))
- this.type = type;
- else
- throw new JBossXBRuntimeException("config-property-type contains an invalid value: " + type);
- }
- }
-
- /**
- * Get the value
- *
- * @return the value
- */
- public String getValue()
- {
- return value;
- }
-
- /**
- * Set the value
- *
- * @param value the value
- */
- @XmlElement(name="config-property-value")
- public void setValue(String value)
- {
- this.value = value;
- }
-
-
- public boolean isIgnore()
- {
- return ignore;
- }
-
- @XmlElement(name="config-property-ignore")
- public void setIgnore(boolean ignore)
- {
- this.ignore = ignore;
- }
-
- @XmlElement(name="config-property-supports-dynamic-updates")
- public void setSupportsDynamicUpdates(boolean supportsDynamicUpdates)
- {
- this.supportsDynamicUpdates = supportsDynamicUpdates;
- }
-
- public boolean isSupportsDynamicUpdates()
- {
- return supportsDynamicUpdates;
- }
-
- @XmlElement(name="config-property-confidential")
- public void setConfidential(boolean confidential)
- {
- this.confidential = confidential;
- }
-
- public boolean isConfidential()
- {
- return confidential;
- }
-
- public String toString()
- {
- StringBuffer buffer = new StringBuffer();
- buffer.append("ConfigPropertyMetaData").append('@');
- buffer.append(Integer.toHexString(System.identityHashCode(this)));
- buffer.append("[name=").append(name);
- if (type != null)
- buffer.append(" type=").append(type);
- if (value != null)
- buffer.append(" value=").append(value);
- buffer.append(" ignore=").append(isIgnore());
- buffer.append(" supportsDynamicUpdates=").append(isSupportsDynamicUpdates());
- buffer.append(" confidential=").append(isConfidential());
- buffer.append(']');
- return buffer.toString();
- }
-
-}
Copied: projects/metadata/rar/tags/2.0.0.Alpha7/src/main/java/org/jboss/metadata/rar/spec/ConfigPropertyMetaData.java (from rev 105009, projects/metadata/rar/trunk/src/main/java/org/jboss/metadata/rar/spec/ConfigPropertyMetaData.java)
===================================================================
--- projects/metadata/rar/tags/2.0.0.Alpha7/src/main/java/org/jboss/metadata/rar/spec/ConfigPropertyMetaData.java (rev 0)
+++ projects/metadata/rar/tags/2.0.0.Alpha7/src/main/java/org/jboss/metadata/rar/spec/ConfigPropertyMetaData.java 2010-05-20 05:37:39 UTC (rev 105012)
@@ -0,0 +1,194 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.metadata.rar.spec;
+
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+import org.jboss.metadata.javaee.support.IdMetaDataImplWithDescriptions;
+import org.jboss.xb.binding.JBossXBRuntimeException;
+
+/**
+ * Config property meta data
+ *
+ * @author <a href="mailto:adrian at jboss.com">Adrian Brock</a>
+ * @author Jeff Zhang
+ * @version $Revision: 83809 $
+ */
+ at XmlType(name="config-propertyType",
+ propOrder={"descriptions", "name", "type", "value", "ignore", "supportsDynamicUpdates", "confidential"})
+public class ConfigPropertyMetaData extends IdMetaDataImplWithDescriptions
+{
+ private static final long serialVersionUID = -3247621229521854849L;
+
+ /** The name */
+ private String name;
+
+ /** The type */
+ private String type = "java.lang.String";
+
+ /** The value */
+ private String value = "";
+
+ private boolean ignore;
+
+ private boolean supportsDynamicUpdates;
+
+ private boolean confidential;
+
+ private boolean valueSet = false;
+
+ /**
+ * Get the name
+ *
+ * @return the name
+ */
+ public String getName()
+ {
+ return name;
+ }
+
+ /**
+ * Set the name
+ *
+ * @param name the name
+ */
+ @XmlElement(name="config-property-name", required=true)
+ public void setName(String name)
+ {
+ this.name = name;
+ }
+
+ /**
+ * Get the type
+ *
+ * @return the type
+ */
+ public String getType()
+ {
+ return type;
+ }
+
+ /**
+ * Set the type
+ *
+ * @param type the type
+ */
+ @XmlElement(name="config-property-type", required=true)
+ public void setType(String type)
+ {
+ if (type != null)
+ {
+ if (type.equals("java.lang.Boolean") ||
+ type.equals("java.lang.String") ||
+ type.equals("java.lang.Integer") ||
+ type.equals("java.lang.Double") ||
+ type.equals("java.lang.Byte") ||
+ type.equals("java.lang.Short") ||
+ type.equals("java.lang.Long") ||
+ type.equals("java.lang.Float") ||
+ type.equals("java.lang.Character"))
+ this.type = type;
+ else
+ throw new JBossXBRuntimeException("config-property-type contains an invalid value: " + type);
+ }
+ }
+
+ /**
+ * Get the value
+ *
+ * @return the value
+ */
+ public String getValue()
+ {
+ return value;
+ }
+
+ /**
+ * Set the value
+ *
+ * @param value the value
+ */
+ @XmlElement(name="config-property-value")
+ public void setValue(String value)
+ {
+ this.value = value;
+ this.valueSet = true;
+ }
+
+
+ public boolean isIgnore()
+ {
+ return ignore;
+ }
+
+ @XmlElement(name="config-property-ignore")
+ public void setIgnore(boolean ignore)
+ {
+ this.ignore = ignore;
+ }
+
+ @XmlElement(name="config-property-supports-dynamic-updates")
+ public void setSupportsDynamicUpdates(boolean supportsDynamicUpdates)
+ {
+ this.supportsDynamicUpdates = supportsDynamicUpdates;
+ }
+
+ public boolean isSupportsDynamicUpdates()
+ {
+ return supportsDynamicUpdates;
+ }
+
+ @XmlElement(name="config-property-confidential")
+ public void setConfidential(boolean confidential)
+ {
+ this.confidential = confidential;
+ }
+
+ public boolean isConfidential()
+ {
+ return confidential;
+ }
+
+ public boolean isValueSet()
+ {
+ return valueSet;
+ }
+
+ public String toString()
+ {
+ StringBuffer buffer = new StringBuffer();
+ buffer.append("ConfigPropertyMetaData").append('@');
+ buffer.append(Integer.toHexString(System.identityHashCode(this)));
+ buffer.append("[name=").append(name);
+ if (type != null)
+ buffer.append(" type=").append(type);
+ if (value != null)
+ buffer.append(" value=").append(value);
+ buffer.append(" ignore=").append(isIgnore());
+ buffer.append(" supportsDynamicUpdates=").append(isSupportsDynamicUpdates());
+ buffer.append(" confidential=").append(isConfidential());
+ buffer.append(']');
+ return buffer.toString();
+ }
+
+}
More information about the jboss-cvs-commits
mailing list