Skip to content
This repository has been archived by the owner on Mar 29, 2020. It is now read-only.

Commit

Permalink
Packages renamed from pl to com
Browse files Browse the repository at this point in the history
  • Loading branch information
tdziurko committed Mar 20, 2013
1 parent 37e7603 commit 185dc0b
Show file tree
Hide file tree
Showing 442 changed files with 754 additions and 754 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Jars and sources are available in our Maven repositories:
To use SoftwareMill Common in a project define a parent section in the main pom of the project:

<parent>
<groupId>pl.softwaremill.common</groupId>
<groupId>com.softwaremill.common</groupId>
<artifactId>softwaremill-parent</artifactId>
<version>[VERSION]</version>
</parent>
Expand Down
22 changes: 11 additions & 11 deletions findbugs-exclude.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,58 +4,58 @@
<!-- Bug codes and descriptions: http://findbugs.sourceforge.net/bugDescriptions.html-->

<Match>
<Class name="pl.softwaremill.common.test.web.selenium.AbstractSeleniumTest" />
<Class name="com.softwaremill.common.test.web.selenium.AbstractSeleniumTest" />
<Mehtod name="setupBrowser"/>
<Bug code="ST"/>
</Match>

<Match>
<Class name="pl.softwaremill.common.test.web.selenium.AbstractSeleniumTest" />
<Class name="com.softwaremill.common.test.web.selenium.AbstractSeleniumTest" />
<Field name="selenium"/>
<Bug code="MS"/>
</Match>
<Match>
<Class name="pl.softwaremill.common.sqs.util.EmailDescription" />
<Class name="com.softwaremill.common.sqs.util.EmailDescription" />
<Field name="emails"/>
<Bug code="EI2"/>
</Match>
<Match>
<Class name="pl.softwaremill.common.sqs.util.EmailDescription" />
<Class name="com.softwaremill.common.sqs.util.EmailDescription" />
<Method name="getEmails"/>
<Bug code="EI"/>
</Match>
<Match>
<Class name="pl.softwaremill.common.sqs.util.EmailDescription" />
<Class name="com.softwaremill.common.sqs.util.EmailDescription" />
<Field name="replyToEmails"/>
<Bug code="EI2"/>
</Match>
<Match>
<Class name="pl.softwaremill.common.sqs.util.EmailDescription" />
<Class name="com.softwaremill.common.sqs.util.EmailDescription" />
<Method name="getReplyToEmails"/>
<Bug code="EI"/>
</Match>
<Match>
<Class name="pl.softwaremill.common.sqs.SQSEmptor" />
<Class name="com.softwaremill.common.sqs.SQSEmptor" />
<Method name="main"/>
<Bug code="NP"/>
</Match>
<Match>
<Class name="pl.softwaremill.common.util.InfiniteSleeper" />
<Class name="com.softwaremill.common.util.InfiniteSleeper" />
<Method name="sleepInfinitely"/>
<Bug code="UW, Wa"/>
</Match>
<Match>
<Class name="pl.softwaremill.common.cdi.security.SecurityExtension" />
<Class name="com.softwaremill.common.cdi.security.SecurityExtension" />
<Field name="interceptSecureForMethods"/>
<Bug code="Se"/>
</Match>
<Match>
<Class name="pl.softwaremill.common.faces.messages.FacesMessages" />
<Class name="com.softwaremill.common.faces.messages.FacesMessages" />
<Field name="elEvaluator"/>
<Bug code="Se"/>
</Match>
<Match>
<Class name="pl.softwaremill.common.faces.messages.FacesMessages" />
<Class name="com.softwaremill.common.faces.messages.FacesMessages" />
<Field name="messages"/>
<Bug code="Se"/>
</Match>
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<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>
<groupId>pl.softwaremill.common</groupId>
<groupId>com.softwaremill.common</groupId>
<artifactId>softwaremill-common-parent</artifactId>
<version>74-SNAPSHOT</version>
<name>Softwaremill Common Parent</name>
Expand Down
8 changes: 4 additions & 4 deletions softwaremill-backup/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<name>Softwaremill backup utilities</name>

