我有一个 EJB Maven 模块。它与编译范围有一些依赖关系。如何从生成的客户端中排除此依赖项?
<dependencies>
<dependency>
<groupId>commons-lang</groupId>
<artifactId>commons-lang</artifactId>
<version>2.2</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-ejb-plugin</artifactId>
<version>2.3</version>
<configuration>
<generateClient>true</generateClient>
</configuration>
</plugin>
</plugins>
</build>