Commit f64776123a06f63101f1ed21977a46e511e37768

Authored by bernard
1 parent a78d1343

Repackage pl.com.it_crowd to pl.itcrowd

Showing 33 changed files with 84 additions and 83 deletions
... ... @@ -3,7 +3,7 @@
3 3 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4 4 <modelVersion>4.0.0</modelVersion>
5 5
6   - <groupId>pl.com.it-crowd</groupId>
  6 + <groupId>pl.itcrowd</groupId>
7 7 <artifactId>youtrack-rest-api</artifactId>
8 8 <version>1.1.0-SNAPSHOT</version>
9 9
... ... @@ -68,7 +68,7 @@
68 68 </execution>
69 69 </executions>
70 70 <configuration>
71   - <packageName>pl.com.it_crowd.youtrack.api.rest</packageName>
  71 + <packageName>pl.itcrowd.youtrack.api.rest</packageName>
72 72 <outputDirectory>${project.build.sourceDirectory}</outputDirectory>
73 73 <clearOutputDir>false</clearOutputDir>
74 74 <extension>false</extension>
... ... @@ -87,19 +87,19 @@
87 87
88 88 <distributionManagement>
89 89 <repository>
90   - <id>it-crowd.com.pl</id>
91   - <name>MyCo Internal Repository</name>
92   - <url>http://artifactory.it-crowd.com.pl/libs-release-local</url>
  90 + <id>itcrowd.pl</id>
  91 + <name>IT Crowd company internal repository</name>
  92 + <url>http://artifactory.itcrowd.pl/libs-release-local</url>
93 93 </repository>
94 94 <snapshotRepository>
95   - <id>it-crowd.com.pl</id>
96   - <name>MyCo Internal Repository</name>
97   - <url>http://artifactory.it-crowd.com.pl/libs-snapshot-local</url>
  95 + <id>itcrowd.pl</id>
  96 + <name>IT Crowd company internal repository</name>
  97 + <url>http://artifactory.itcrowd.pl/libs-snapshot-local</url>
98 98 </snapshotRepository>
99 99 </distributionManagement>
100 100
101 101 <scm>
102   - <developerConnection>scm:svn:https://it-crowd.com.pl/svn/youtrack-rest-api/trunk</developerConnection>
  102 + <developerConnection>scm:svn:https://itcrowd.pl/svn/youtrack-rest-api/trunk</developerConnection>
103 103 </scm>
104 104
105 105 </project>
... ...
1   -package pl.com.it_crowd.youtrack.api;
  1 +package pl.it_crowd.youtrack.api;
2 2
3   -import pl.com.it_crowd.youtrack.api.defaults.Fields;
4   -import pl.com.it_crowd.youtrack.api.defaults.StateValues;
  3 +import pl.it_crowd.youtrack.api.defaults.Fields;
  4 +import pl.it_crowd.youtrack.api.defaults.StateValues;