<parent>
<groupId>pl.softwaremill.common</groupId>
<groupId>com.softwaremill.common</groupId>
<artifactId>softwaremill-common-parent</artifactId>
<version>74-SNAPSHOT</version>
</parent>
Expand Down Expand Up @@ -40,13 +40,13 @@
</dependency>

<dependency>
<groupId>pl.softwaremill.common</groupId>
<groupId>com.softwaremill.common</groupId>
<artifactId>softwaremill-conf</artifactId>
<scope>test</scope>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>pl.softwaremill.common</groupId>
<groupId>com.softwaremill.common</groupId>
<artifactId>softwaremill-util</artifactId>
<version>${project.version}</version>
</dependency>
Expand Down Expand Up @@ -82,7 +82,7 @@
<configuration>
<archive>
<manifest>
<mainClass>pl.softwaremill.common.backup.RunBackup</mainClass>
<mainClass>com.softwaremill.common.backup.RunBackup</mainClass>
</manifest>
</archive>
<descriptorRefs>
Expand Down
2 changes: 1 addition & 1 deletion softwaremill-backup/scripts/backup_mysql_and_upload.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ tar -czf $TAR_FILE_NAME $DUMP_FILE_NAME
rm $DUMP_FILE_NAME

# Uploading to S3
java -cp $SDB_BACKUP_PATH pl.softwaremill.common.backup.S3Upload $S3_ACCESS_KEY_ID $S3_SECRET_ACCESS_KEY $S3_BUCKET $TAR_FILE_NAME $S3_PREFIX$CURRENT_YEAR_MONTH
java -cp $SDB_BACKUP_PATH com.softwaremill.common.backup.S3Upload $S3_ACCESS_KEY_ID $S3_SECRET_ACCESS_KEY $S3_BUCKET $TAR_FILE_NAME $S3_PREFIX$CURRENT_YEAR_MONTH

# Cleaning up
rm $TAR_FILE_NAME
2 changes: 1 addition & 1 deletion softwaremill-backup/scripts/backup_sdb_and_upload.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ tar -czf $TAR_FILE_NAME simpledb_backup*${CURRENT_DATE}*.txt
rm simpledb_backup*${CURRENT_DATE}*.txt

# Uploading to S3
java -cp $SDB_BACKUP_PATH pl.softwaremill.common.backup.S3Upload $S3_ACCESS_KEY_ID $S3_SECRET_ACCESS_KEY $S3_BUCKET $TAR_FILE_NAME $S3_PREFIX$CURRENT_YEAR_MONTH
java -cp $SDB_BACKUP_PATH com.softwaremill.common.backup.S3Upload $S3_ACCESS_KEY_ID $S3_SECRET_ACCESS_KEY $S3_BUCKET $TAR_FILE_NAME $S3_PREFIX$CURRENT_YEAR_MONTH

# Cleaning up
rm $TAR_FILE_NAME
2 changes: 1 addition & 1 deletion softwaremill-backup/scripts/restore_sdb.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ source backup_conf.sh
#########

# Creating backup files
java -cp $SDB_BACKUP_PATH pl.softwaremill.common.backup.RunRestore $SIMPLEDB_ACCESS_KEY_ID $SIMPLEDB_SECRET_ACCESS_KEY $SIMPLEDB_REGION $1 $2
java -cp $SDB_BACKUP_PATH com.softwaremill.common.backup.RunRestore $SIMPLEDB_ACCESS_KEY_ID $SIMPLEDB_SECRET_ACCESS_KEY $SIMPLEDB_REGION $1 $2
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package pl.softwaremill.common.backup;
package com.softwaremill.common.backup;

import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package pl.softwaremill.common.backup;
package com.softwaremill.common.backup;

import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package pl.softwaremill.common.backup;
package com.softwaremill.common.backup;

import java.util.Set;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package pl.softwaremill.common.backup;
package com.softwaremill.common.backup;

import com.xerox.amazonws.simpledb.Item;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package pl.softwaremill.common.backup;
package com.softwaremill.common.backup;

import com.google.common.base.Charsets;
import com.xerox.amazonws.simpledb.Domain;
Expand All @@ -7,7 +7,7 @@
import org.joda.time.DateTime;
import org.joda.time.format.DateTimeFormatter;
import org.joda.time.format.DateTimeFormatterBuilder;
import pl.softwaremill.common.util.RichString;
import com.softwaremill.common.util.RichString;

