You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Willie Vu (JIRA)" <ji...@codehaus.org> on 2006/12/10 05:36:41 UTC

[jira] Created: (MNG-2694) property in plugin dependency's systemPath is not resolved and causes "system-scoped dependency must specify an absolute path systemPath."

property in plugin dependency's systemPath is not resolved and causes "system-scoped dependency must specify an absolute path systemPath."
------------------------------------------------------------------------------------------------------------------------------------------

                 Key: MNG-2694
                 URL: http://jira.codehaus.org/browse/MNG-2694
             Project: Maven 2
          Issue Type: Bug
          Components: Bootstrap & Build
    Affects Versions: 2.0.4
            Reporter: Willie Vu


In a plugin pom.xml, 

<dependency>
    <groupId>weblogic</groupId>
    <artifactId>weblogic</artifactId>
    <version>[9.0,)</version>
    <scope>system</scope>
    <systemPath>${wl.home}/server/lib/weblogic.jar</systemPath>
</dependency>

In ~/.m2/setting.xml,

<settings>
  <profiles>
    <profile>
        <id>weblogicConfig</id>
      <activation>
        <activeByDefault/>
      </activation>
        <properties>
            <wl.home>c:/java/bea-9.2/weblogic92</wl.home>
        </properties>
    </profile>
  </profiles>
<activeProfiles>
    <activeProfile>weblogicConfig</activeProfile>
  </activeProfiles>
</settings>

When build the plugin, it works fine.

In a project that uses this plugin, when build, it causes the following error:

Project ID: org.codehaus.mojo:weblogic-maven-plugin
POM Location: Artifact [org.codehaus.mojo:weblogic-maven-plugin:pom:2.9.0-SNAPSHOT]
Validation Messages:

    [0]  For dependency Dependency {groupId=weblogic, artifactId=weblogic, version=[9.0,), type=jar}: system-scoped dependency must specify an absolute path systemPath.


-- 
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: (MNG-2694) property in plugin dependency's systemPath is not resolved and causes "system-scoped dependency must specify an absolute path systemPath."

Posted by "Jon Osborn (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-2694?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=199387#action_199387 ] 

Jon Osborn commented on MNG-2694:
---------------------------------

What happens when you specify the properties in the same pom as the ${wl.home} usage?

> property in plugin dependency's systemPath is not resolved and causes "system-scoped dependency must specify an absolute path systemPath."
> ------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: MNG-2694
>                 URL: http://jira.codehaus.org/browse/MNG-2694
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Bootstrap & Build
>    Affects Versions: 2.0.4, 2.0.5
>            Reporter: Willie Vu
>            Assignee: Brett Porter
>
> In a plugin pom.xml, 
> <dependency>
>     <groupId>weblogic</groupId>
>     <artifactId>weblogic</artifactId>
>     <version>[9.0,)</version>
>     <scope>system</scope>
>     <systemPath>${wl.home}/server/lib/weblogic.jar</systemPath>
> </dependency>
> In ~/.m2/setting.xml,
> <settings>
>   <profiles>
>     <profile>
>         <id>weblogicConfig</id>
>       <activation>
>         <activeByDefault/>
>       </activation>
>         <properties>
>             <wl.home>c:/java/bea-9.2/weblogic92</wl.home>
>         </properties>
>     </profile>
>   </profiles>
> <activeProfiles>
>     <activeProfile>weblogicConfig</activeProfile>
>   </activeProfiles>
> </settings>
> When build the plugin, it works fine.
> In a project that uses this plugin, when build, it causes the following error:
> Project ID: org.codehaus.mojo:weblogic-maven-plugin
> POM Location: Artifact [org.codehaus.mojo:weblogic-maven-plugin:pom:2.9.0-SNAPSHOT]
> Validation Messages:
>     [0]  For dependency Dependency {groupId=weblogic, artifactId=weblogic, version=[9.0,), type=jar}: system-scoped dependency must specify an absolute path systemPath.

-- 
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: (MNG-2694) property in plugin dependency's systemPath is not resolved and causes "system-scoped dependency must specify an absolute path systemPath."

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-2694?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Porter closed MNG-2694.
-----------------------------

         Assignee: Brett Porter
       Resolution: Duplicate
    Fix Version/s:     (was: 2.2.1)

