Skip to content
Browse files

move kie-ci from org.drools to org.kie groupId and package

  • Loading branch information...
1 parent f3c8c92 commit 7f77c70faa8cb656f579fe466de6eece7776551e @mariofusco mariofusco committed Jan 2, 2013
Showing with 31 additions and 29 deletions.
  1. +1 −0 kie-ci/pom.xml
  2. +2 −2 kie-ci/src/main/java/org/{drools → kie}/scanner/Aether.java
  3. +3 −3 kie-ci/src/main/java/org/{drools → kie}/scanner/ArtifactResolver.java
  4. +1 −1 kie-ci/src/main/java/org/{drools → kie}/scanner/DependencyDescriptor.java
  5. +1 −1 kie-ci/src/main/java/org/{drools → kie}/scanner/IoUtils.java
  6. +4 −3 kie-ci/src/main/java/org/{drools → kie}/scanner/KieModuleMetaData.java
  7. +2 −2 kie-ci/src/main/java/org/{drools → kie}/scanner/KieModuleMetaDataImpl.java
  8. +2 −2 kie-ci/src/main/java/org/{drools → kie}/scanner/KieRepositoryScannerImpl.java
  9. +1 −1 kie-ci/src/main/java/org/{drools → kie}/scanner/MavenRepository.java
  10. +1 −1 kie-ci/src/main/java/org/{drools → kie}/scanner/PomParser.java
  11. +4 −4 kie-ci/src/main/java/org/{drools → kie}/scanner/embedder/EmbeddedPomParser.java
  12. +1 −1 kie-ci/src/main/java/org/{drools → kie}/scanner/embedder/MavenEmbedder.java
  13. +1 −1 kie-ci/src/main/java/org/{drools → kie}/scanner/embedder/MavenEmbedderException.java
  14. +1 −1 kie-ci/src/main/java/org/{drools → kie}/scanner/embedder/MavenEmbedderUtils.java
  15. +1 −1 kie-ci/src/main/java/org/{drools → kie}/scanner/embedder/MavenProjectLoader.java
  16. +1 −1 kie-ci/src/main/java/org/{drools → kie}/scanner/embedder/MavenRequest.java
  17. +1 −1 kie-ci/src/test/java/org/{drools → kie}/scanner/AbstractKieCiTest.java
  18. +1 −1 kie-ci/src/test/java/org/{drools → kie}/scanner/KieModuleMetaDataTest.java
  19. +2 −2 kie-ci/src/test/java/org/{drools → kie}/scanner/KieRepositoryScannerTest.java
