Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document and add copyright headers #756

Merged
merged 10 commits into from
Feb 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# Copyright (c) 2023 Contributors to the Eclipse Foundation
#
# This program and the accompanying materials are made available under the
# Apache Software License 2.0 which is available at:
# https://www.apache.org/licenses/LICENSE-2.0.
#
# SPDX-License-Identifier: Apache-2.0
version: 2
updates:
- package-ecosystem: github-actions
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/ci-actions.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# Copyright (c) 2021 Red Hat, Inc. and others
#
# This program and the accompanying materials are made available under the
# Apache Software License 2.0 which is available at:
# https://www.apache.org/licenses/LICENSE-2.0.
#
# SPDX-License-Identifier: Apache-2.0
name: Jakarta Contexts and Dependency Injection CI

on:
Expand Down
28 changes: 27 additions & 1 deletion CONTRIBUTING.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ Contributor Agreement (ECA) on file.
For more information, please see the Eclipse Committer Handbook:
https://www.eclipse.org/projects/handbook/#resources-commit

## Eclipse Development Process
== Eclipse Development Process

This Eclipse Foundation open project is governed by the Eclipse Foundation
Development Process and operates under the terms of the Eclipse IP Policy.
Expand All @@ -64,6 +64,32 @@ Jakarta EE specification projects.
* https://jakarta.ee/about/jesp/
* https://www.eclipse.org/legal/efsp_non_assert.php

== Copyright headers

Every new file should start with one of the following headers in whatever comment format is appropriate for the file, where `{year}` is the year the file was created and `{owner}` is the copyright owner of the original contribution:

[source]
----
Copyright (c) {year} Contributors to the Eclipse Foundation

This program and the accompanying materials are made available under the
Apache Software License 2.0 which is available at:
https://www.apache.org/licenses/LICENSE-2.0.

SPDX-License-Identifier: Apache-2.0
----

[source]
----
Copyright (c) {year} {owner} and others

This program and the accompanying materials are made available under the
Apache Software License 2.0 which is available at:
https://www.apache.org/licenses/LICENSE-2.0.

SPDX-License-Identifier: Apache-2.0
----

== Contact

Contact the project developers via the project's "dev" list.
Expand Down
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
<!--
Copyright (c) 2011 Red Hat, Inc. and others

This program and the accompanying materials are made available under the
Apache Software License 2.0 which is available at:
https://www.apache.org/licenses/LICENSE-2.0.

SPDX-License-Identifier: Apache-2.0
-->

