Hi All,

i have an Java EE application. an EJB module that most deploy on application
server and several client that most use this module.

is there any way to build and client api from this module without separating
app to two  defferent module ?

i did this by adding the following code in my pom.xml, but the problem is
that in this case i have just 2 jar file but still on pom object and i don't
know how to set  dependency for app clients.

            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-jar-plugin</artifactId>
                <executions>
                    <execution>
                        <phase>package</phase>
                        <goals>
                            <goal>jar</goal>
                        </goals>
                        <configuration>
                            <classifier>api</classifier>
                            <includes>
                                ...
                            </includes>
                        </configuration>
                    </execution>
                </executions>
            </plugin>

any idea ?
-- 
sincerely yours
M. H. Shamsi

Reply via email to