Skip to content

Commit

Permalink
adding apache 2.0 license notice
Browse files Browse the repository at this point in the history
  • Loading branch information
dzamroz committed Feb 7, 2012
1 parent da2079f commit 5a21b5e
Show file tree
Hide file tree
Showing 217 changed files with 3,327 additions and 147 deletions.
13 changes: 13 additions & 0 deletions LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
Copyright 2011-2012 the original author or authors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
43 changes: 29 additions & 14 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,20 @@
</plugin>
</plugins>
</pluginManagement>
<plugins>
<!-- run maven build with license:format goals to add license notice to
the files that are missing it -->
<plugin>
<groupId>com.mycila.maven-license-plugin</groupId>
<artifactId>maven-license-plugin</artifactId>
<configuration>
<header>LICENSE.txt</header>
<mapping>
<java>SLASHSTAR_STYLE</java>
</mapping>
</configuration>
</plugin>
</plugins>
</build>

<dependencies>
Expand Down Expand Up @@ -153,9 +167,9 @@
</repositories>

<profiles>
<!-- this profiles needs to be active to compile and run the acceptance tests. This separation was
done for readability as the acceptance tests use different dependencies, properties and plugins than
the production code -->
<!-- this profiles needs to be active to compile and run the acceptance
tests. This separation was done for readability as the acceptance tests use
different dependencies, properties and plugins than the production code -->
<profile>
<id>acceptance</id>
<activation>
Expand All @@ -174,7 +188,8 @@
<firefox.skip>false</firefox.skip>
<chrome.skip>true</chrome.skip>
<ie.skip>true</ie.skip>
<!-- path to chromedriver executable to control Chromium, download from http://code.google.com/p/chromium/downloads/list -->
<!-- path to chromedriver executable to control Chromium, download from
http://code.google.com/p/chromium/downloads/list -->
<chrome.driver>chromedriver.exe</chrome.driver>
<!-- path to Chromium binary if it's not the default location -->
<chrome.binary></chrome.binary>
Expand Down Expand Up @@ -231,9 +246,9 @@
<configuration>
<skipTests>${ie.skip}</skipTests>
<reportsDirectory>${project.build.directory}/failsafe-reports/ie
</reportsDirectory>
</reportsDirectory>
<summaryFile>${project.build.directory}/failsafe-reports/failsafe-summary-ie.xml
</summaryFile>
</summaryFile>
<systemPropertyVariables>
<browser>ie</browser>
</systemPropertyVariables>
Expand All @@ -247,9 +262,9 @@
<configuration>
<skipTests>${rmi.skip}</skipTests>
<reportsDirectory>${project.build.directory}/failsafe-reports/rmi
</reportsDirectory>
</reportsDirectory>
<summaryFile>${project.build.directory}/failsafe-reports/failsafe-summary-rmi.xml
</summaryFile>
</summaryFile>
<systemPropertyVariables>
<useAgent>remote</useAgent>
</systemPropertyVariables>
Expand All @@ -263,22 +278,22 @@
<configuration>
<summaryFiles>
<summaryFile>${project.build.directory}/failsafe-reports/failsafe-summary-firefox.xml
</summaryFile>
</summaryFile>
<summaryFile>${project.build.directory}/failsafe-reports/failsafe-summary-chrome.xml
</summaryFile>
</summaryFile>
<summaryFile>${project.build.directory}/failsafe-reports/failsafe-summary-ie.xml
</summaryFile>
</summaryFile>
<summaryFile>${project.build.directory}/failsafe-reports/failsafe-summary-rmi.xml
</summaryFile>
</summaryFile>
</summaryFiles>
</configuration>
</execution>
</executions>
</plugin>


<!-- copy dummy failsafe-summary-* files required for maven-failsafe-plugin:goal (in case tests
will be skipped for some of the browsers) -->
<!-- copy dummy failsafe-summary-* files required for maven-failsafe-plugin:goal
(in case tests will be skipped for some of the browsers) -->
<plugin>
<artifactId>maven-resources-plugin</artifactId>
<executions>
Expand Down
15 changes: 15 additions & 0 deletions src/main/java/pl/com/bottega/cqrs/command/Command.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
/*
* Copyright 2011-2012 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package pl.com.bottega.cqrs.command;

import java.lang.annotation.Documented;
Expand Down
15 changes: 15 additions & 0 deletions src/main/java/pl/com/bottega/cqrs/command/Gate.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
/*
* Copyright 2011-2012 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package pl.com.bottega.cqrs.command;

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,23 @@
/**
*
/*
* Copyright 2011-2012 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package pl.com.bottega.cqrs.command.handler;

import pl.com.bottega.cqrs.command.Command;

/**
*
* @author Slawek
*
* @param <C> command
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
/**
*
/*
* Copyright 2011-2012 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package pl.com.bottega.cqrs.command.handler;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
/*
* Copyright 2011-2012 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package pl.com.bottega.cqrs.command.handler.spring;

import java.lang.reflect.ParameterizedType;
Expand Down
16 changes: 14 additions & 2 deletions src/main/java/pl/com/bottega/cqrs/command/impl/GateHistory.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
/**
*
/*
* Copyright 2011-2012 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package pl.com.bottega.cqrs.command.impl;

Expand Down
16 changes: 14 additions & 2 deletions src/main/java/pl/com/bottega/cqrs/command/impl/RunEnvironment.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
/**
*
/*
* Copyright 2011-2012 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package pl.com.bottega.cqrs.command.impl;

Expand Down
16 changes: 14 additions & 2 deletions src/main/java/pl/com/bottega/cqrs/command/impl/StandardGate.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
/**
*
/*
* Copyright 2011-2012 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package pl.com.bottega.cqrs.command.impl;

Expand Down
15 changes: 15 additions & 0 deletions src/main/java/pl/com/bottega/cqrs/query/PaginatedResult.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
/*
* Copyright 2011-2012 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package pl.com.bottega.cqrs.query;

import java.io.Serializable;
Expand Down
16 changes: 14 additions & 2 deletions src/main/java/pl/com/bottega/cqrs/query/annotations/Finder.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
/**
*
/*
* Copyright 2011-2012 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package pl.com.bottega.cqrs.query.annotations;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
/*
* Copyright 2011-2012 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package pl.com.bottega.ddd.application;

import java.io.Serializable;
Expand Down
16 changes: 14 additions & 2 deletions src/main/java/pl/com/bottega/ddd/application/SystemUser.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
/**
*
/*
* Copyright 2011-2012 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package pl.com.bottega.ddd.application;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
/**
*
/*
* Copyright 2011-2012 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package pl.com.bottega.ddd.application.annotation;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
/**
*
/*
* Copyright 2011-2012 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package pl.com.bottega.ddd.application.annotation;

Expand Down
Loading

0 comments on commit 5a21b5e

Please sign in to comment.