You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Aleksander Adamowski (JIRA)" <ji...@apache.org> on 2007/12/07 00:39:34 UTC
[jira] Created: (WW-2360) struts2-portlet in maven repository - war
instead of jar
struts2-portlet in maven repository - war instead of jar
--------------------------------------------------------
Key: WW-2360
URL: https://issues.apache.org/struts/browse/WW-2360
Project: Struts 2
Issue Type: Bug
Components: Plugin - Portlet
Affects Versions: 2.0.11
Environment: Maven Eclipse plugin v. 0.0.12.20071107-2300
Reporter: Aleksander Adamowski
I've noticed that when downloading struts2-portlet dependency, Maven searches for JAR archive struts2-portlet-X.Y.Z.jar in the repository and fails.
But in the repository there is a WAR archive (struts2-portlet-X.Y.Z.war) instead.
When I download the WAR archive by hand, place it in my local Maven repository and change extension to.jar (~/.m2/repository/org/apache/struts/struts2-portlet/2.0.9/struts2-portlet-2.0.9.jar), it works fine.
Does it need to be corrected by the repository maintainers?
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (WW-2360) struts2-portlet in maven repository -
war instead of jar
Posted by "Aleksander Adamowski (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/struts/browse/WW-2360?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_42794 ]
Aleksander Adamowski commented on WW-2360:
------------------------------------------
Oh, thanks.
But then maybe renaming struts2-portlet to struts2-portlet-example (as well as other example webapps) would be a good idea to avoid confusion?
> struts2-portlet in maven repository - war instead of jar
> --------------------------------------------------------
>
> Key: WW-2360
> URL: https://issues.apache.org/struts/browse/WW-2360
> Project: Struts 2
> Issue Type: Bug
> Components: Plugin - Portlet
> Affects Versions: 2.0.11
> Environment: Maven Eclipse plugin v. 0.0.12.20071107-2300
> Reporter: Aleksander Adamowski
>
> I've noticed that when downloading struts2-portlet dependency, Maven searches for JAR archive struts2-portlet-X.Y.Z.jar in the repository and fails.
> But in the repository there is a WAR archive (struts2-portlet-X.Y.Z.war) instead.
> When I download the WAR archive by hand, place it in my local Maven repository and change extension to.jar (~/.m2/repository/org/apache/struts/struts2-portlet/2.0.9/struts2-portlet-2.0.9.jar), it works fine.
> Does it need to be corrected by the repository maintainers?
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (WW-2360) struts2-portlet in maven repository -
war instead of jar
Posted by "Antonio Petrelli (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/struts/browse/WW-2360?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_42795 ]
Antonio Petrelli commented on WW-2360:
--------------------------------------
I don't think so, since that name is the name of the war file, that becomes the name of the URL path, that becomes too complex.
> struts2-portlet in maven repository - war instead of jar
> --------------------------------------------------------
>
> Key: WW-2360
> URL: https://issues.apache.org/struts/browse/WW-2360
> Project: Struts 2
> Issue Type: Bug
> Components: Plugin - Portlet
> Affects Versions: 2.0.11
> Environment: Maven Eclipse plugin v. 0.0.12.20071107-2300
> Reporter: Aleksander Adamowski
>
> I've noticed that when downloading struts2-portlet dependency, Maven searches for JAR archive struts2-portlet-X.Y.Z.jar in the repository and fails.
> But in the repository there is a WAR archive (struts2-portlet-X.Y.Z.war) instead.
> When I download the WAR archive by hand, place it in my local Maven repository and change extension to.jar (~/.m2/repository/org/apache/struts/struts2-portlet/2.0.9/struts2-portlet-2.0.9.jar), it works fine.
> Does it need to be corrected by the repository maintainers?
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (WW-2360) struts2-portlet in maven repository - war
instead of jar
Posted by "Anonymous (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/struts/browse/WW-2360?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Resolution: Incomplete (was: Won't Fix)
Status: Resolved (was: Closed)
> struts2-portlet in maven repository - war instead of jar
> --------------------------------------------------------
>
> Key: WW-2360
> URL: https://issues.apache.org/struts/browse/WW-2360
> Project: Struts 2
> Issue Type: Bug
> Components: Plugin - Portlet
> Affects Versions: 2.0.11
> Environment: Maven Eclipse plugin v. 0.0.12.20071107-2300
> Reporter: Aleksander Adamowski
>
> I've noticed that when downloading struts2-portlet dependency, Maven searches for JAR archive struts2-portlet-X.Y.Z.jar in the repository and fails.
> But in the repository there is a WAR archive (struts2-portlet-X.Y.Z.war) instead.
> When I download the WAR archive by hand, place it in my local Maven repository and change extension to.jar (~/.m2/repository/org/apache/struts/struts2-portlet/2.0.9/struts2-portlet-2.0.9.jar), it works fine.
> Does it need to be corrected by the repository maintainers?
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (WW-2360) struts2-portlet in maven repository - war
instead of jar
Posted by "Antonio Petrelli (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/struts/browse/WW-2360?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Antonio Petrelli closed WW-2360.
--------------------------------
Resolution: Won't Fix
You have to declare your dependency on "struts2-portlet-plugin"
The "struts2-portlet" artifact is a sample webapp.
> struts2-portlet in maven repository - war instead of jar
> --------------------------------------------------------
>
> Key: WW-2360
> URL: https://issues.apache.org/struts/browse/WW-2360
> Project: Struts 2
> Issue Type: Bug
> Components: Plugin - Portlet
> Affects Versions: 2.0.11
> Environment: Maven Eclipse plugin v. 0.0.12.20071107-2300
> Reporter: Aleksander Adamowski
>
> I've noticed that when downloading struts2-portlet dependency, Maven searches for JAR archive struts2-portlet-X.Y.Z.jar in the repository and fails.
> But in the repository there is a WAR archive (struts2-portlet-X.Y.Z.war) instead.
> When I download the WAR archive by hand, place it in my local Maven repository and change extension to.jar (~/.m2/repository/org/apache/struts/struts2-portlet/2.0.9/struts2-portlet-2.0.9.jar), it works fine.
> Does it need to be corrected by the repository maintainers?
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.