# Commons-Weaver **Repository Path**: apache/commons-weaver ## Basic Information - **Project Name**: Commons-Weaver - **Description**: Apache Commons Weaver 提供了一种通过生成(“weaving”)字节码到这些类中来增强已编译 Java 类的简便方法 - **Primary Language**: Java - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: https://www.oschina.net/p/commons-weaver - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-06-18 - **Last Updated**: 2025-06-26 ## Categories & Tags **Categories**: utils **Tags**: None ## README Apache Commons Weaver =================== [![Java CI](https://github.com/apache/commons-weaver/actions/workflows/maven.yml/badge.svg)](https://github.com/apache/commons-weaver/actions/workflows/maven.yml) [![Maven Central](https://img.shields.io/maven-central/v/org.apache.commons/commons-weaver-base?label=Maven%20Central)](https://search.maven.org/artifact/org.apache.commons/commons-weaver-base) [![Javadocs](https://javadoc.io/badge/org.apache.commons/commons-weaver-base/2.0.svg)](https://javadoc.io/doc/org.apache.commons/commons-weaver-base/2.0) Apache Commons Weaver provides an easy way to enhance compiled Java classes by generating ("weaving") bytecode into those classes. Documentation ------------- More information can be found on the [Apache Commons Weaver homepage](https://commons.apache.org/proper/commons-weaver). The [Javadoc](https://commons.apache.org/proper/commons-weaver/javadocs/api-release) can be browsed. Questions related to the usage of Apache Commons Weaver should be posted to the [user mailing list](https://commons.apache.org/mail-lists.html). Where can I get the latest release? ----------------------------------- You can download source and binaries from our [download page](https://commons.apache.org/proper/commons-weaver/download_weaver.cgi). Alternatively, you can pull it from the central Maven repositories: ```xml org.apache.commons commons-weaver-base 2.0 ``` Building -------- Building requires a Java JDK and [Apache Maven](https://maven.apache.org/). The required Java version is found in the `pom.xml` as the `maven.compiler.source` property. From a command shell, run `mvn` without arguments to invoke the default Maven goal to run all tests and checks. Contributing ------------ We accept Pull Requests via GitHub. The [developer mailing list](https://commons.apache.org/mail-lists.html) is the main channel of communication for contributors. There are some guidelines which will make applying PRs easier for us: + No tabs! Please use spaces for indentation. + Respect the existing code style for each file. + Create minimal diffs - disable on save actions like reformat source code or organize imports. If you feel the source code should be reformatted create a separate PR for this change. + Provide JUnit tests for your changes and make sure your changes don't break any existing tests by running ```mvn```. If you plan to contribute on a regular basis, please consider filing a [contributor license agreement](https://www.apache.org/licenses/#clas). You can learn more about contributing via GitHub in our [contribution guidelines](CONTRIBUTING.md). License ------- This code is licensed under the [Apache License v2](https://www.apache.org/licenses/LICENSE-2.0). See the `NOTICE.txt` file for required notices and attributions. Donating -------- You like Apache Commons Weaver? Then [donate back to the ASF](https://www.apache.org/foundation/contributing.html) to support development. Additional Resources -------------------- + [Apache Commons Homepage](https://commons.apache.org/) + [Apache Issue Tracker (JIRA)](https://issues.apache.org/jira/browse/WEAVER) + [Apache Commons Slack Channel](https://the-asf.slack.com/archives/C60NVB8AD) + [Apache Commons Twitter Account](https://twitter.com/ApacheCommons) + `#apache-commons` IRC channel on `irc.freenode.org` Apache Commons Components ------------------------- Please see the [list of components](https://commons.apache.org/components.html)