View
1 kie-ci/pom.xml
@@ -9,6 +9,7 @@
</parent>
<modelVersion>4.0.0</modelVersion>
+ <groupId>org.kie</groupId>
<artifactId>kie-ci</artifactId>
<name>KIE :: CI</name>
View
4 .../main/java/org/drools/scanner/Aether.java → ...src/main/java/org/kie/scanner/Aether.java
@@ -1,4 +1,4 @@
-package org.drools.scanner;
+package org.kie.scanner;
import org.apache.maven.project.MavenProject;
import org.apache.maven.repository.internal.DefaultServiceLocator;
@@ -20,7 +20,7 @@
import java.util.ArrayList;
import java.util.List;
-import static org.drools.scanner.embedder.MavenProjectLoader.loadMavenProject;
+import static org.kie.scanner.embedder.MavenProjectLoader.loadMavenProject;
class Aether {
View
6 .../org/drools/scanner/ArtifactResolver.java → ...ava/org/kie/scanner/ArtifactResolver.java
@@ -1,7 +1,7 @@
-package org.drools.scanner;
+package org.kie.scanner;
import org.apache.maven.project.MavenProject;
-import org.drools.scanner.embedder.EmbeddedPomParser;
+import org.kie.scanner.embedder.EmbeddedPomParser;
import org.kie.builder.ReleaseId;
import org.sonatype.aether.artifact.Artifact;
@@ -13,7 +13,7 @@
import java.util.List;
import java.util.Set;
-import static org.drools.scanner.embedder.MavenProjectLoader.parseMavenPom;
+import static org.kie.scanner.embedder.MavenProjectLoader.parseMavenPom;
class ArtifactResolver {
View
2 .../drools/scanner/DependencyDescriptor.java → ...org/kie/scanner/DependencyDescriptor.java
@@ -1,4 +1,4 @@
-package org.drools.scanner;
+package org.kie.scanner;
import org.apache.maven.artifact.versioning.ArtifactVersion;
import org.apache.maven.artifact.versioning.DefaultArtifactVersion;
View
2 ...main/java/org/drools/scanner/IoUtils.java → ...rc/main/java/org/kie/scanner/IoUtils.java
@@ -1,4 +1,4 @@
-package org.drools.scanner;
+package org.kie.scanner;
import java.io.File;
import java.io.IOException;
View
7 ...org/drools/scanner/KieModuleMetaData.java → ...va/org/kie/scanner/KieModuleMetaData.java
@@ -1,5 +1,6 @@
-package org.drools.scanner;
+package org.kie.scanner;
+import org.kie.builder.KieModule;
import org.kie.builder.ReleaseId;
import org.kie.builder.impl.InternalKieModule;
@@ -15,8 +16,8 @@
Class<?> getClass(String pkgName, String className);
public static class Factory {
- public static KieModuleMetaData newKieModuleMetaData(InternalKieModule kieModule) {
- return new KieModuleMetaDataImpl(kieModule);
+ public static KieModuleMetaData newKieModuleMetaData(KieModule kieModule) {
+ return new KieModuleMetaDataImpl((InternalKieModule) kieModule);
}
public static KieModuleMetaData newKieModuleMetaData(ReleaseId releaseId) {
View
4 ...drools/scanner/KieModuleMetaDataImpl.java → ...rg/kie/scanner/KieModuleMetaDataImpl.java
@@ -1,4 +1,4 @@
-package org.drools.scanner;
+package org.kie.scanner;
import org.drools.core.util.ClassUtils;
import org.drools.kproject.ReleaseIdImpl;
@@ -24,7 +24,7 @@
import java.util.zip.ZipEntry;
import java.util.zip.ZipFile;
-import static org.drools.scanner.ArtifactResolver.getResolverFor;
+import static org.kie.scanner.ArtifactResolver.getResolverFor;
public class KieModuleMetaDataImpl implements KieModuleMetaData {
View
4 ...ols/scanner/KieRepositoryScannerImpl.java → ...kie/scanner/KieRepositoryScannerImpl.java
@@ -1,4 +1,4 @@
-package org.drools.scanner;
+package org.kie.scanner;
import org.drools.kproject.models.KieModuleModelImpl;
import org.kie.builder.ReleaseId;
@@ -27,7 +27,7 @@
import java.util.zip.ZipEntry;
import java.util.zip.ZipFile;
-import static org.drools.scanner.ArtifactResolver.getResolverFor;
+import static org.kie.scanner.ArtifactResolver.getResolverFor;
import static org.kie.builder.impl.KieBuilderImpl.buildKieModule;
public class KieRepositoryScannerImpl implements InternalKieScanner {
View
2 ...a/org/drools/scanner/MavenRepository.java → ...java/org/kie/scanner/MavenRepository.java
@@ -1,4 +1,4 @@
-package org.drools.scanner;
+package org.kie.scanner;
import org.apache.maven.project.MavenProject;
import org.kie.builder.ReleaseId;
View
2 ...in/java/org/drools/scanner/PomParser.java → .../main/java/org/kie/scanner/PomParser.java
@@ -1,4 +1,4 @@
-package org.drools.scanner;
+package org.kie.scanner;
import java.util.List;
View
8 ...s/scanner/embedder/EmbeddedPomParser.java → ...e/scanner/embedder/EmbeddedPomParser.java
@@ -1,14 +1,14 @@
-package org.drools.scanner.embedder;
+package org.kie.scanner.embedder;
import org.apache.maven.model.Dependency;
import org.apache.maven.project.MavenProject;
-import org.drools.scanner.DependencyDescriptor;
-import org.drools.scanner.PomParser;
+import org.kie.scanner.DependencyDescriptor;
+import org.kie.scanner.PomParser;
import java.util.ArrayList;
import java.util.List;
-import static org.drools.scanner.embedder.MavenProjectLoader.loadMavenProject;
+import static org.kie.scanner.embedder.MavenProjectLoader.loadMavenProject;
public class EmbeddedPomParser implements PomParser {
View
2 ...rools/scanner/embedder/MavenEmbedder.java → ...g/kie/scanner/embedder/MavenEmbedder.java
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.drools.scanner.embedder;
+package org.kie.scanner.embedder;
import org.apache.maven.DefaultMaven;
import org.apache.maven.Maven;
View
2 ...nner/embedder/MavenEmbedderException.java → ...nner/embedder/MavenEmbedderException.java
@@ -1,4 +1,4 @@
-package org.drools.scanner.embedder;
+package org.kie.scanner.embedder;
public class MavenEmbedderException extends Exception {
View
2 .../scanner/embedder/MavenEmbedderUtils.java → .../scanner/embedder/MavenEmbedderUtils.java
@@ -1,4 +1,4 @@
-package org.drools.scanner.embedder;
+package org.kie.scanner.embedder;
import org.apache.tools.ant.AntClassLoader;
import org.codehaus.plexus.ContainerConfiguration;
View
2 .../scanner/embedder/MavenProjectLoader.java → .../scanner/embedder/MavenProjectLoader.java
@@ -1,4 +1,4 @@
-package org.drools.scanner.embedder;
+package org.kie.scanner.embedder;
import org.apache.maven.project.MavenProject;
View
2 ...drools/scanner/embedder/MavenRequest.java → ...rg/kie/scanner/embedder/MavenRequest.java
@@ -1,4 +1,4 @@
-package org.drools.scanner.embedder;
+package org.kie.scanner.embedder;
import org.apache.maven.execution.ExecutionListener;
import org.apache.maven.execution.MavenExecutionRequest;
View
2 ...org/drools/scanner/AbstractKieCiTest.java → ...va/org/kie/scanner/AbstractKieCiTest.java
@@ -1,4 +1,4 @@
-package org.drools.scanner;
+package org.kie.scanner;
import org.kie.KieServices;
import org.kie.builder.KieBaseModel;
View
2 ...drools/scanner/KieModuleMetaDataTest.java → ...rg/kie/scanner/KieModuleMetaDataTest.java
@@ -1,4 +1,4 @@
-package org.drools.scanner;
+package org.kie.scanner;
import org.junit.Ignore;
import org.junit.Test;
View
4 ...ols/scanner/KieRepositoryScannerTest.java → ...kie/scanner/KieRepositoryScannerTest.java
@@ -1,4 +1,4 @@
-package org.drools.scanner;
+package org.kie.scanner;
import org.drools.core.util.FileManager;
import org.junit.After;
@@ -17,7 +17,7 @@
import java.util.ArrayList;
import java.util.List;
-import static org.drools.scanner.MavenRepository.getMavenRepository;
+import static org.kie.scanner.MavenRepository.getMavenRepository;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
import static org.junit.Assert.fail;

0 comments on commit 7f77c70

Please sign in to comment.
Something went wrong with that request. Please try again.