You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Stefan Seidel (JIRA)" <ji...@codehaus.org> on 2007/01/08 14:48:21 UTC

[jira] Created: (MEAR-55) Adding ejb-client dependencies as gives error

Adding ejb-client dependencies as <module><jarModule> gives error
-----------------------------------------------------------------

                 Key: MEAR-55
                 URL: http://jira.codehaus.org/browse/MEAR-55
             Project: Maven 2.x Ear Plugin
          Issue Type: Bug
    Affects Versions: 2.3
            Reporter: Stefan Seidel
            Priority: Minor


The plugin complains that the artifacts which are of type ejb-client are no dependencies of this project.

{code}[INFO] Artifact[jar:de.xpm:lucenesearch-ejb] is not a dependency of the project.{code}

The dependency looks like
{code}
    <dependency>
      <groupId>de.xpm</groupId>
      <artifactId>lucenesearch-ejb</artifactId>
      <version>[1.2.1,2.0)</version>
      <type>ejb-client</type>
    </dependency>
{code}

The plugin configuration looks like
{code}
        <configuration>
          <modules>
            <jarModule>
              <groupId>de.xpm</groupId>
              <artifactId>lucenesearch-ejb</artifactId>
              <includeInApplicationXml>true</includeInApplicationXml>
            </jarModule>
          </modules>
        </configuration>
{code}

The workaround is to include
{code}
          <artifactTypeMappings>
            <artifactTypeMapping type="ejb-client" mapping="jar" />
          </artifactTypeMappings>
{code}
in the plugin configuration.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (MEAR-55) Adding ejb-client dependencies as gives error

Posted by "Stephane Nicoll (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MEAR-55?page=comments#action_84479 ] 
            
Stephane Nicoll commented on MEAR-55:
-------------------------------------

http://maven.apache.org/plugins/maven-ear-plugin/modules.html

> Adding ejb-client dependencies as <module><jarModule> gives error
> -----------------------------------------------------------------
>
>                 Key: MEAR-55
>                 URL: http://jira.codehaus.org/browse/MEAR-55
>             Project: Maven 2.x Ear Plugin
>          Issue Type: Bug
>    Affects Versions: 2.3
>            Reporter: Stefan Seidel
>         Assigned To: Stephane Nicoll
>            Priority: Minor
>
> The plugin complains that the artifacts which are of type ejb-client are no dependencies of this project.
> {code}[INFO] Artifact[jar:de.xpm:lucenesearch-ejb] is not a dependency of the project.{code}
> The dependency looks like
> {code}
>     <dependency>
>       <groupId>de.xpm</groupId>
>       <artifactId>lucenesearch-ejb</artifactId>
>       <version>[1.2.1,2.0)</version>
>       <type>ejb-client</type>
>     </dependency>
> {code}
> The plugin configuration looks like
> {code}
>         <configuration>
>           <modules>
>             <jarModule>
>               <groupId>de.xpm</groupId>
>               <artifactId>lucenesearch-ejb</artifactId>
>               <includeInApplicationXml>true</includeInApplicationXml>
>             </jarModule>
>           </modules>
>         </configuration>
> {code}
> The workaround is to include
> {code}
>           <artifactTypeMappings>
>             <artifactTypeMapping type="ejb-client" mapping="jar" />
>           </artifactTypeMappings>
> {code}
> in the plugin configuration.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (MEAR-55) Adding ejb-client dependencies as gives error

Posted by "Stephane Nicoll (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MEAR-55?page=comments#action_84477 ] 
            
Stephane Nicoll commented on MEAR-55:
-------------------------------------

UH?

What workaround are you talking about

{code:xml}
<configuration>
          <modules>
            <ejbClientModule>
              <groupId>de.xpm</groupId>
              <artifactId>lucenesearch-ejb</artifactId>
              <includeInApplicationXml>true</includeInApplicationXml>
            </ejbClientModule>
          </modules>
        </configuration>
{code}

???

