You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "J-C Walmetz (JIRA)" <ji...@codehaus.org> on 2007/06/27 15:31:13 UTC

[jira] Created: (MEV-534) Dependencies of commons-logging should be optional

Dependencies of commons-logging should be optional
--------------------------------------------------

                 Key: MEV-534
                 URL: http://jira.codehaus.org/browse/MEV-534
             Project: Maven Evangelism
          Issue Type: Bug
          Components: Invalid POM
            Reporter: J-C Walmetz


Dependencies in pom should be

<dependencies>

	<dependency>
               <groupId>log4j</groupId>
               <artifactId>log4j</artifactId>
               <version>1.2.12</version>

</dependency>
&#8722;
	<dependency>
<groupId>logkit</groupId>
<artifactId>logkit</artifactId>
<version>1.0.1</version>
</dependency>
&#8722;
	<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
<scope>test</scope>
</dependency>
&#8722;
	<dependency>
<groupId>avalon-framework</groupId>
<artifactId>avalon-framework</artifactId>
<version>4.1.3</version>
</dependency>
&#8722;
	<dependency>
<groupId>javax.servlet</groupId>
<artifactId>servlet-api</artifactId>
<version>2.3</version>
<optional>true<optional>
</dependency>

instead of 

<dependencies>
&#8722;
	<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>1.2.12</version>
</dependency>
&#8722;
	<dependency>
<groupId>logkit</groupId>
<artifactId>logkit</artifactId>
<version>1.0.1</version>
</dependency>
&#8722;
	<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
<scope>test</scope>
</dependency>
&#8722;
	<dependency>
<groupId>avalon-framework</groupId>
<artifactId>avalon-framework</artifactId>
<version>4.1.3</version>
</dependency>
&#8722;
	<dependency>
<groupId>javax.servlet</groupId>
<artifactId>servlet-api</artifactId>
<version>2.3</version>
</dependency>
</dependencies>
</dependencies>

-- 
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: (MEV-534) Dependencies of commons-logging should be optional

Posted by "Carlos Sanchez (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MEV-534?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carlos Sanchez closed MEV-534.
------------------------------

      Assignee: Carlos Sanchez
    Resolution: Duplicate

> Dependencies of commons-logging should be optional
> --------------------------------------------------
>
>                 Key: MEV-534
>                 URL: http://jira.codehaus.org/browse/MEV-534
>             Project: Maven Evangelism
>          Issue Type: Bug
>          Components: Invalid POM
>            Reporter: J-C Walmetz
>            Assignee: Carlos Sanchez
>
> Dependencies in pom should be
> <dependencies>
> 	<dependency>
>                <groupId>log4j</groupId>
>                <artifactId>log4j</artifactId>
>                <version>1.2.12</version>
> </dependency>
> &#8722;
> 	<dependency>
> <groupId>logkit</groupId>
> <artifactId>logkit</artifactId>
> <version>1.0.1</version>
> </dependency>
> &#8722;
> 	<dependency>
> <groupId>junit</groupId>
> <artifactId>junit</artifactId>
> <version>3.8.1</version>
> <scope>test</scope>
> </dependency>
> &#8722;
> 	<dependency>
> <groupId>avalon-framework</groupId>
> <artifactId>avalon-framework</artifactId>
> <version>4.1.3</version>
> </dependency>
> &#8722;
> 	<dependency>
> <groupId>javax.servlet</groupId>
> <artifactId>servlet-api</artifactId>
> <version>2.3</version>
> <optional>true<optional>
> </dependency>
> instead of 
> <dependencies>
> &#8722;
> 	<dependency>
> <groupId>log4j</groupId>
> <artifactId>log4j</artifactId>
> <version>1.2.12</version>
> </dependency>
> &#8722;
> 	<dependency>
> <groupId>logkit</groupId>
> <artifactId>logkit</artifactId>
> <version>1.0.1</version>
> </dependency>
> &#8722;
> 	<dependency>
> <groupId>junit</groupId>
> <artifactId>junit</artifactId>
> <version>3.8.1</version>
> <scope>test</scope>
> </dependency>
> &#8722;
> 	<dependency>
> <groupId>avalon-framework</groupId>
> <artifactId>avalon-framework</artifactId>
> <version>4.1.3</version>
> </dependency>
> &#8722;
> 	<dependency>
> <groupId>javax.servlet</groupId>
> <artifactId>servlet-api</artifactId>
> <version>2.3</version>
> </dependency>
> </dependencies>
> </dependencies>

-- 
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: (MEV-534) Dependencies of commons-logging should be optional

Posted by "J-C Walmetz (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MEV-534?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_100700 ] 

J-C Walmetz commented on MEV-534:
---------------------------------

Just a mistake in previous post