> property in plugin dependency's systemPath is not resolved and causes "system-scoped dependency must specify an absolute path systemPath."
> ------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: MNG-2694
>                 URL: http://jira.codehaus.org/browse/MNG-2694
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Bootstrap & Build
>    Affects Versions: 2.0.4, 2.0.5
>            Reporter: Willie Vu
>            Assignee: Brett Porter
>
> In a plugin pom.xml, 
> <dependency>
>     <groupId>weblogic</groupId>
>     <artifactId>weblogic</artifactId>
>     <version>[9.0,)</version>
>     <scope>system</scope>
>     <systemPath>${wl.home}/server/lib/weblogic.jar</systemPath>
> </dependency>
> In ~/.m2/setting.xml,
> <settings>
>   <profiles>
>     <profile>
>         <id>weblogicConfig</id>
>       <activation>
>         <activeByDefault/>
>       </activation>
>         <properties>
>             <wl.home>c:/java/bea-9.2/weblogic92</wl.home>
>         </properties>
>     </profile>
>   </profiles>
> <activeProfiles>
>     <activeProfile>weblogicConfig</activeProfile>
>   </activeProfiles>
> </settings>
> When build the plugin, it works fine.
> In a project that uses this plugin, when build, it causes the following error:
> Project ID: org.codehaus.mojo:weblogic-maven-plugin
> POM Location: Artifact [org.codehaus.mojo:weblogic-maven-plugin:pom:2.9.0-SNAPSHOT]
> Validation Messages:
>     [0]  For dependency Dependency {groupId=weblogic, artifactId=weblogic, version=[9.0,), type=jar}: system-scoped dependency must specify an absolute path systemPath.

-- 
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] Updated: (MNG-2694) property in plugin dependency's systemPath is not resolved and causes "system-scoped dependency must specify an absolute path systemPath."

Posted by "Brian Fox (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-2694?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian Fox updated MNG-2694:
---------------------------

    Affects Version/s: 2.0.11

> property in plugin dependency's systemPath is not resolved and causes "system-scoped dependency must specify an absolute path systemPath."
> ------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: MNG-2694
>                 URL: http://jira.codehaus.org/browse/MNG-2694
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Bootstrap & Build
>    Affects Versions: 2.0.4, 2.0.5
>            Reporter: Willie Vu
>             Fix For: 2.0.11
>
>
> In a plugin pom.xml, 
> <dependency>
>     <groupId>weblogic</groupId>
>     <artifactId>weblogic</artifactId>
>     <version>[9.0,)</version>
>     <scope>system</scope>
>     <systemPath>${wl.home}/server/lib/weblogic.jar</systemPath>
> </dependency>
> In ~/.m2/setting.xml,
> <settings>
>   <profiles>
>     <profile>
>         <id>weblogicConfig</id>
>       <activation>
>         <activeByDefault/>
>       </activation>
>         <properties>
>             <wl.home>c:/java/bea-9.2/weblogic92</wl.home>
>         </properties>
>     </profile>
>   </profiles>
> <activeProfiles>
>     <activeProfile>weblogicConfig</activeProfile>
>   </activeProfiles>
> </settings>
> When build the plugin, it works fine.
> In a project that uses this plugin, when build, it causes the following error:
> Project ID: org.codehaus.mojo:weblogic-maven-plugin
> POM Location: Artifact [org.codehaus.mojo:weblogic-maven-plugin:pom:2.9.0-SNAPSHOT]
> Validation Messages:
>     [0]  For dependency Dependency {groupId=weblogic, artifactId=weblogic, version=[9.0,), type=jar}: system-scoped dependency must specify an absolute path systemPath.

-- 
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: (MNG-2694) property in plugin dependency's systemPath is not resolved and causes "system-scoped dependency must specify an absolute path systemPath."

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-2694?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=182148#action_182148 ] 

Brett Porter commented on MNG-2694:
-----------------------------------

this doesn't appear a direct duplicate of the linked issue.

a) it may be related to when it's a plugin (I haven't confirmed if that's resolved)
b) I still get errors with a valid path due to the range

> property in plugin dependency's systemPath is not resolved and causes "system-scoped dependency must specify an absolute path systemPath."
> ------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: MNG-2694
>                 URL: http://jira.codehaus.org/browse/MNG-2694
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Bootstrap & Build
>    Affects Versions: 2.0.4, 2.0.5
>            Reporter: Willie Vu
>             Fix For: 2.2.1
>
>
> In a plugin pom.xml, 
> <dependency>
>     <groupId>weblogic</groupId>
>     <artifactId>weblogic</artifactId>
>     <version>[9.0,)</version>
>     <scope>system</scope>
>     <systemPath>${wl.home}/server/lib/weblogic.jar</systemPath>
> </dependency>
> In ~/.m2/setting.xml,
> <settings>
>   <profiles>
>     <profile>
>         <id>weblogicConfig</id>
>       <activation>
>         <activeByDefault/>
>       </activation>
>         <properties>
>             <wl.home>c:/java/bea-9.2/weblogic92</wl.home>
>         </properties>
>     </profile>
>   </profiles>
> <activeProfiles>
>     <activeProfile>weblogicConfig</activeProfile>
>   </activeProfiles>
> </settings>
> When build the plugin, it works fine.
> In a project that uses this plugin, when build, it causes the following error:
> Project ID: org.codehaus.mojo:weblogic-maven-plugin
> POM Location: Artifact [org.codehaus.mojo:weblogic-maven-plugin:pom:2.9.0-SNAPSHOT]
> Validation Messages:
>     [0]  For dependency Dependency {groupId=weblogic, artifactId=weblogic, version=[9.0,), type=jar}: system-scoped dependency must specify an absolute path systemPath.

