Skip to content

Commit

Permalink
Changed licensing configuration
Browse files Browse the repository at this point in the history
Since all the sources are generated, it makes no sense to remove the
license post-packaging. Generated source files are now annotated with
the license, which itself is preceded by a warning to not edit the files
manually. This warning is also present in the test files. The license is
not included in those because we do not distribute them.
  • Loading branch information
dabico committed Dec 21, 2023
1 parent 0e04a08 commit 9a62244
Show file tree
Hide file tree
Showing 41 changed files with 647 additions and 15 deletions.
23 changes: 23 additions & 0 deletions headers/HEADER
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
DO NOT EDIT THIS FILE MANUALLY! IT IS MACHINE GENERATED!

MIT License

Copyright (c) 2023-present SEART Research Group and Contributors

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
1 change: 1 addition & 0 deletions headers/WARNING
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DO NOT EDIT THIS FILE MANUALLY! IT IS MACHINE GENERATED!
Original file line number Diff line number Diff line change
@@ -1,3 +1,28 @@
/*
* DO NOT EDIT THIS FILE MANUALLY! IT IS MACHINE GENERATED!
*
* MIT License
*
* Copyright (c) 2023-present SEART Research Group and Contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
package ch.usi.si.seart.validation.constraints;

import javax.validation.Constraint;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,28 @@
/*
* DO NOT EDIT THIS FILE MANUALLY! IT IS MACHINE GENERATED!
*
* MIT License
*
* Copyright (c) 2023-present SEART Research Group and Contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
package ch.usi.si.seart.validation.constraints;

import javax.validation.Constraint;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,28 @@
/*
* DO NOT EDIT THIS FILE MANUALLY! IT IS MACHINE GENERATED!
*
* MIT License
*
* Copyright (c) 2023-present SEART Research Group and Contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
package ch.usi.si.seart.validation.constraints;

import javax.validation.Constraint;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,28 @@
/*
* DO NOT EDIT THIS FILE MANUALLY! IT IS MACHINE GENERATED!
*
* MIT License
*
* Copyright (c) 2023-present SEART Research Group and Contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
package ch.usi.si.seart.validation.constraints;

import javax.validation.Constraint;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,28 @@
/*
* DO NOT EDIT THIS FILE MANUALLY! IT IS MACHINE GENERATED!
*
* MIT License
*
* Copyright (c) 2023-present SEART Research Group and Contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
package ch.usi.si.seart.validation.constraints;

import javax.validation.Constraint;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,28 @@
/*
* DO NOT EDIT THIS FILE MANUALLY! IT IS MACHINE GENERATED!
*
* MIT License
*
* Copyright (c) 2023-present SEART Research Group and Contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
package ch.usi.si.seart.validation.constraints;

import javax.validation.Constraint;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,28 @@
/*
* DO NOT EDIT THIS FILE MANUALLY! IT IS MACHINE GENERATED!
*
* MIT License
*
* Copyright (c) 2023-present SEART Research Group and Contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
package ch.usi.si.seart.validation.constraints;

import javax.validation.Constraint;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,28 @@
/*
* DO NOT EDIT THIS FILE MANUALLY! IT IS MACHINE GENERATED!
*
* MIT License
*
* Copyright (c) 2023-present SEART Research Group and Contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
package ch.usi.si.seart.validation.validator;

import ch.usi.si.seart.validation.constraints.ASCII;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,28 @@
/*
* DO NOT EDIT THIS FILE MANUALLY! IT IS MACHINE GENERATED!
*
* MIT License
*
* Copyright (c) 2023-present SEART Research Group and Contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
package ch.usi.si.seart.validation.validator;

import ch.usi.si.seart.validation.constraints.Alphanumeric;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,28 @@
/*
* DO NOT EDIT THIS FILE MANUALLY! IT IS MACHINE GENERATED!
*
* MIT License
*
* Copyright (c) 2023-present SEART Research Group and Contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
package ch.usi.si.seart.validation.validator;

import ch.usi.si.seart.validation.constraints.NullOrNotBlank;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,28 @@
/*
* DO NOT EDIT THIS FILE MANUALLY! IT IS MACHINE GENERATED!
*
* MIT License
*
* Copyright (c) 2023-present SEART Research Group and Contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
package ch.usi.si.seart.validation.validator;

import ch.usi.si.seart.validation.constraints.Password;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/*
* DO NOT EDIT THIS FILE MANUALLY! IT IS MACHINE GENERATED!
*/
package ch.usi.si.seart.validation.constraints;

import lombok.AccessLevel;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/*
* DO NOT EDIT THIS FILE MANUALLY! IT IS MACHINE GENERATED!
*/
package ch.usi.si.seart.validation.constraints;

import lombok.AccessLevel;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/*
* DO NOT EDIT THIS FILE MANUALLY! IT IS MACHINE GENERATED!
*/
package ch.usi.si.seart.validation.constraints;

import lombok.AccessLevel;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/*
* DO NOT EDIT THIS FILE MANUALLY! IT IS MACHINE GENERATED!
*/
package ch.usi.si.seart.validation.constraints;

import lombok.Cleanup;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/*
* DO NOT EDIT THIS FILE MANUALLY! IT IS MACHINE GENERATED!
*/
package ch.usi.si.seart.validation.constraints;

import lombok.AllArgsConstructor;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/*
* DO NOT EDIT THIS FILE MANUALLY! IT IS MACHINE GENERATED!
*/
package ch.usi.si.seart.validation.constraints;

import lombok.AccessLevel;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/*
* DO NOT EDIT THIS FILE MANUALLY! IT IS MACHINE GENERATED!
*/
package ch.usi.si.seart.validation.constraints;

import lombok.AccessLevel;
Expand Down
Loading

0 comments on commit 9a62244

Please sign in to comment.