import java.io.*;
import java.util.ArrayList;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package pl.softwaremill.common.backup;
package com.softwaremill.common.backup;

import com.google.common.base.Charsets;
import com.xerox.amazonws.simpledb.SDBException;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package pl.softwaremill.common.backup;
package com.softwaremill.common.backup;

import org.jets3t.service.S3ServiceException;
import org.jets3t.service.impl.rest.httpclient.RestS3Service;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package pl.softwaremill.common.backup;
package com.softwaremill.common.backup;

/**
* @author Adam Warski (adam at warski dot org)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package pl.softwaremill.common.backup;
package com.softwaremill.common.backup;

import com.xerox.amazonws.simpledb.*;
import org.testng.annotations.BeforeClass;
import pl.softwaremill.common.conf.Configuration;
import com.softwaremill.common.conf.Configuration;

import java.util.Map;
import java.util.Set;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
package pl.softwaremill.common.backup;
package com.softwaremill.common.backup;

import com.google.common.collect.ImmutableMap;
import com.xerox.amazonws.simpledb.Domain;
import com.xerox.amazonws.simpledb.SDBException;
import org.testng.annotations.AfterClass;
import org.testng.annotations.BeforeClass;
import org.testng.annotations.Test;
import pl.softwaremill.common.util.RichString;
import com.softwaremill.common.util.RichString;

import java.io.BufferedReader;
import java.io.IOException;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package pl.softwaremill.common.backup;
package com.softwaremill.common.backup;

import com.google.common.collect.ImmutableMap;
import com.xerox.amazonws.simpledb.Domain;
Expand Down
10 changes: 5 additions & 5 deletions softwaremill-cdi/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Maven dependency:

<dependency>
<groupId>pl.softwaremill.common</groupId>
<groupId>com.softwaremill.common</groupId>
<artifactId>softwaremill-cdi</artifactId>
<version>VERSION</version>
</dependency>
Expand Down Expand Up @@ -46,8 +46,8 @@ the `@AllowWithFlag` annotation. To run code in the privileged, "flagged" mode d
To use, add to your beans.xml the following:

<interceptors>
<class>pl.softwaremill.common.cdi.security.SecurityInterceptor</class>
<class>pl.softwaremill.common.cdi.security.SecurityResultInterceptor</class>
<class>com.softwaremill.common.cdi.security.SecurityInterceptor</class>
<class>com.softwaremill.common.cdi.security.SecurityResultInterceptor</class>
</interceptors>

Blog links:
Expand Down Expand Up @@ -180,7 +180,7 @@ scope of a JSF request, and the TX isn't managed by the container (e.g. remoting
To enable, add to beans.xml:

<interceptors>
<class>pl.softwaremill.common.cdi.transaction.TransactionalInterceptor</class>
<class>com.softwaremill.common.cdi.transaction.TransactionalInterceptor</class>
</interceptors>

## TransactionTimeout interceptor
Expand All @@ -191,7 +191,7 @@ Use the `@TransactionTimeout(timeout = SECONDS)` on a method or type to prolong
To enable, add to beans.xml:

<interceptors>
<class>pl.softwaremill.common.cdi.transaction.TransactionTimeoutInterceptor</class>
<class>com.softwaremill.common.cdi.transaction.TransactionTimeoutInterceptor</class>
</interceptors>

Because the tx timeout must be specified *before* the transaction is started, make sure to specify the
Expand Down
8 changes: 4 additions & 4 deletions softwaremill-cdi/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,20 @@
<name>Softwaremill CDI Extensions</name>

<parent>
<groupId>pl.softwaremill.common</groupId>
<groupId>com.softwaremill.common</groupId>
<artifactId>softwaremill-common-parent</artifactId>
<version>74-SNAPSHOT</version>
</parent>

<dependencies>
<!-- Inter-modules dependencies -->
<dependency>
<groupId>pl.softwaremill.common</groupId>
<groupId>com.softwaremill.common</groupId>
<artifactId>softwaremill-util</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>pl.softwaremill.common</groupId>
<groupId>com.softwaremill.common</groupId>
<artifactId>softwaremill-conf</artifactId>
<version>${project.version}</version>
</dependency>
Expand Down Expand Up @@ -89,7 +89,7 @@

<!-- Arquillian -->
<dependency>
<groupId>pl.softwaremill.common</groupId>
<groupId>com.softwaremill.common</groupId>
<artifactId>softwaremill-test-arquillian</artifactId>
<scope>test</scope>
<version>${project.version}</version>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package pl.softwaremill.common.cdi.autofactory;
package com.softwaremill.common.cdi.autofactory;

import java.lang.annotation.Retention;
import java.lang.annotation.Target;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package pl.softwaremill.common.cdi.autofactory;
package com.softwaremill.common.cdi.autofactory;

import java.lang.annotation.Retention;
import java.lang.annotation.Target;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package pl.softwaremill.common.cdi.autofactory.extension;
package com.softwaremill.common.cdi.autofactory.extension;

import org.jboss.weld.literal.DefaultLiteral;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package pl.softwaremill.common.cdi.autofactory.extension;
package com.softwaremill.common.cdi.autofactory.extension;

import pl.softwaremill.common.cdi.autofactory.CreatedWith;
import com.softwaremill.common.cdi.autofactory.CreatedWith;

import javax.enterprise.event.Observes;
import javax.enterprise.inject.spi.*;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
package pl.softwaremill.common.cdi.autofactory.extension;
package com.softwaremill.common.cdi.autofactory.extension;

import com.google.common.base.Predicate;
import com.google.common.collect.Iterables;
import org.jboss.weld.manager.BeanManagerImpl;
import org.jboss.weld.manager.SimpleInjectionTarget;
import org.jboss.weld.resources.ClassTransformer;
import pl.softwaremill.common.cdi.autofactory.CreatedWith;
import pl.softwaremill.common.cdi.autofactory.extension.parameter.ParameterValue;
import pl.softwaremill.common.cdi.autofactory.extension.parameter.converter.ConstructorToParameterValuesConverter;
import pl.softwaremill.common.cdi.autofactory.extension.parameter.converter.FactoryParameterOnlyConstructorConverter;
import pl.softwaremill.common.cdi.autofactory.extension.parameter.converter.MixedConstructorConverter;
import com.softwaremill.common.cdi.autofactory.CreatedWith;
import com.softwaremill.common.cdi.autofactory.extension.parameter.ParameterValue;
import com.softwaremill.common.cdi.autofactory.extension.parameter.converter.ConstructorToParameterValuesConverter;
import com.softwaremill.common.cdi.autofactory.extension.parameter.converter.FactoryParameterOnlyConstructorConverter;
import com.softwaremill.common.cdi.autofactory.extension.parameter.converter.MixedConstructorConverter;

import javax.annotation.Nullable;
import javax.enterprise.inject.spi.*;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package pl.softwaremill.common.cdi.autofactory.extension;
package com.softwaremill.common.cdi.autofactory.extension;

import pl.softwaremill.common.cdi.autofactory.extension.parameter.ParameterValue;
import com.softwaremill.common.cdi.autofactory.extension.parameter.ParameterValue;

import javax.enterprise.inject.spi.AnnotatedConstructor;
import javax.enterprise.inject.spi.InjectionTarget;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package pl.softwaremill.common.cdi.autofactory.extension;
package com.softwaremill.common.cdi.autofactory.extension;

import org.jboss.weld.Container;
import org.jboss.weld.injection.ConstructorInjectionPoint;
import org.jboss.weld.injection.CurrentInjectionPoint;
import org.jboss.weld.introspector.WeldConstructor;
import pl.softwaremill.common.cdi.autofactory.extension.parameter.ParameterValue;
import com.softwaremill.common.cdi.autofactory.extension.parameter.ParameterValue;

import javax.enterprise.context.spi.CreationalContext;
import javax.enterprise.inject.spi.Bean;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package pl.softwaremill.common.cdi.autofactory.extension;
package com.softwaremill.common.cdi.autofactory.extension;

import java.lang.reflect.Method;
import java.lang.reflect.Type;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package pl.softwaremill.common.cdi.autofactory.extension;
package com.softwaremill.common.cdi.autofactory.extension;

import com.google.common.base.Predicate;
import com.google.common.collect.Collections2;
Expand Down
Loading

0 comments on commit 185dc0b

Please sign in to comment.