diff --git a/.cz-config.js b/.cz-config.js new file mode 100644 index 0000000000000000000000000000000000000000..15dde7e748b74e4147f21fa9f0532b9b93a42e3e --- /dev/null +++ b/.cz-config.js @@ -0,0 +1,51 @@ +'use strict'; + +module.exports = { + + types: [ + {value: 'feat', name: 'feat: A new feature'}, + {value: 'fix', name: 'fix: A bug fix'}, + {value: 'docs', name: 'docs: Documentation only changes'}, + {value: 'style', name: 'style: Changes that do not affect the meaning of the code\n (white-space, formatting, etc)'}, + {value: 'refactor', name: 'refactor: A code change that neither fixes a bug nor adds a feature'}, + {value: 'perf', name: 'perf: A code change that improves performance'}, + {value: 'test', name: 'test: Adding missing tests or correcting existing tests'}, + {value: 'build', name: 'build: Changes that affect the build system or external dependencies (example scopes: maven, gradle, npm, gulp)'}, + {value: 'ci', name: 'ci: Changes to our CI configuration files and scripts (example scopes: Travis, Circle, BrowserStack, SauceLabs)'}, + {value: 'chore', name: 'chore: Other changes that dont modify src or test files'}, + {value: 'revert', name: 'revert: Reverts a previous commit'} + ], + + scopes: [ + {name: 'jni'}, + {name: 'internal'}, + {name: 'swing'}, + {name: 'opencl'} + ], + + scopeOverrides: { + build: [ + {name: 'dependencies'}, + {name: 'versioning'}, + {name: 'release'}, + {name: 'build plugin'} + ], + ci: [ + {name: 'travis'} + ], + chore: [ + {name: 'commitizen'}, + {name: 'editorconfig'}, + {name: 'git'} + ], + docs: [ + {name: 'javadocs'}, + {name: 'repo'}, + {name: 'maven'} + ] + }, + + allowCustomScopes: true, + allowBreakingChanges: ['feat', 'fix', 'docs', 'style', 'refactor', 'perf', 'test', 'build', 'ci', 'chore', 'revert'] + +}; diff --git a/.cz.json b/.cz.json new file mode 100644 index 0000000000000000000000000000000000000000..d4856e0f01c0fd7a73d9905a6c4e1d4c440464d6 --- /dev/null +++ b/.cz.json @@ -0,0 +1 @@ +{ "path": "cz-customizable" } diff --git a/.gitignore b/.gitignore index ec105515552e6f1a28fe25ed1f02bd5c52656fc7..0cf34f613e46bed0a3037c5d9bbe59486b18524b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,46 @@ target/ .idea/ *.iml +# Useful examples +# https://github.com/github/gitignore + +# OS X +*.DS_Store + +# Java +*.jar +*.war +*.ear + +# C/C++ +*.so +*.dylib +*.dSYM +*.dll +*.jnilib + +# Mobile Tools for Java (J2ME) +.mtj.tmp/ + +# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml +hs_err_pid* + +# Directories +**/bin/ +**/classes/ +**/dist/ +**/include/ +**/nbproject/ +/.libs/ +/findbugs/ +/target/ + +#intellij +.idea/ +*.iml + +#logs +*.log + +#project specific +/src/genjava diff --git a/CHANGELOG.md b/CHANGELOG.md index 6639411b7d093e688ac4ed88641c4c984981b52c..9d6e527eb3ade531e5002f5c41e40a5c77c86c25 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,27 +1,5 @@ -# Syncleus POM Changelog +# OpenNARS Parent POM Changelog -## v7 +## 1 -## v6 - -* Minimum maven version required is now 3.0.4 -* Removed license decleration. -* Updated dependencies and plugins. - -## v5 - -* Removed some obsolete dependency excludes. -* Updated Syncleus GPG key name. -* Updated the following plugins - * maven-dependency-plugin: 3.0.1 -> 3.0.2 - * maven-failsafe-plugin: 2.20 -> 2.20.1 - * maven-surefire-plugin: 2.20 -> 2.20.1 - * maven-surefire-report-plugin: 2.20 -> 2.20.1 - -## v4 - -* Added Dependency managment for TestNG. - -## v1 - -* Initial version including most of the dependencies used regularly. +* Initial version, defines some of the most common dependencies. diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 0000000000000000000000000000000000000000..8789083127a02563d76111e0b3f35fafdfb1b477 --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1,96 @@ +# Contributing + +[](http://commitizen.github.io/cz-cli/) +[](http://semver.org/spec/v2.0.0.html) + +When contributing to this repository, it is usually a good idea to first discuss the change you +wish to make via issue, email, or any other method with the owners of this repository before +making a change. This could potentially save a lot of wasted hours. + +Please note we have a code of conduct, please follow it in all your interactions with the project. + +## Development + +### Commit Message Format + +All commits in the repository follow the +[Conventional Changelog standard](https://github.com/conventional-changelog/conventional-changelog-eslint/blob/master/convention.md). +It is a very simple format so you can still write commit messages by hand. However it is +highly recommended developers install [Commitizen](https://commitizen.github.io/cz-cli/), +it extends the git command and will make writing commit messages a breeze. All the OpenNARS +repositories are configured with local Commitizen configuration scripts. + +Getting Commitizen installed is usually trivial, just install it via npm. You will also +need to install the cz-customizable adapter which the repository is configured +to use. + +```bash + +npm install -g commitizen@2.8.6 cz-customizable@4.0.0 +``` + +Below is an example of Commitizen in action. It replaces your usual `git commit` command +with `git cz` instead. The new command takes all the same arguments however it leads you +through an interactive process to generate the commit message. + + + +Commit messages are used to automatically generate our changelogs, and to ensure +commits are searchable in a useful way. So please use the Commitizen tool and adhere to +the commit message standard or else we cannot accept Pull Requests without editing +them first. + +Below is an example of a properly formated commit message. + +``` +chore(Commitizen): Made repository Commitizen friendly. + +Added standard Commitizen configuration files to the repo along with all the custom rules. + +ISSUES CLOSED: #31 +``` + +### Pull Request Process + +1. Ensure that install or build dependencies do not appear in any commits in your code branch. +2. Ensure all commit messages follow the [Conventional Changelog](https://github.com/conventional-changelog/conventional-changelog-eslint/blob/master/convention.md) + standard explained earlier. +3. Update the CONTRIBUTORS.md file to add your name to it if it isn't already there (one entry + per person). +4. Adjust the project version to the new version that this Pull Request would represent. The + versioning scheme we use is [Semantic Versioning](http://semver.org/). +5. Your pull request will either be approved or feedback will be given on what needs to be + fixed to get approval. We usually review and comment on Pull Requests within 48 hours. + +### Making a Release + +Only administrators with privilages to push to the Maven Central account can deploy releases. If this isn't you +then you can just skip this section. + +First ensure the package is prepared for the release process: + +* Make sure any references to the version number in the readme is updated + * Version number in dependency maven snippet. + * Add new version to javadoc version list. +* Ensure that none of the dependencies used are snapshots. +* Update the changelog file. +* Check that all libraries used as dependencies point to the latest version. + +Next lets take a few steps to do the actual release: + +1. Update everything listed above. Do **not** drop the package version's `-SNAPSHOT` suffix in master. +2. Create a release branch, but make sure never to push this branch to the server: `git checkout -b release`. +3. Update the README.md again to ensure travis badge and javadoc badge point to static tag and not latest. +4. Drop the `-SNAPSHOT` suffix from the package version. +5. Commit the current changes using a generic commit message such as `build(release): version 1.2.3`. +6. Fully test the software before deploying, run all tests and install locally to test against the examples package. + You can install the package locally with `mvn clean install`. +7. Once satisfied the package is stable deploy it to maven central by executing `mvn -P sign clean package deploy`. +8. If deployment was successful then create a new tag for the current version with the following command: + `git tag -a v1.2.3 -m "Version 1.2.3"`. +9. Push the newly created tags to the server: `git push origin v1.2.3:v1.2.3`. +10. Go to Github and go to the release. Update the description with the changelog for the version and upload + all the artifacts in the target folder. +10. Checkout master again and then delete the release branch: `git branch -D release`. +11. Bump the snapshot version of the package to the next expected version, commiting the changes and pushing. +12. Deploy the new snapshot to the snapshot repository (no need to sign): `mvn clean deploy`. diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index 33f29d98f30e54d3574c43f362c8627896a79599..f8c6c156fd8336d2e920d56a26611821b4d2aa0b 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -1,2 +1,3 @@ # Contributors + * Jeffrey Phillips Freeman <jeffrey.freeman@syncleus.com> diff --git a/LICENSE b/LICENSE index 32377b5ea6aa3cd12cf992f642c90048edd5d573..4cd8f2b5f841e11b4914377d7e0e8c01e026bbc4 100644 --- a/LICENSE +++ b/LICENSE @@ -1,187 +1,339 @@ -Open Source Community License -Type C, Version 1.0 -(c) Syncleus, Inc., 2004 - - - -A. DEFINITIONS - -For the purpose of this license we will set forth certain definitions -for the ease of communications: - -"you" - Any person granted use of source code under this license by the -inclusion of this license in the source by the author and copyright holder. - -"program" - The Source code this license is bundled as well as any executables -and derivative work under copyright law. Any program this license is assigned -to, and means either the Program or any derivative work under copyright law. -Meaning any work containing the program or a portion of it, modified or -verbatim, and/or translated into other languages. - -"Authors' Recursive License" - A special license granted to certain -contributors of the program. See section F below. - -"this license" - The Open Source Public License - Type C Version 1.0 or any -later version at your option, as published by Syncleus, Inc. All -future versions will be in the same spirit but will correct any legal -oversights addressed by earlier versions. - -"source code" - The preferred form of the program for making modifications to -it that make up the program in part or in whole. For executables this means the -source code, plus any modules that are needed to compile it, including scripts -that control its compiling. This need not include components not normally -needed for compiling such as operating system libraries, or the kernel. - -"distribute" - The act of distributing, publishing, or otherwise making the -program available to one or more persons, in whole or in part. - -"entity" - Any one of the following: person, group of persons, company -or entity under law. - - - -B. SCOPE - -This license addresses copying, distribution, execution and modification of the -source code. Everything else is outside the scope of this license and no rights -are granted either written or implied outside its scope. - -You may not copy, distribute, execute, or sub-license except under the terms -and conditions of this license. Any attempt to do so outside of this license is -void and will immediately and automatically terminate any rights you have under -this license. This license is guaranteed not to be terminated so long as you -follow the rules and conditions of this license. - -You are not required to accept this license since you have not signed it. -However if you do not accept this license then all privileges and rights -granted herein is void. Unless specifically granted through another legal -license you shall not have the right to copy, distribute, execute or -sub-license this program in part or in whole. - -If for any reason you are not able to follow the conditions of this license -including, but not limited to, court order, agreement, or law, then you are not -excused from the conditions of this license. If for any reason you cannot -follow the terms and conditions of this license then you are not given the -privileges associated with them. For example, if you cannot provide the source -code to accompany the executable you cannot distribute the program. - - - -C. EXECUTION - -This License does not restrict execution of the program, including any uses of -its output so long as the terms and conditions of this license are upheld. The -right to execution is immediately revoked for any program under this license -found in violation of the terms. - - - -D. DISTRIBUTION - -You may copy and distribute the program according to the terms of this license -so long as you perform at least one of the following: - -1. Offer the source code to be distributed through the same medium by which -the program is distributed at no additional cost except for the cost of -offering and distributing the source code. - -2. Provide the program with a written offer for physical distribution good for -at least one year or until the distributing entity no longer exists, whichever -comes first. - -3. Provide the program bundled with the source code. If the program is offered -without the bundled source code then the source code must still be made -available through one of the two options above. - - - -E. LICENSE PROPAGATION - -You may copy and distribute the program verbatim, according to the terms and -conditions of this license, so long as all copyright and warranty disclaimers -remain unchanged and all references to this license remain. All copies of the -source code and its individual pages must appropriately and in plain sight -contain a notice of this license. The program must be distributed with a copy -of this license and all notices should point to the included copy. - -Propagation of this license, and the authors' recursive license below, is not -effected by mere aggregation of the program with other work on the same storage -medium. The propagation of these licenses only applies to work which were done -due to knowledge of the source code or output or were intended at some point in -its design to interact primarily with the program. This includes, but is not -limited to, libraries designed for the program, source code that is compiled -using the source code or portions of it, or programs designed specifically to -interact with this program closely invoking its execution with arguments or -inputs. - -Any time you distribute the program the recipient is automatically granted this -license from the original licensor. You may not impose any greater restrictions -to the recipient and it is not your responsibility to enforce this compliance -of this license by its recipients. - -You may copy and distribute, according to the terms and conditions of this -license, any modified version of the program or portion of it, creating a -derivative work, as long as all of the following conditions are met: - -1. You must record what files you have changed and when they were changed and -include that record in the source code. Any files part of the source code which -were changed must have clear and obvious notices of what was changed. You can -record your changes in an external file included with the source code so long as -the files which were changed contain a clear and obvious notice pointing to the -external file. - -2. You must allow any code you distribute that is derived from the program or -contains the program, in whole or in part, to be governed under this license. - -3. You must grant an Author's Recursive License, as described in the section -Authors' Recursive License to any copyright holder of any source code used in -the program that your modifications interact with. You also grant the same -Authors' Recursive License to anyone that copyright holder had to issue an -Authors' Recursive License to in order to publish modifications. Interactions -are included, but not limited to, calling of functions, calling or using parts -of a class, using variables provided by the interface, and any similar -interaction. - -4. If any notices are displayed in the output of the program making a notice of -warranty or license they must remain intact. If the nature of the program is -changed such that the output containing any such notices are no longer used an -equivalent notice must be placed elsewhere in the output in plain sight. The -only exception to this is if the program will no longer have any output at all, -or the output it produces is inappropriate to contain such a notice. - - - -F. AUTHORS' RECURSIVE LICENSE - -The Recursive Authors' License gives the following rights and privileges to the -individuals explained in section E subsection 3 above. The license is as -follows, ending at the end of this section: - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - -1. Redistribution of source code must retain the any copyright notices, and a -copy of this license, and any references to this license in the source code. - -2. Redistribution in binary form must reproduce any copyright notices, and a -copy of this license. - -3. The names of its contributors and copyright holders may not be used to -endorse or promote products derived from this software without specific prior -written permission. - -4. The disclaimer in section G of this license is accepted. - - -G. DISCLAIMER - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND -ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR -ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON -ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. \ No newline at end of file +GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + +Copyright (C) 1989, 1991 Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +Everyone is permitted to copy and distribute verbatim copies +of this license document, but changing it is not allowed. + + Preamble + +The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Lesser General Public License instead.) You can apply it to +your programs, too. + +When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + +To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + +For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + +We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + +Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + +Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + +The precise terms and conditions for copying, distribution and +modification follow. + +GNU GENERAL PUBLIC LICENSE +TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + +0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + +1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + +2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + +a) You must cause the modified files to carry prominent notices +stating that you changed the files and the date of any change. + +b) You must cause any work that you distribute or publish, that in +whole or in part contains or is derived from the Program or any +part thereof, to be licensed as a whole at no charge to all third +parties under the terms of this License. + +c) If the modified program normally reads commands interactively +when run, you must cause it, when started running for such +interactive use in the most ordinary way, to print or display an +announcement including an appropriate copyright notice and a +notice that there is no warranty (or else, saying that you provide +a warranty) and that users may redistribute the program under +these conditions, and telling the user how to view a copy of this +License. (Exception: if the Program itself is interactive but +does not normally print such an announcement, your work based on +the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + +3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + +a) Accompany it with the complete corresponding machine-readable +source code, which must be distributed under the terms of Sections +1 and 2 above on a medium customarily used for software interchange; or, + +b) Accompany it with a written offer, valid for at least three +years, to give any third party, for a charge no more than your +cost of physically performing source distribution, a complete +machine-readable copy of the corresponding source code, to be +distributed under the terms of Sections 1 and 2 above on a medium +customarily used for software interchange; or, + +c) Accompany it with the information you received as to the offer +to distribute corresponding source code. (This alternative is +allowed only for noncommercial distribution and only if you +received the program in object code or executable form with such +an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + +4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + +5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + +6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + +7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + +8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + +9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + +10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + +11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + +12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + +How to Apply These Terms to Your New Programs + +If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + +To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + +<one line to give the program's name and a brief idea of what it does.> +Copyright (C) <year> <name of author> + +This program is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + +Gnomovision version 69, Copyright (C) year name of author +Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. +This is free software, and you are welcome to redistribute it +under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + +Yoyodyne, Inc., hereby disclaims all copyright interest in the program +`Gnomovision' (which makes passes at compilers) written by James Hacker. + +<signature of Ty Coon>, 1 April 1989 +Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. diff --git a/README.md b/README.md index 2f99c31e0f7c0fa2dbf545af32f9ac6cf1e894aa..14d322f87aed292dcd8f1226795a4cae7c69673e 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,3 @@ -# Syncleus POM -[](https://www.versioneye.com/user/projects/55835513363861001b000082) +# OpenNARS Parent POM -This is the root POM used for all Syncleus projects. It sets some common dependency defaults to unclutter some of child POMs. +This is the root POM used for all OpenNARS projects. It sets some common dependency defaults to unclutter some of child POMs. diff --git a/pom.xml b/pom.xml index 2390cda82e1f190138a32ae0855295e706b0d4b9..3f56833af361a8275f8e5b51e07695150cce9b29 100644 --- a/pom.xml +++ b/pom.xml @@ -21,58 +21,40 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> - <groupId>com.syncleus</groupId> - <artifactId>syncleus</artifactId> - <version>7-SNAPSHOT</version> + <groupId>org.opennars</groupId> + <artifactId>opennars-parent</artifactId> + <version>1-SNAPSHOT</version> <packaging>pom</packaging> - <name>Syncleus</name> + <name>OpenNars Parent POM</name> <description> - Syncleus is an organization devoted to advanced Machine Learning, Evolutionary Algorithms, Massive Parallelism, - and Graph Theory based technologies. + Parent POM used in all OpenNARS projects. </description> - <url>http://www.syncleus.com/</url> + <url>http://OpenNARS.org</url> <licenses> <license> - <name>Apache Software License version 2.0</name> - <url>http://www.apache.org/licenses/LICENSE-2.0</url> + <name>GNU General Public License (GPL) version 2.0</name> + <url>https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html</url> <distribution>repo</distribution> </license> </licenses> <organization> - <name>Syncleus</name> - <url>http://www.syncleus.com</url> + <name>OpenNARS</name> + <url>http://OpenNARS.org</url> </organization> - <mailingLists> - <mailingList> - <name>Syncleus Announcements</name> - <subscribe>syncleus-announce-list+subscribe@syncleus.com</subscribe> - <unsubscribe>syncleus-announce-list+unsubscribe@syncleus.com</unsubscribe> - <post>syncleus-announce-list@syncleus.com</post> - <archive>https://groups.google.com/a/syncleus.com/forum/#!forum/syncleus-announce-list</archive> - </mailingList> - <mailingList> - <name>Syncleus Development</name> - <subscribe>syncleus-dev-list+subscribe@syncleus.com</subscribe> - <unsubscribe>syncleus-dev-list+unsubscribe@syncleus.com</unsubscribe> - <post>syncleus-dev-list@syncleus.com</post> - <archive>https://groups.google.com/a/syncleus.com/forum/#!forum/syncleus-dev-list</archive> - </mailingList> - </mailingLists> - <!-- Not inherited --> <prerequisites> <maven>3.0.4</maven> </prerequisites> <scm> - <connection>scm:git:http://gerrit.syncleus.com/syncleus-pom</connection> - <developerConnection>scm:git:ssh://gerrit.syncleus.com:29418/syncleus-pom</developerConnection> - <url>http://gerrit.syncleus.com/syncleus-pom</url> + <connection>scm:git:https://github.com/opennars/opennars-parent.git</connection> + <developerConnection>scm:git:ssh://git@github.com/opennars/opennars-parent.git</developerConnection> + <url>https://github.com/opennars/opennars-parent</url> </scm> <developers> @@ -108,9 +90,8 @@ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> <project.build.resourceEncoding>UTF-8</project.build.resourceEncoding> - <organization.logo>http://www.syncleus.com/wp-content/themes/MyProduct/images/logo.png</organization.logo> - <maven.compiler.source>1.7</maven.compiler.source> - <maven.compiler.target>1.7</maven.compiler.target> + <maven.compiler.source>1.8</maven.compiler.source> + <maven.compiler.target>1.8</maven.compiler.target> </properties> <dependencyManagement> @@ -425,7 +406,7 @@ <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-gpg-plugin</artifactId> <configuration> - <keyname>8762A2BFD91F0468</keyname> + <keyname>UPDATEME</keyname> </configuration> </plugin> </plugins> @@ -433,4 +414,3 @@ </profile> </profiles> </project> -