# GitHub Pages
The latest news for CDI 4.x can be found in the [GitHub pages](https://jakartaee.github.io/cdi/)
Expand Down
567 changes: 288 additions & 279 deletions api/src/ide/eclipse/jboss_community_formatter.xml

Large diffs are not rendered by default.

9 changes: 9 additions & 0 deletions api/src/main/javadoc/overview.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
<!--
Copyright (c) 2011 Red Hat, Inc. and others

This program and the accompanying materials are made available under the
Apache Software License 2.0 which is available at:
https://www.apache.org/licenses/LICENSE-2.0.

SPDX-License-Identifier: Apache-2.0
-->
<html>

<body>
Expand Down
9 changes: 9 additions & 0 deletions api/src/test/resources/full-beans-1_1.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2012 Red Hat, Inc. and others

This program and the accompanying materials are made available under the
Apache Software License 2.0 which is available at:
https://www.apache.org/licenses/LICENSE-2.0.

SPDX-License-Identifier: Apache-2.0
-->
<beans xmlns="http://xmlns.jcp.org/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="
Expand Down
10 changes: 9 additions & 1 deletion api/src/test/resources/java.policy
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@

/*
* Copyright (c) 2018 Red Hat, Inc. and others
*
* This program and the accompanying materials are made available under the
* Apache Software License 2.0 which is available at:
* https://www.apache.org/licenses/LICENSE-2.0.
*
* SPDX-License-Identifier: Apache-2.0
*/
// Standard extensions get all permissions by default

grant codeBase "file:${{java.ext.dirs}}/*" {
Expand Down
9 changes: 9 additions & 0 deletions docs/404.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
<!--
Copyright (c) 2021 Red Hat, Inc. and others

This program and the accompanying materials are made available under the
Apache Software License 2.0 which is available at:
https://www.apache.org/licenses/LICENSE-2.0.

SPDX-License-Identifier: Apache-2.0
-->
---
permalink: /404.html
layout: default
Expand Down
7 changes: 7 additions & 0 deletions docs/Gemfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# Copyright (c) 2021 Red Hat, Inc. and others
#
# This program and the accompanying materials are made available under the
# Apache Software License 2.0 which is available at:
# https://www.apache.org/licenses/LICENSE-2.0.
#
# SPDX-License-Identifier: Apache-2.0
source "https://rubygems.org"
# Hello! This is where you manage which Jekyll version is used to run.
# When you want to use a different version, change it below, save the
Expand Down
9 changes: 9 additions & 0 deletions docs/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
<!--
Copyright (c) 2021 Red Hat, Inc. and others

This program and the accompanying materials are made available under the
Apache Software License 2.0 which is available at:
https://www.apache.org/licenses/LICENSE-2.0.

SPDX-License-Identifier: Apache-2.0
-->
# Jakarta CDI Website Based on Jekyll

## Getting Started
Expand Down
9 changes: 9 additions & 0 deletions docs/_authors/asd.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
<!--
Copyright (c) 2021 Red Hat, Inc. and others

This program and the accompanying materials are made available under the
Apache Software License 2.0 which is available at:
https://www.apache.org/licenses/LICENSE-2.0.

SPDX-License-Identifier: Apache-2.0
-->
---
short_name: asd
name: Antoine Sabot-Durand
Expand Down
9 changes: 9 additions & 0 deletions docs/_authors/ladt.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
<!--
Copyright (c) 2021 Red Hat, Inc. and others

This program and the accompanying materials are made available under the
Apache Software License 2.0 which is available at:
https://www.apache.org/licenses/LICENSE-2.0.

SPDX-License-Identifier: Apache-2.0
-->
---
short_name: ladt
name: Ladislav Thon
Expand Down
9 changes: 9 additions & 0 deletions docs/_authors/matn.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
<!--
Copyright (c) 2021 Red Hat, Inc. and others

This program and the accompanying materials are made available under the
Apache Software License 2.0 which is available at:
https://www.apache.org/licenses/LICENSE-2.0.

SPDX-License-Identifier: Apache-2.0
-->
---
short_name: matn
name: Matej Novotny
Expand Down
9 changes: 9 additions & 0 deletions docs/_authors/starksm.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
<!--
Copyright (c) 2021 Red Hat, Inc. and others

This program and the accompanying materials are made available under the
Apache Software License 2.0 which is available at:
https://www.apache.org/licenses/LICENSE-2.0.

SPDX-License-Identifier: Apache-2.0
-->
---
short_name: starksm
name: Scott M Stark
Expand Down
7 changes: 7 additions & 0 deletions docs/_config.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# Copyright (c) 2021 Red Hat, Inc. and others
#
# This program and the accompanying materials are made available under the
# Apache Software License 2.0 which is available at:
# https://www.apache.org/licenses/LICENSE-2.0.
#
# SPDX-License-Identifier: Apache-2.0
# Welcome to Jekyll!
#
# This config file is meant for settings that affect your whole blog, values
Expand Down
7 changes: 7 additions & 0 deletions docs/_data/navigation.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# Copyright (c) 2021 Red Hat, Inc. and others
#
# This program and the accompanying materials are made available under the
# Apache Software License 2.0 which is available at:
# https://www.apache.org/licenses/LICENSE-2.0.
#
# SPDX-License-Identifier: Apache-2.0
- name: Home
link: /
- name: About
Expand Down
9 changes: 9 additions & 0 deletions docs/_layouts/author.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
<!--
Copyright (c) 2021 Red Hat, Inc. and others

This program and the accompanying materials are made available under the
Apache Software License 2.0 which is available at:
https://www.apache.org/licenses/LICENSE-2.0.

SPDX-License-Identifier: Apache-2.0
-->
---
layout: default
---
Expand Down
9 changes: 9 additions & 0 deletions docs/_layouts/post.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
<!--
Copyright (c) 2021 Red Hat, Inc. and others

This program and the accompanying materials are made available under the
Apache Software License 2.0 which is available at:
https://www.apache.org/licenses/LICENSE-2.0.

SPDX-License-Identifier: Apache-2.0
-->
---
layout: default
---
Expand Down
9 changes: 9 additions & 0 deletions docs/_posts/2021-10-25-pages-here.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
<!--
Copyright (c) 2021 Red Hat, Inc. and others

This program and the accompanying materials are made available under the
Apache Software License 2.0 which is available at:
https://www.apache.org/licenses/LICENSE-2.0.

SPDX-License-Identifier: Apache-2.0
-->
---
layout: post
title: "Jakarta CDI GitHub Pages"
Expand Down
9 changes: 9 additions & 0 deletions docs/_posts/2021-10-25-way-to-cdi4.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
<!--
Copyright (c) 2021 Red Hat, Inc. and others

This program and the accompanying materials are made available under the
Apache Software License 2.0 which is available at:
https://www.apache.org/licenses/LICENSE-2.0.

SPDX-License-Identifier: Apache-2.0
-->
---
title: "On the Way to CDI 4.0"
summary: Overview of changes coming to CDI 4.0
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
<!--
Copyright (c) 2021 Red Hat, Inc. and others

This program and the accompanying materials are made available under the
Apache Software License 2.0 which is available at:
https://www.apache.org/licenses/LICENSE-2.0.

SPDX-License-Identifier: Apache-2.0
-->
---
title: "You already know Build Compatible Extensions"
summary: Comparison of Portable Extensions and Build Compatible Extensions
Expand Down
9 changes: 9 additions & 0 deletions docs/_posts/2022-01-24-400-RC3-spec.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
<!--
Copyright (c) 2022 Red Hat, Inc. and others

This program and the accompanying materials are made available under the
Apache Software License 2.0 which is available at:
https://www.apache.org/licenses/LICENSE-2.0.

SPDX-License-Identifier: Apache-2.0
-->
---
layout: post
title: "Jakarta CDI 4.0 Draft Specification"
Expand Down
9 changes: 9 additions & 0 deletions docs/about.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
<!--
Copyright (c) 2021 Red Hat, Inc. and others

This program and the accompanying materials are made available under the
Apache Software License 2.0 which is available at:
https://www.apache.org/licenses/LICENSE-2.0.

SPDX-License-Identifier: Apache-2.0
-->
---
layout: page
title: About
Expand Down
9 changes: 9 additions & 0 deletions docs/authors.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
<!--
Copyright (c) 2021 Red Hat, Inc. and others

This program and the accompanying materials are made available under the
Apache Software License 2.0 which is available at:
https://www.apache.org/licenses/LICENSE-2.0.

SPDX-License-Identifier: Apache-2.0
-->
---
layout: default
title: Authors
Expand Down
9 changes: 9 additions & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
<!--
Copyright (c) 2021 Red Hat, Inc. and others

This program and the accompanying materials are made available under the
Apache Software License 2.0 which is available at:
https://www.apache.org/licenses/LICENSE-2.0.

SPDX-License-Identifier: Apache-2.0
-->
---
# Feel free to add content and custom Front Matter to this file.
# To modify the layout, see https://jekyllrb.com/docs/themes/#overriding-theme-defaults
Expand Down
9 changes: 9 additions & 0 deletions el/pom.xml
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
<!--
Copyright (c) 2023 Red Hat, Inc. and others

This program and the accompanying materials are made available under the
Apache Software License 2.0 which is available at:
https://www.apache.org/licenses/LICENSE-2.0.

SPDX-License-Identifier: Apache-2.0
-->
<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>

Expand Down
9 changes: 9 additions & 0 deletions el/src/main/javadoc/overview.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
<!--
Copyright (c) 2023 Red Hat, Inc. and others

This program and the accompanying materials are made available under the
Apache Software License 2.0 which is available at:
https://www.apache.org/licenses/LICENSE-2.0.

SPDX-License-Identifier: Apache-2.0
-->
<html>

<body>
Expand Down
11 changes: 10 additions & 1 deletion ide-config/pom.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2023 Red Hat, Inc. and others

This program and the accompanying materials are made available under the
Apache Software License 2.0 which is available at:
https://www.apache.org/licenses/LICENSE-2.0.

SPDX-License-Identifier: Apache-2.0
-->
<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/xsd/maven-4.0.0.xsd">
Expand All @@ -19,4 +28,4 @@
<maven.compiler.release>11</maven.compiler.release>
</properties>

</project>
</project>
Loading