<dependencies>

   <dependency>
               <groupId>log4j</groupId>
               <artifactId>log4j</artifactId>
               <version>1.2.12</version>

   </dependency>
   <dependency>
               <groupId>logkit</groupId>
               <artifactId>logkit</artifactId>
               <version>1.0.1</version>
                <optional>true<optional>
   </dependency>

   <dependency>
               <groupId>junit</groupId>
               <artifactId>junit</artifactId>
               <version>3.8.1</version>
              <scope>test</scope>
   </dependency>

   <dependency>
              <groupId>avalon-framework</groupId>
              <artifactId>avalon-framework</artifactId>
              <version>4.1.3</version>
              <optional>true<optional>
    </dependency>

   <dependency>
              <groupId>javax.servlet</groupId>
              <artifactId>servlet-api</artifactId>
              <version>2.3</version>
              <optional>true<optional>
   </dependency>
<dependencies>


instead of

<dependencies>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>1.2.12</version>
</dependency>
<dependency>
<groupId>logkit</groupId>
<artifactId>logkit</artifactId>
<version>1.0.1</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
<scope>test</scope>
</dependency>

<dependency>
<groupId>avalon-framework</groupId>
<artifactId>avalon-framework</artifactId>
<version>4.1.3</version>
</dependency>

<dependency>
<groupId>javax.servlet</groupId>
<artifactId>servlet-api</artifactId>
<version>2.3</version>
</dependency>
</dependencies> 

> Dependencies of commons-logging should be optional
> --------------------------------------------------
>
>                 Key: MEV-534
>                 URL: http://jira.codehaus.org/browse/MEV-534
>             Project: Maven Evangelism
>          Issue Type: Bug
>          Components: Invalid POM
>            Reporter: J-C Walmetz
>
> Dependencies in pom should be
> <dependencies>
> 	<dependency>
>                <groupId>log4j</groupId>
>                <artifactId>log4j</artifactId>
>                <version>1.2.12</version>
> </dependency>
> &#8722;
> 	<dependency>
> <groupId>logkit</groupId>
> <artifactId>logkit</artifactId>
> <version>1.0.1</version>
> </dependency>
> &#8722;
> 	<dependency>
> <groupId>junit</groupId>
> <artifactId>junit</artifactId>
> <version>3.8.1</version>
> <scope>test</scope>
> </dependency>
> &#8722;
> 	<dependency>
> <groupId>avalon-framework</groupId>
> <artifactId>avalon-framework</artifactId>
> <version>4.1.3</version>
> </dependency>
> &#8722;
> 	<dependency>
> <groupId>javax.servlet</groupId>
> <artifactId>servlet-api</artifactId>
> <version>2.3</version>
> <optional>true<optional>
> </dependency>
> instead of 
> <dependencies>
> &#8722;
> 	<dependency>
> <groupId>log4j</groupId>
> <artifactId>log4j</artifactId>
> <version>1.2.12</version>
> </dependency>
> &#8722;
> 	<dependency>
> <groupId>logkit</groupId>
> <artifactId>logkit</artifactId>
> <version>1.0.1</version>
> </dependency>
> &#8722;
> 	<dependency>
> <groupId>junit</groupId>
> <artifactId>junit</artifactId>
> <version>3.8.1</version>
> <scope>test</scope>
> </dependency>
> &#8722;
> 	<dependency>
> <groupId>avalon-framework</groupId>
> <artifactId>avalon-framework</artifactId>
> <version>4.1.3</version>
> </dependency>
> &#8722;
> 	<dependency>
> <groupId>javax.servlet</groupId>
> <artifactId>servlet-api</artifactId>
> <version>2.3</version>
> </dependency>
> </dependencies>
> </dependencies>

-- 
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: (MEV-534) Dependencies of commons-logging should be optional

Posted by "J-C Walmetz (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MEV-534?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_100705 ] 

J-C Walmetz commented on MEV-534:
---------------------------------

Yes that's a mistake, log4j should be optional too. That's purpose of common-loggings to be able to switch from log4j to JDK logger.
It should be :

<dependencies>

   <dependency>
               <groupId>log4j</groupId>
               <artifactId>log4j</artifactId>
               <version>1.2.12</version>
               <optional>true<optional>
   </dependency>
   <dependency>
               <groupId>logkit</groupId>
               <artifactId>logkit</artifactId>
               <version>1.0.1</version>
                <optional>true<optional>
   </dependency>

   <dependency>
               <groupId>junit</groupId>
               <artifactId>junit</artifactId>
               <version>3.8.1</version>
              <scope>test</scope>
   </dependency>

   <dependency>
              <groupId>avalon-framework</groupId>
              <artifactId>avalon-framework</artifactId>
              <version>4.1.3</version>
              <optional>true<optional>
    </dependency>

   <dependency>
              <groupId>javax.servlet</groupId>
              <artifactId>servlet-api</artifactId>
              <version>2.3</version>
              <optional>true<optional>
   </dependency>
