diff --git a/README.md b/README.md index d02f9ab..f7d0822 100644 --- a/README.md +++ b/README.md @@ -8,8 +8,8 @@ Additionally it includes simple schemaless converter that converts xml to avro a 1. git clone; 2. mvn package; 3. java -jar target/xml-avro*.jar {} {} // converts specified xml+xsd to avro+asvc files -4. java -cp target/xml-avro*.jar ly.stealth.xmlavro.simple.Converter avro // convert xml to avro -5. java -cp target/xml-avro*.jar ly.stealth.xmlavro.simple.Converter xml // convert avro to xml +4. java -cp target/xml-avro*.jar net.elodina.xmlavro.simple.Converter avro // convert xml to avro +5. java -cp target/xml-avro*.jar net.elodina.xmlavro.simple.Converter xml // convert avro to xml ## Schema-based converter Usage: diff --git a/pom.xml b/pom.xml index 17b0db0..2c9a4f6 100644 --- a/pom.xml +++ b/pom.xml @@ -2,9 +2,9 @@ 4.0.0 - ly.stealth + net.elodina xml-avro - 0.0.1-SNAPSHOT + 0.0.2-SNAPSHOT @@ -92,7 +92,7 @@ - ly.stealth.xmlavro.Converter + net.elodina.xmlavro.Converter diff --git a/src/ly/stealth/xmlavro/Converter.java b/src/net/elodina/xmlavro/Converter.java similarity index 99% rename from src/ly/stealth/xmlavro/Converter.java rename to src/net/elodina/xmlavro/Converter.java index 87a07a5..cf64691 100644 --- a/src/ly/stealth/xmlavro/Converter.java +++ b/src/net/elodina/xmlavro/Converter.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package ly.stealth.xmlavro; +package net.elodina.xmlavro; import org.apache.avro.Schema; import org.apache.avro.io.DatumWriter; diff --git a/src/ly/stealth/xmlavro/ConverterException.java b/src/net/elodina/xmlavro/ConverterException.java similarity index 90% rename from src/ly/stealth/xmlavro/ConverterException.java rename to src/net/elodina/xmlavro/ConverterException.java index 88338c9..37e0431 100644 --- a/src/ly/stealth/xmlavro/ConverterException.java +++ b/src/net/elodina/xmlavro/ConverterException.java @@ -1,4 +1,4 @@ -package ly.stealth.xmlavro; +package net.elodina.xmlavro; public class ConverterException extends RuntimeException { public ConverterException(String message) { super(message); } diff --git a/src/ly/stealth/xmlavro/DatumBuilder.java b/src/net/elodina/xmlavro/DatumBuilder.java similarity index 99% rename from src/ly/stealth/xmlavro/DatumBuilder.java rename to src/net/elodina/xmlavro/DatumBuilder.java index 658efee..20d0ba8 100644 --- a/src/ly/stealth/xmlavro/DatumBuilder.java +++ b/src/net/elodina/xmlavro/DatumBuilder.java @@ -1,4 +1,4 @@ -package ly.stealth.xmlavro; +package net.elodina.xmlavro; import org.apache.avro.Schema; import org.apache.avro.generic.GenericData; diff --git a/src/ly/stealth/xmlavro/SchemaBuilder.java b/src/net/elodina/xmlavro/SchemaBuilder.java similarity index 99% rename from src/ly/stealth/xmlavro/SchemaBuilder.java rename to src/net/elodina/xmlavro/SchemaBuilder.java index 8feff57..4d10633 100644 --- a/src/ly/stealth/xmlavro/SchemaBuilder.java +++ b/src/net/elodina/xmlavro/SchemaBuilder.java @@ -1,4 +1,4 @@ -package ly.stealth.xmlavro; +package net.elodina.xmlavro; import org.apache.avro.Schema; import org.apache.xerces.dom.DOMInputImpl; diff --git a/src/ly/stealth/xmlavro/Source.java b/src/net/elodina/xmlavro/Source.java similarity index 97% rename from src/ly/stealth/xmlavro/Source.java rename to src/net/elodina/xmlavro/Source.java index 25a0b4e..9b988cb 100644 --- a/src/ly/stealth/xmlavro/Source.java +++ b/src/net/elodina/xmlavro/Source.java @@ -1,4 +1,4 @@ -package ly.stealth.xmlavro; +package net.elodina.xmlavro; import java.util.Objects; diff --git a/src/ly/stealth/xmlavro/simple/Converter.java b/src/net/elodina/xmlavro/simple/Converter.java similarity index 99% rename from src/ly/stealth/xmlavro/simple/Converter.java rename to src/net/elodina/xmlavro/simple/Converter.java index 23f1855..2f8b927 100644 --- a/src/ly/stealth/xmlavro/simple/Converter.java +++ b/src/net/elodina/xmlavro/simple/Converter.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package ly.stealth.xmlavro.simple; +package net.elodina.xmlavro.simple; import org.apache.avro.Protocol; import org.apache.avro.Schema; diff --git a/src/ly/stealth/xmlavro/simple/xml.avsc b/src/net/elodina/xmlavro/simple/xml.avsc similarity index 93% rename from src/ly/stealth/xmlavro/simple/xml.avsc rename to src/net/elodina/xmlavro/simple/xml.avsc index 24264c4..045918e 100644 --- a/src/ly/stealth/xmlavro/simple/xml.avsc +++ b/src/net/elodina/xmlavro/simple/xml.avsc @@ -1,5 +1,5 @@ { - "namespace": "ly.stealth.xmlavro", + "namespace": "net.elodina.xmlavro", "protocol": "xml", "types": [ diff --git a/test/ly/stealth/xmlavro/ConverterTest.java b/test/ly/stealth/xmlavro/ConverterTest.java index f2df39d..ebe7dcb 100644 --- a/test/ly/stealth/xmlavro/ConverterTest.java +++ b/test/ly/stealth/xmlavro/ConverterTest.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package ly.stealth.xmlavro; +package net.elodina.xmlavro; import org.apache.avro.Schema; import org.apache.avro.generic.GenericData;