-- 
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] Updated: (MNG-2694) property in plugin dependency's systemPath is not resolved and causes "system-scoped dependency must specify an absolute path systemPath."

Posted by "Brian Fox (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-2694?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian Fox updated MNG-2694:
---------------------------

    Affects Version/s:     (was: 2.0.11)
                       2.0.5
        Fix Version/s:     (was: Reviewed Pending Version Assignment)
                       2.0.11

> property in plugin dependency's systemPath is not resolved and causes "system-scoped dependency must specify an absolute path systemPath."
> ------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: MNG-2694
>                 URL: http://jira.codehaus.org/browse/MNG-2694
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Bootstrap & Build
>    Affects Versions: 2.0.4, 2.0.5
>            Reporter: Willie Vu
>             Fix For: 2.0.11
>
>
> In a plugin pom.xml, 
> <dependency>
>     <groupId>weblogic</groupId>
>     <artifactId>weblogic</artifactId>
>     <version>[9.0,)</version>
>     <scope>system</scope>
>     <systemPath>${wl.home}/server/lib/weblogic.jar</systemPath>
> </dependency>
> In ~/.m2/setting.xml,
> <settings>
>   <profiles>
>     <profile>
>         <id>weblogicConfig</id>
>       <activation>
>         <activeByDefault/>
>       </activation>
>         <properties>
>             <wl.home>c:/java/bea-9.2/weblogic92</wl.home>
>         </properties>
>     </profile>
>   </profiles>
> <activeProfiles>
>     <activeProfile>weblogicConfig</activeProfile>
>   </activeProfiles>
> </settings>
> When build the plugin, it works fine.
> In a project that uses this plugin, when build, it causes the following error:
> Project ID: org.codehaus.mojo:weblogic-maven-plugin
> POM Location: Artifact [org.codehaus.mojo:weblogic-maven-plugin:pom:2.9.0-SNAPSHOT]
> Validation Messages:
>     [0]  For dependency Dependency {groupId=weblogic, artifactId=weblogic, version=[9.0,), type=jar}: system-scoped dependency must specify an absolute path systemPath.

-- 
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: (MNG-2694) property in plugin dependency's systemPath is not resolved and causes "system-scoped dependency must specify an absolute path systemPath."

Posted by "Ian Springer (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-2694?page=comments#action_84205 ] 
            
Ian Springer commented on MNG-2694:
-----------------------------------

The same problem exists for system dependencies defined in a non-plugin pom.xml. 

Would someone please provide a fix for this? It's preventing me from doing what I need to do in my build, and I don't see any workarounds to the bug.



> property in plugin dependency's systemPath is not resolved and causes "system-scoped dependency must specify an absolute path systemPath."
> ------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: MNG-2694
>                 URL: http://jira.codehaus.org/browse/MNG-2694
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Bootstrap & Build
>    Affects Versions: 2.0.4
>            Reporter: Willie Vu
>
> In a plugin pom.xml, 
> <dependency>
>     <groupId>weblogic</groupId>
>     <artifactId>weblogic</artifactId>
>     <version>[9.0,)</version>
>     <scope>system</scope>
>     <systemPath>${wl.home}/server/lib/weblogic.jar</systemPath>
> </dependency>
> In ~/.m2/setting.xml,
> <settings>
>   <profiles>
>     <profile>
>         <id>weblogicConfig</id>
>       <activation>
>         <activeByDefault/>
>       </activation>
>         <properties>
>             <wl.home>c:/java/bea-9.2/weblogic92</wl.home>
>         </properties>
>     </profile>
>   </profiles>
> <activeProfiles>
>     <activeProfile>weblogicConfig</activeProfile>
>   </activeProfiles>
> </settings>
> When build the plugin, it works fine.
> In a project that uses this plugin, when build, it causes the following error:
> Project ID: org.codehaus.mojo:weblogic-maven-plugin
> POM Location: Artifact [org.codehaus.mojo:weblogic-maven-plugin:pom:2.9.0-SNAPSHOT]
> Validation Messages:
>     [0]  For dependency Dependency {groupId=weblogic, artifactId=weblogic, version=[9.0,), type=jar}: system-scoped dependency must specify an absolute path systemPath.

