{"id":13470275,"url":"https://github.com/weld/core","last_synced_at":"2025-04-23T20:56:58.159Z","repository":{"id":38412331,"uuid":"819907","full_name":"weld/core","owner":"weld","description":"Weld, including integrations for Servlet containers and Java SE, examples and documentation","archived":false,"fork":false,"pushed_at":"2025-04-07T13:20:46.000Z","size":57763,"stargazers_count":394,"open_issues_count":0,"forks_count":287,"subscribers_count":20,"default_branch":"master","last_synced_at":"2025-04-23T20:56:38.778Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://weld.cdi-spec.org/","language":"Java","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/weld.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2010-08-05T19:41:31.000Z","updated_at":"2025-04-19T17:08:42.000Z","dependencies_parsed_at":"2024-07-30T18:30:02.333Z","dependency_job_id":"b740d2c1-f68f-4e4f-aadc-86c03d122421","html_url":"https://github.com/weld/core","commit_stats":null,"previous_names":[],"tags_count":213,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weld%2Fcore","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weld%2Fcore/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weld%2Fcore/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weld%2Fcore/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/weld","download_url":"https://codeload.github.com/weld/core/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250514767,"owners_count":21443208,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-07-31T16:00:27.510Z","updated_at":"2025-04-23T20:56:58.142Z","avatar_url":"https://github.com/weld.png","language":"Java","funding_links":[],"categories":["Java","IoC"],"sub_categories":[],"readme":"Weld\n====\n\n[![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/weld/user)\n![GH Actions Build Status](https://github.com/weld/core/actions/workflows/ci-actions.yml/badge.svg)\n[![Maven Central](http://img.shields.io/maven-central/v/org.jboss.weld.se/weld-se-shaded.svg)](http://search.maven.org/#search%7Cga%7C1%7Ca%3A%22weld-core-impl%22)\n[![License](https://img.shields.io/badge/license-Apache%20License%202.0-yellow.svg)](http://www.apache.org/licenses/LICENSE-2.0.html)\n\nWeld is the reference implementation of CDI: Contexts and Dependency Injection for the Java EE Platform which is the Java standard for dependency injection and contextual lifecycle management and one of the most important and popular parts of the Java EE platform.\n\nWeld is integrated into many Java EE application servers such as WildFly, JBoss Enterprise Application Platform, GlassFish, Oracle WebLogic and others. Weld can also be used in a Servlet-only environment (Tomcat, Jetty) or plain Java SE environment.\n\nSee http://weld.cdi-spec.org for more details.\n\nBuilding Weld\n-------------\n\nTo build Weld simply run\n\n\u003e $ mvn clean install\n\nUpgrading Weld in WildFly\n-------------------------\n\nFirstly, set the `JBOSS_HOME` environment property to point to your WildFly installation which already contains Weld 3 in older version:\n\n\u003e $ export JBOSS_HOME=/opt/wildfly\n\nThen, run the upgrade script:\n\n\u003e $ mvn package -Pupdate-jboss-as -f jboss-as/pom.xml -Dweld.update.version=${weld.version}\n\nIn the above snippet, `${weld.version}` is the version of Weld you want to use.\nNow you should have patched WildFly in `JBOSS_HOME`.\n\nRunning integration tests and the TCK on WildFly\n----------------------------------------------------\n\nFollow the steps above to set the JBOSS_HOME environment property and to upgrade Weld\nwithin WildFly. Then, run:\n\n\u003e $ mvn clean verify -Dincontainer -f tests-arquillian/pom.xml\n\n\u003e $ mvn clean verify -Dincontainer -f jboss-tck-runner/pom.xml\n\nIf you want to run a specific test you can use the `-Dtest=\u003ctest_name\u003e` flag. For example \n\n\u003e $ mvn clean verify -Dincontainer -f jboss-tck-runner/pom.xml -Dtest=FireEventTest\n\nWill run all the tests defined in `FireEventTest`.\n\n\u003e $ mvn clean verify -Dincontainer -f jboss-tck-runner/pom.xml -Dtest=FireEventTest#testInjectedEventAcceptsEventObject\n\nWill only run the `FireEventTest.testInjectedEventAcceptsEventObject()` test method.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fweld%2Fcore","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fweld%2Fcore","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fweld%2Fcore/lists"}