> Adding ejb-client dependencies as <module><jarModule> gives error
> -----------------------------------------------------------------
>
>                 Key: MEAR-55
>                 URL: http://jira.codehaus.org/browse/MEAR-55
>             Project: Maven 2.x Ear Plugin
>          Issue Type: Bug
>    Affects Versions: 2.3
>            Reporter: Stefan Seidel
>            Priority: Minor
>
> The plugin complains that the artifacts which are of type ejb-client are no dependencies of this project.
> {code}[INFO] Artifact[jar:de.xpm:lucenesearch-ejb] is not a dependency of the project.{code}
> The dependency looks like
> {code}
>     <dependency>
>       <groupId>de.xpm</groupId>
>       <artifactId>lucenesearch-ejb</artifactId>
>       <version>[1.2.1,2.0)</version>
>       <type>ejb-client</type>
>     </dependency>
> {code}
> The plugin configuration looks like
> {code}
>         <configuration>
>           <modules>
>             <jarModule>
>               <groupId>de.xpm</groupId>
>               <artifactId>lucenesearch-ejb</artifactId>
>               <includeInApplicationXml>true</includeInApplicationXml>
>             </jarModule>
>           </modules>
>         </configuration>
> {code}
> The workaround is to include
> {code}
>           <artifactTypeMappings>
>             <artifactTypeMapping type="ejb-client" mapping="jar" />
>           </artifactTypeMappings>
> {code}
> in the plugin configuration.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Closed: (MEAR-55) Adding ejb-client dependencies as gives error

Posted by "Stefan Seidel (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MEAR-55?page=all ]

Stefan Seidel closed MEAR-55.
-----------------------------

    Resolution: Won't Fix

Is not a bug - it's a feature ;)

> Adding ejb-client dependencies as <module><jarModule> gives error
> -----------------------------------------------------------------
>
>                 Key: MEAR-55
>                 URL: http://jira.codehaus.org/browse/MEAR-55
>             Project: Maven 2.x Ear Plugin
>          Issue Type: Bug
>    Affects Versions: 2.3
>            Reporter: Stefan Seidel
>         Assigned To: Stephane Nicoll
>            Priority: Minor
>
> The plugin complains that the artifacts which are of type ejb-client are no dependencies of this project.
> {code}[INFO] Artifact[jar:de.xpm:lucenesearch-ejb] is not a dependency of the project.{code}
> The dependency looks like
> {code}
>     <dependency>
>       <groupId>de.xpm</groupId>
>       <artifactId>lucenesearch-ejb</artifactId>
>       <version>[1.2.1,2.0)</version>
>       <type>ejb-client</type>
>     </dependency>
> {code}
> The plugin configuration looks like
> {code}
>         <configuration>
>           <modules>
>             <jarModule>
>               <groupId>de.xpm</groupId>
>               <artifactId>lucenesearch-ejb</artifactId>
>               <includeInApplicationXml>true</includeInApplicationXml>
>             </jarModule>
>           </modules>
>         </configuration>
> {code}
> The workaround is to include
> {code}
>           <artifactTypeMappings>
>             <artifactTypeMapping type="ejb-client" mapping="jar" />
>           </artifactTypeMappings>
> {code}
> in the plugin configuration.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (MEAR-55) Adding ejb-client dependencies as gives error

Posted by "Stefan Seidel (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MEAR-55?page=comments#action_84504 ] 
            
Stefan Seidel commented on MEAR-55:
-----------------------------------

Ok, I didn't know about the ejbClientModule tag ... when I looked at the documentation back when I included the module, I didn't find it. Thx & closing.

> Adding ejb-client dependencies as <module><jarModule> gives error
> -----------------------------------------------------------------
>
>                 Key: MEAR-55
>                 URL: http://jira.codehaus.org/browse/MEAR-55
>             Project: Maven 2.x Ear Plugin
>          Issue Type: Bug
>    Affects Versions: 2.3
>            Reporter: Stefan Seidel
>         Assigned To: Stephane Nicoll
>            Priority: Minor
>
> The plugin complains that the artifacts which are of type ejb-client are no dependencies of this project.
> {code}[INFO] Artifact[jar:de.xpm:lucenesearch-ejb] is not a dependency of the project.{code}
> The dependency looks like
> {code}
>     <dependency>
>       <groupId>de.xpm</groupId>
>       <artifactId>lucenesearch-ejb</artifactId>
>       <version>[1.2.1,2.0)</version>
>       <type>ejb-client</type>
>     </dependency>
> {code}
> The plugin configuration looks like
> {code}
>         <configuration>
>           <modules>
>             <jarModule>
>               <groupId>de.xpm</groupId>
>               <artifactId>lucenesearch-ejb</artifactId>
>               <includeInApplicationXml>true</includeInApplicationXml>
>             </jarModule>
>           </modules>
>         </configuration>
> {code}
> The workaround is to include
> {code}
>           <artifactTypeMappings>
>             <artifactTypeMapping type="ejb-client" mapping="jar" />
>           </artifactTypeMappings>
> {code}
> in the plugin configuration.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira