Eclipse 如何在tapestry中定制mixin?

Eclipse 如何在tapestry中定制mixin?,eclipse,maven,mixins,tapestry,Eclipse,Maven,Mixins,Tapestry,我的英语不好。我在tapestry中有一个定制的mixins 当然,在包mixins中,使用maven和eclipse。而且它起作用了。我想在另一个maven项目中使用它 <dependency> <groupId>com.chit.mymixins</groupId> <artifactId>mixins</artifactId> <version>1.0</vers

我的英语不好。我在
tapestry
中有一个定制的
mixins

当然,在包
mixins
中,使用
maven
eclipse
。而且它起作用了。我想在另一个maven项目中使用它

 <dependency>
        <groupId>com.chit.mymixins</groupId>
        <artifactId>mixins</artifactId>
        <version>1.0</version>
    </dependency

com.chit.mymixins
混入
1

您需要为mixin创建库映射。更多信息,请阅读此文。

谢谢您的回答。现在我的mixin可用了,但是如何将我的模块配置为自动加载?步骤5中没有关于pom.xml的源代码。我得到了答案。谢谢。你好,苏迪。我的项目还没有成功。提前谢谢。我的配置如下:publicstaticvoidcontributeComponentClassResolver(配置配置){configuration.add(newlibrarymapping(“chit”,“com.chit.newautocomplete”);}org.apache.maven.pluginsmaven-jar-plugincom.chit.newautocomplete.services.appmodule我有一个定制的组件用于测试,它工作得很好,但我的定制混音器不能。还需要其他配置吗?谢谢。