-- 
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: (MNG-2694) property in plugin dependency's systemPath is not resolved and causes "system-scoped dependency must specify an absolute path systemPath."

Posted by "Ken Geis (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-2694?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=198761#action_198761 ] 

Ken Geis commented on MNG-2694:
-------------------------------

Please reopen this.  I am having this problem in 2.2.1.

> property in plugin dependency's systemPath is not resolved and causes "system-scoped dependency must specify an absolute path systemPath."
> ------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: MNG-2694
>                 URL: http://jira.codehaus.org/browse/MNG-2694
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Bootstrap & Build
>    Affects Versions: 2.0.4, 2.0.5
>            Reporter: Willie Vu
>            Assignee: Brett Porter
>
> In a plugin pom.xml, 
> <dependency>
>     <groupId>weblogic</groupId>
>     <artifactId>weblogic</artifactId>
>     <version>[9.0,)</version>
>     <scope>system</scope>
>     <systemPath>${wl.home}/server/lib/weblogic.jar</systemPath>
> </dependency>
> In ~/.m2/setting.xml,
> <settings>
>   <profiles>
>     <profile>
>         <id>weblogicConfig</id>
>       <activation>
>         <activeByDefault/>
>       </activation>
>         <properties>
>             <wl.home>c:/java/bea-9.2/weblogic92</wl.home>
>         </properties>
>     </profile>
>   </profiles>
> <activeProfiles>
>     <activeProfile>weblogicConfig</activeProfile>
>   </activeProfiles>
> </settings>
> When build the plugin, it works fine.
> In a project that uses this plugin, when build, it causes the following error:
> Project ID: org.codehaus.mojo:weblogic-maven-plugin
> POM Location: Artifact [org.codehaus.mojo:weblogic-maven-plugin:pom:2.9.0-SNAPSHOT]
> Validation Messages:
>     [0]  For dependency Dependency {groupId=weblogic, artifactId=weblogic, version=[9.0,), type=jar}: system-scoped dependency must specify an absolute path systemPath.

-- 
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] Issue Comment Edited: (MNG-2694) property in plugin dependency's systemPath is not resolved and causes "system-scoped dependency must specify an absolute path systemPath."

Posted by "Ken Geis (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-2694?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=198761#action_198761 ] 

Ken Geis edited comment on MNG-2694 at 11/19/09 4:39 PM:
---------------------------------------------------------

I am having this problem with Maven 2.2.1, but it looks like it will be resolved by MNG-4148.

      was (Author: kgeis):
    Please reopen this.  I am having this problem in 2.2.1.
  
> property in plugin dependency's systemPath is not resolved and causes "system-scoped dependency must specify an absolute path systemPath."
> ------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: MNG-2694
>                 URL: http://jira.codehaus.org/browse/MNG-2694
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Bootstrap & Build
>    Affects Versions: 2.0.4, 2.0.5
>            Reporter: Willie Vu
>            Assignee: Brett Porter
>
> In a plugin pom.xml, 
> <dependency>
>     <groupId>weblogic</groupId>
>     <artifactId>weblogic</artifactId>
>     <version>[9.0,)</version>
>     <scope>system</scope>
>     <systemPath>${wl.home}/server/lib/weblogic.jar</systemPath>
> </dependency>
> In ~/.m2/setting.xml,
> <settings>
>   <profiles>
>     <profile>
>         <id>weblogicConfig</id>
>       <activation>
>         <activeByDefault/>
>       </activation>
>         <properties>
>             <wl.home>c:/java/bea-9.2/weblogic92</wl.home>
>         </properties>
>     </profile>
>   </profiles>
> <activeProfiles>
>     <activeProfile>weblogicConfig</activeProfile>
>   </activeProfiles>
> </settings>
> When build the plugin, it works fine.
> In a project that uses this plugin, when build, it causes the following error:
> Project ID: org.codehaus.mojo:weblogic-maven-plugin
> POM Location: Artifact [org.codehaus.mojo:weblogic-maven-plugin:pom:2.9.0-SNAPSHOT]
> Validation Messages:
>     [0]  For dependency Dependency {groupId=weblogic, artifactId=weblogic, version=[9.0,), type=jar}: system-scoped dependency must specify an absolute path systemPath.

-- 
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