0

I read this, but cannot fix my issue.

I have java module where all files are java interfaces (screenshot).

<build>
    <finalName>tsm-mno-external-services</finalName>
    <plugins>
        <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-ejb-plugin</artifactId>
            <configuration>
                <generateClient>true</generateClient>
                <clientIncludes>
                    <clientInclude>com/test/ExternalCustomerCareServicesRemote.java</clientInclude>
                </clientIncludes>
            </configuration>
        </plugin>
    </plugins>
</build>

When Im run maven goal, ejb *-client.jar is not generated (In other modules with contains classed ejb *-client.jar generated without problems).

So question is next: can i generate ejb client from interfaces?

Community
  • 1
  • 1
Java Dude
  • 454
  • 6
  • 24

1 Answers1

0

There as an error in my pom.xml, so *-client.jar is not generated at package phase.

<build>
    <plugins>
        <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-ejb-plugin</artifactId>
            <configuration>
                <goal>package</goal>
                <generateClient>true</generateClient>
                <clientIncludes>
                    <clientInclude>path/**</clientInclude>
                </clientIncludes>
            </configuration>
            <executions>
                <execution>
                    <goals>
                        <goal>ejb</goal>
                    </goals>
                    <phase>package</phase>
                </execution>
            </executions>
        </plugin>
    </plugins>
</build>
Java Dude
  • 454
  • 6
  • 24