<dependencies> 

> Dependencies of commons-logging should be optional
> --------------------------------------------------
>
>                 Key: MEV-534
>                 URL: http://jira.codehaus.org/browse/MEV-534
>             Project: Maven Evangelism
>          Issue Type: Bug
>          Components: Invalid POM
>            Reporter: J-C Walmetz
>
> Dependencies in pom should be
> <dependencies>
> 	<dependency>
>                <groupId>log4j</groupId>
>                <artifactId>log4j</artifactId>
>                <version>1.2.12</version>
> </dependency>
> &#8722;
> 	<dependency>
> <groupId>logkit</groupId>
> <artifactId>logkit</artifactId>
> <version>1.0.1</version>
> </dependency>
> &#8722;
> 	<dependency>
> <groupId>junit</groupId>
> <artifactId>junit</artifactId>
> <version>3.8.1</version>
> <scope>test</scope>
> </dependency>
> &#8722;
> 	<dependency>
> <groupId>avalon-framework</groupId>
> <artifactId>avalon-framework</artifactId>
> <version>4.1.3</version>
> </dependency>
> &#8722;
> 	<dependency>
> <groupId>javax.servlet</groupId>
> <artifactId>servlet-api</artifactId>
> <version>2.3</version>
> <optional>true<optional>
> </dependency>
> instead of 
> <dependencies>
> &#8722;
> 	<dependency>
> <groupId>log4j</groupId>
> <artifactId>log4j</artifactId>
> <version>1.2.12</version>
> </dependency>
> &#8722;
> 	<dependency>
> <groupId>logkit</groupId>
> <artifactId>logkit</artifactId>
> <version>1.0.1</version>
> </dependency>
> &#8722;
> 	<dependency>
> <groupId>junit</groupId>
> <artifactId>junit</artifactId>
> <version>3.8.1</version>
> <scope>test</scope>
> </dependency>
> &#8722;
> 	<dependency>
> <groupId>avalon-framework</groupId>
> <artifactId>avalon-framework</artifactId>
> <version>4.1.3</version>
> </dependency>
> &#8722;
> 	<dependency>
> <groupId>javax.servlet</groupId>
> <artifactId>servlet-api</artifactId>
> <version>2.3</version>
> </dependency>
> </dependencies>
> </dependencies>

-- 
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: (MEV-534) Dependencies of commons-logging should be optional

Posted by "Arik Kfir (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MEV-534?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_100701 ] 

Arik Kfir commented on MEV-534:
-------------------------------

Shouldn't log4j be optional too?

> Dependencies of commons-logging should be optional
> --------------------------------------------------
>
>                 Key: MEV-534
>                 URL: http://jira.codehaus.org/browse/MEV-534
>             Project: Maven Evangelism
>          Issue Type: Bug
>          Components: Invalid POM
>            Reporter: J-C Walmetz
>
> Dependencies in pom should be
> <dependencies>
> 	<dependency>
>                <groupId>log4j</groupId>
>                <artifactId>log4j</artifactId>
>                <version>1.2.12</version>
> </dependency>
> &#8722;
> 	<dependency>
> <groupId>logkit</groupId>
> <artifactId>logkit</artifactId>
> <version>1.0.1</version>
> </dependency>
> &#8722;
> 	<dependency>
> <groupId>junit</groupId>
> <artifactId>junit</artifactId>
> <version>3.8.1</version>
> <scope>test</scope>
> </dependency>
> &#8722;
> 	<dependency>
> <groupId>avalon-framework</groupId>
> <artifactId>avalon-framework</artifactId>
> <version>4.1.3</version>
> </dependency>
> &#8722;
> 	<dependency>
> <groupId>javax.servlet</groupId>
> <artifactId>servlet-api</artifactId>
> <version>2.3</version>
> <optional>true<optional>
> </dependency>
> instead of 
> <dependencies>
> &#8722;
> 	<dependency>
> <groupId>log4j</groupId>
> <artifactId>log4j</artifactId>
> <version>1.2.12</version>
> </dependency>
> &#8722;
> 	<dependency>
> <groupId>logkit</groupId>
> <artifactId>logkit</artifactId>
> <version>1.0.1</version>
> </dependency>
> &#8722;
> 	<dependency>
> <groupId>junit</groupId>
> <artifactId>junit</artifactId>
> <version>3.8.1</version>
> <scope>test</scope>
> </dependency>
> &#8722;
> 	<dependency>
> <groupId>avalon-framework</groupId>
> <artifactId>avalon-framework</artifactId>
> <version>4.1.3</version>
> </dependency>
> &#8722;
> 	<dependency>
> <groupId>javax.servlet</groupId>
> <artifactId>servlet-api</artifactId>
> <version>2.3</version>
> </dependency>
> </dependencies>
> </dependencies>

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