5 5
6 6 public class Command {
7 7 // ------------------------------ FIELDS ------------------------------
... ...
1   -package pl.com.it_crowd.youtrack.api;
  1 +package pl.it_crowd.youtrack.api;
2 2
3 3 public interface Commander {
4 4 // -------------------------- OTHER METHODS --------------------------
... ...
1   -package pl.com.it_crowd.youtrack.api;
  1 +package pl.it_crowd.youtrack.api;
2 2
3 3 import org.apache.commons.io.IOUtils;
4   -import pl.com.it_crowd.youtrack.api.rest.ObjectFactory;
  4 +import pl.it_crowd.youtrack.api.rest.ObjectFactory;
5 5
6 6 import javax.xml.bind.JAXBContext;
7 7 import javax.xml.bind.JAXBElement;
... ...
1   -package pl.com.it_crowd.youtrack.api;
  1 +package pl.it_crowd.youtrack.api;
2 2
3   -import pl.com.it_crowd.youtrack.api.defaults.DateValues;
4   -import pl.com.it_crowd.youtrack.api.defaults.Fields;
5   -import pl.com.it_crowd.youtrack.api.defaults.StateValues;
  3 +import pl.it_crowd.youtrack.api.defaults.DateValues;
  4 +import pl.it_crowd.youtrack.api.defaults.Fields;
  5 +import pl.it_crowd.youtrack.api.defaults.StateValues;
6 6
7 7 import java.util.ArrayList;
8 8 import java.util.List;
... ...
1   -package pl.com.it_crowd.youtrack.api;
  1 +package pl.it_crowd.youtrack.api;
2 2
3 3 import org.apache.commons.logging.Log;
4 4 import org.apache.commons.logging.LogFactory;
5   -import pl.com.it_crowd.youtrack.api.defaults.Fields;
6   -import pl.com.it_crowd.youtrack.api.rest.Comment;
7   -import pl.com.it_crowd.youtrack.api.rest.Field;
8   -import pl.com.it_crowd.youtrack.api.rest.Issue;
  5 +import pl.it_crowd.youtrack.api.defaults.Fields;
  6 +import pl.it_crowd.youtrack.api.rest.Comment;
  7 +import pl.it_crowd.youtrack.api.rest.Field;
  8 +import pl.it_crowd.youtrack.api.rest.Issue;
9 9
10 10 import java.io.Serializable;
11 11 import java.util.ArrayList;
... ...
1   -package pl.com.it_crowd.youtrack.api;
  1 +package pl.it_crowd.youtrack.api;
2 2
3 3 import java.net.URI;
4 4 import java.net.URISyntaxException;
... ...
1   -package pl.com.it_crowd.youtrack.api;
  1 +package pl.it_crowd.youtrack.api;
2 2
3 3 import org.apache.commons.logging.Log;
4 4 import org.apache.commons.logging.LogFactory;
... ... @@ -28,16 +28,16 @@ import org.apache.http.impl.conn.PoolingClientConnectionManager;
28 28 import org.apache.http.impl.conn.SchemeRegistryFactory;
29 29 import org.apache.http.message.BasicNameValuePair;
30 30 import org.apache.http.util.EntityUtils;
31   -import pl.com.it_crowd.youtrack.api.defaults.Fields;
32   -import pl.com.it_crowd.youtrack.api.exceptions.NoResultFoundException;
33   -import pl.com.it_crowd.youtrack.api.exceptions.YoutrackAPIException;
34   -import pl.com.it_crowd.youtrack.api.exceptions.YoutrackErrorException;
35   -import pl.com.it_crowd.youtrack.api.rest.AssigneeList;
36   -import pl.com.it_crowd.youtrack.api.rest.Enumeration;
37   -import pl.com.it_crowd.youtrack.api.rest.Issue;
38   -import pl.com.it_crowd.youtrack.api.rest.Issues;
39   -import pl.com.it_crowd.youtrack.api.rest.User;
40   -import pl.com.it_crowd.youtrack.api.rest.UserRefs;
  31 +import pl.it_crowd.youtrack.api.defaults.Fields;
  32 +import pl.it_crowd.youtrack.api.exceptions.NoResultFoundException;
  33 +import pl.it_crowd.youtrack.api.exceptions.YoutrackAPIException;
  34 +import pl.it_crowd.youtrack.api.exceptions.YoutrackErrorException;
  35 +import pl.it_crowd.youtrack.api.rest.AssigneeList;
  36 +import pl.it_crowd.youtrack.api.rest.Enumeration;
  37 +import pl.it_crowd.youtrack.api.rest.Issue;
  38 +import pl.it_crowd.youtrack.api.rest.Issues;
  39 +import pl.it_crowd.youtrack.api.rest.User;
  40 +import pl.it_crowd.youtrack.api.rest.UserRefs;
41 41
42 42 import javax.net.ssl.SSLContext;
43 43 import javax.net.ssl.TrustManager;
... ... @@ -61,7 +61,7 @@ import java.util.List;
61 61 import java.util.regex.Matcher;
62 62 import java.util.regex.Pattern;
63 63
64   -import static pl.com.it_crowd.youtrack.api.URIUtils.buildURI;
  64 +import static pl.it_crowd.youtrack.api.URIUtils.buildURI;
65 65
66 66 public class YoutrackAPI {
67 67 // ------------------------------ FIELDS ------------------------------
... ... @@ -294,7 +294,7 @@ public class YoutrackAPI {
294 294 }
295 295 }
296 296 final Object result = YoutrackUnmarshaller.unmarshall(responseString);
297   - if (result instanceof pl.com.it_crowd.youtrack.api.rest.Issue) {
  297 + if (result instanceof pl.it_crowd.youtrack.api.rest.Issue) {
298 298 return new IssueWrapper((Issue) result);
299 299 } else if (result instanceof JAXBElement) {
300 300 final JAXBElement jaxbElement = (JAXBElement) result;
... ...
1   -package pl.com.it_crowd.youtrack.api;
  1 +package pl.it_crowd.youtrack.api;
2 2
3   -import pl.com.it_crowd.youtrack.api.rest.ObjectFactory;
  3 +import pl.it_crowd.youtrack.api.rest.ObjectFactory;
4 4
5 5 import javax.xml.bind.JAXBContext;
6 6 import javax.xml.bind.JAXBException;
... ...
1   -package pl.com.it_crowd.youtrack.api.defaults;
  1 +package pl.it_crowd.youtrack.api.defaults;
2 2
3 3 public enum DateValues {
4 4 Today, Yesterday, Saturday, Friday, Thursday, Wednesday, Tuesday, Monday, Sunday, ThisWeek("{This week}"), LastWeek("{Last week}"), TwoWeeksAgo(
... ...
1   -package pl.com.it_crowd.youtrack.api.defaults;
  1 +package pl.it_crowd.youtrack.api.defaults;
2 2
3   -import pl.com.it_crowd.youtrack.api.Commander;
  3 +import pl.it_crowd.youtrack.api.Commander;
4 4
5 5 public enum Fields implements Commander {
6 6 assignee,
... ...
1   -package pl.com.it_crowd.youtrack.api.defaults;
  1 +package pl.it_crowd.youtrack.api.defaults;
2 2
3 3 public enum StateValues {
4 4 Submitted,
... ...
1   -package pl.com.it_crowd.youtrack.api.exceptions;
  1 +package pl.it_crowd.youtrack.api.exceptions;
2 2
3 3 public class NoResultFoundException extends RuntimeException {
4 4 // --------------------------- CONSTRUCTORS ---------------------------
... ...
1   -package pl.com.it_crowd.youtrack.api.exceptions;
  1 +package pl.it_crowd.youtrack.api.exceptions;
2 2
3 3 public class YoutrackAPIException extends RuntimeException {
4 4 // --------------------------- CONSTRUCTORS ---------------------------
... ...
1   -package pl.com.it_crowd.youtrack.api.exceptions;
  1 +package pl.it_crowd.youtrack.api.exceptions;
2 2
3 3 public class YoutrackErrorException extends RuntimeException {
4 4 // ------------------------------ FIELDS ------------------------------
... ...
... ... @@ -3,7 +3,7 @@
3 3 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
4 4 // Any modifications to this file will be lost upon recompilation of the source schema.
5 5 //
6   -package pl.com.it_crowd.youtrack.api.rest;
  6 +package pl.it_crowd.youtrack.api.rest;
7 7
8 8 import javax.xml.bind.annotation.XmlAccessType;
9 9 import javax.xml.bind.annotation.XmlAccessorType;
... ...
... ... @@ -3,7 +3,7 @@
3 3 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
4 4 // Any modifications to this file will be lost upon recompilation of the source schema.
5 5 //
6   -package pl.com.it_crowd.youtrack.api.rest;
  6 +package pl.it_crowd.youtrack.api.rest;
7 7
8 8 import javax.xml.bind.annotation.XmlAccessType;
9 9 import javax.xml.bind.annotation.XmlAccessorType;
... ...
... ... @@ -3,7 +3,7 @@
3 3 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
4 4 // Any modifications to this file will be lost upon recompilation of the source schema.
5 5 //
6   -package pl.com.it_crowd.youtrack.api.rest;
  6 +package pl.it_crowd.youtrack.api.rest;
7 7
8 8 import javax.xml.bind.annotation.XmlAccessType;
9 9 import javax.xml.bind.annotation.XmlAccessorType;
... ...
... ... @@ -3,7 +3,7 @@
3 3 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
4 4 // Any modifications to this file will be lost upon recompilation of the source schema.
5 5 //
6   -package pl.com.it_crowd.youtrack.api.rest;
  6 +package pl.it_crowd.youtrack.api.rest;
7 7
8 8 import javax.xml.bind.JAXBElement;
9 9 import javax.xml.bind.annotation.XmlAccessType;
... ...
... ... @@ -3,7 +3,7 @@
3 3 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
4 4 // Any modifications to this file will be lost upon recompilation of the source schema.
5 5 //
6   -package pl.com.it_crowd.youtrack.api.rest;
  6 +package pl.it_crowd.youtrack.api.rest;
7 7
8 8 import javax.xml.bind.annotation.XmlAccessType;
9 9 import javax.xml.bind.annotation.XmlAccessorType;
... ...
... ... @@ -3,7 +3,7 @@
3 3 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
4 4 // Any modifications to this file will be lost upon recompilation of the source schema.
5 5 //
6   -package pl.com.it_crowd.youtrack.api.rest;
  6 +package pl.it_crowd.youtrack.api.rest;
7 7
8 8 import javax.xml.bind.annotation.XmlAccessType;
9 9 import javax.xml.bind.annotation.XmlAccessorType;
... ...
... ... @@ -3,7 +3,7 @@
3 3 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
4 4 // Any modifications to this file will be lost upon recompilation of the source schema.
5 5 //
6   -package pl.com.it_crowd.youtrack.api.rest;
  6 +package pl.it_crowd.youtrack.api.rest;
7 7
8 8 import javax.xml.bind.annotation.XmlAccessType;
9 9 import javax.xml.bind.annotation.XmlAccessorType;
... ...
... ... @@ -3,7 +3,7 @@
3 3 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
4 4 // Any modifications to this file will be lost upon recompilation of the source schema.
5 5 //
6   -package pl.com.it_crowd.youtrack.api.rest;
  6 +package pl.it_crowd.youtrack.api.rest;
7 7
8 8 import javax.xml.bind.annotation.XmlAccessType;
9 9 import javax.xml.bind.annotation.XmlAccessorType;
... ...
... ... @@ -3,7 +3,7 @@
3 3 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
4 4 // Any modifications to this file will be lost upon recompilation of the source schema.
5 5 //
6   -package pl.com.it_crowd.youtrack.api.rest;
  6 +package pl.it_crowd.youtrack.api.rest;
7 7
8 8 import javax.xml.bind.annotation.XmlAccessType;
9 9 import javax.xml.bind.annotation.XmlAccessorType;
... ...
... ... @@ -3,7 +3,7 @@
3 3 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
4 4 // Any modifications to this file will be lost upon recompilation of the source schema.
5 5 //
6   -package pl.com.it_crowd.youtrack.api.rest;
  6 +package pl.it_crowd.youtrack.api.rest;
7 7
8 8 import javax.xml.bind.JAXBElement;
9 9 import javax.xml.bind.annotation.XmlElementDecl;
... ... @@ -13,7 +13,7 @@ import javax.xml.namespace.QName;
13 13 /**
14 14 * This object contains factory methods for each
15 15 * Java content interface and Java element interface
16   - * generated in the pl.com.it_crowd.youtrack.api.rest package.
  16 + * generated in the pl.it_crowd.youtrack.api.rest package.
17 17 * <p>An ObjectFactory allows you to programatically
18 18 * construct new instances of the Java representation
19 19 * for XML content. The Java representation of XML
... ... @@ -42,7 +42,7 @@ public class ObjectFactory {
42 42 // --------------------------- CONSTRUCTORS ---------------------------
43 43
44 44 /**
45   - * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: pl.com.it_crowd.youtrack.api.rest
  45 + * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: pl.it_crowd.youtrack.api.rest
46 46 */
47 47 public ObjectFactory()
48 48 {
... ...
... ... @@ -3,7 +3,7 @@
3 3 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
4 4 // Any modifications to this file will be lost upon recompilation of the source schema.
5 5 //
6   -package pl.com.it_crowd.youtrack.api.rest;
  6 +package pl.it_crowd.youtrack.api.rest;
7 7
8 8 import javax.xml.bind.annotation.XmlAccessType;
9 9 import javax.xml.bind.annotation.XmlAccessorType;
... ...
... ... @@ -3,7 +3,7 @@
3 3 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
4 4 // Any modifications to this file will be lost upon recompilation of the source schema.
5 5 //
6   -package pl.com.it_crowd.youtrack.api.rest;
  6 +package pl.it_crowd.youtrack.api.rest;
7 7
8 8 import javax.xml.bind.annotation.XmlAccessType;
9 9 import javax.xml.bind.annotation.XmlAccessorType;
... ...
... ... @@ -3,7 +3,7 @@
3 3 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
4 4 // Any modifications to this file will be lost upon recompilation of the source schema.
5 5 //
6   -package pl.com.it_crowd.youtrack.api.rest;
  6 +package pl.it_crowd.youtrack.api.rest;
7 7
8 8 import javax.xml.bind.annotation.XmlAccessType;
9 9 import javax.xml.bind.annotation.XmlAccessorType;
... ...
1   -<jxb:bindings version="1.0" xmlns:jxb="http://java.sun.com/xml/ns/jaxb" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  1 +<jxb:bindings version="1.0" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:jxb="http://java.sun.com/xml/ns/jaxb"
  2 + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2 3 xsi:schemaLocation="http://java.sun.com/xml/ns/jaxb http://java.sun.com/xml/ns/jaxb/bindingschema_2_0.xsd">
3 4
4 5
... ...
1   -package pl.com.it_crowd.youtrack.api.rest;
  1 +package pl.it_crowd.youtrack.api.rest;
2 2
3 3 import junit.framework.Assert;
4 4 import org.junit.Test;
5   -import pl.com.it_crowd.youtrack.api.Command;
6   -import pl.com.it_crowd.youtrack.api.defaults.StateValues;
  5 +import pl.it_crowd.youtrack.api.Command;
  6 +import pl.it_crowd.youtrack.api.defaults.StateValues;
7 7
8 8 public class CommandTest {
9 9 // -------------------------- OTHER METHODS --------------------------
... ...
1   -package pl.com.it_crowd.youtrack.api.rest;
  1 +package pl.it_crowd.youtrack.api.rest;
2 2
3 3 import junit.framework.Assert;
4 4 import org.junit.Test;
5   -import pl.com.it_crowd.youtrack.api.Filter;
6   -import pl.com.it_crowd.youtrack.api.defaults.DateValues;
7   -import pl.com.it_crowd.youtrack.api.defaults.StateValues;
  5 +import pl.it_crowd.youtrack.api.Filter;
  6 +import pl.it_crowd.youtrack.api.defaults.DateValues;
  7 +import pl.it_crowd.youtrack.api.defaults.StateValues;
8 8
9 9 public class FilterTest {
10 10 // -------------------------- OTHER METHODS --------------------------
... ...
1   -package pl.com.it_crowd.youtrack.api.rest;
  1 +package pl.it_crowd.youtrack.api.rest;
2 2
3 3 import org.junit.Test;
4   -import pl.com.it_crowd.youtrack.api.Filter;
5   -import pl.com.it_crowd.youtrack.api.URIUtils;
6   -import pl.com.it_crowd.youtrack.api.defaults.StateValues;
  4 +import pl.it_crowd.youtrack.api.Filter;
  5 +import pl.it_crowd.youtrack.api.URIUtils;
  6 +import pl.it_crowd.youtrack.api.defaults.StateValues;
7 7
8 8 import java.net.URI;
9 9 import java.net.URISyntaxException;
... ...
1   -package pl.com.it_crowd.youtrack.api.rest;
  1 +package pl.it_crowd.youtrack.api.rest;
2 2
3 3 import junit.framework.Assert;
4 4 import org.apache.commons.io.input.ReaderInputStream;
... ... @@ -10,14 +10,14 @@ import org.apache.http.auth.AuthenticationException;
10 10 import org.apache.http.client.HttpClient;
11 11 import org.apache.http.client.methods.HttpUriRequest;
12 12 import org.junit.Test;
13   -import pl.com.it_crowd.youtrack.api.Command;
14   -import pl.com.it_crowd.youtrack.api.Filter;
15   -import pl.com.it_crowd.youtrack.api.IssueWrapper;
16   -import pl.com.it_crowd.youtrack.api.YoutrackAPI;
17   -import pl.com.it_crowd.youtrack.api.defaults.Fields;
18   -import pl.com.it_crowd.youtrack.api.defaults.StateValues;
19   -import pl.com.it_crowd.youtrack.api.exceptions.NoResultFoundException;
20   -import pl.com.it_crowd.youtrack.api.exceptions.YoutrackErrorException;
  13 +import pl.it_crowd.youtrack.api.Command;
  14 +import pl.it_crowd.youtrack.api.Filter;
  15 +import pl.it_crowd.youtrack.api.IssueWrapper;
  16 +import pl.it_crowd.youtrack.api.YoutrackAPI;
  17 +import pl.it_crowd.youtrack.api.defaults.Fields;
  18 +import pl.it_crowd.youtrack.api.defaults.StateValues;
  19 +import pl.it_crowd.youtrack.api.exceptions.NoResultFoundException;
  20 +import pl.it_crowd.youtrack.api.exceptions.YoutrackErrorException;
21 21
22 22 import javax.xml.bind.JAXBException;
23 23 import java.io.IOException;
... ...
Please register or login to post a comment