You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shindig.apache.org by "Martin Webb (JIRA)" <ji...@apache.org> on 2008/03/27 10:29:31 UTC

[jira] Created: (SHINDIG-156) maven install of gadgets server to create a jar ofr extenal consumption by other apps

maven install of gadgets server to create a jar ofr extenal consumption by other apps
-------------------------------------------------------------------------------------

                 Key: SHINDIG-156
                 URL: https://issues.apache.org/jira/browse/SHINDIG-156
             Project: Shindig
          Issue Type: Improvement
          Components: Gadgets Server - Java
            Reporter: Martin Webb
            Priority: Minor


To reuse some of the core Java code outside the gadget server, e.g. within a gadget container, it is useful to have a jar file within the local maven repository.  The attached fix allows a jar to be package along with the original war.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Reopened: (SHINDIG-156) maven install of gadgets server to create a jar ofr extenal consumption by other apps

Posted by "Ross Gardler (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SHINDIG-156?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ross Gardler reopened SHINDIG-156:
----------------------------------


There seems to have been an error with applying this patch. It does not appear in SVN

> maven install of gadgets server to create a jar ofr extenal consumption by other apps
> -------------------------------------------------------------------------------------
>
>                 Key: SHINDIG-156
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-156
>             Project: Shindig
>          Issue Type: Improvement
>          Components: Gadgets Server - Java
>            Reporter: Martin Webb
>            Priority: Minor
>         Attachments: pom-install-jar.diff
>
>
> To reuse some of the core Java code outside the gadget server, e.g. within a gadget container, it is useful to have a jar file within the local maven repository.  The attached fix allows a jar to be package along with the original war.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (SHINDIG-156) maven install of gadgets server to create a jar ofr extenal consumption by other apps

Posted by "Martin Webb (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SHINDIG-156?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12586300#action_12586300 ] 

Martin Webb commented on SHINDIG-156:
-------------------------------------

On Sat, Apr 5, 2008 at 7:59 PM, Santiago Gala (JIRA) <ji...@apache.org>


Try: "mvn clean install" and then look into your .m2 maven repository both
before and after.  Before you'll not see a JAR, after you will.  We wouldn't
want developers to be dependent on a JAR inside the target directory when
building a completely different application.   Although before builds a WAR,
when making an application dependent on shindig it fails because it can't
find a JAR.

Martin



-- 
Internet Related Technologies - http://www.irt.org


> maven install of gadgets server to create a jar ofr extenal consumption by other apps
> -------------------------------------------------------------------------------------
>
>                 Key: SHINDIG-156
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-156
>             Project: Shindig
>          Issue Type: Improvement
>          Components: Gadgets Server - Java
>            Reporter: Martin Webb
>            Priority: Minor
>         Attachments: pom-install-jar.diff
>
>
> To reuse some of the core Java code outside the gadget server, e.g. within a gadget container, it is useful to have a jar file within the local maven repository.  The attached fix allows a jar to be package along with the original war.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (SHINDIG-156) maven install of gadgets server to create a jar ofr extenal consumption by other apps

Posted by "Martin Webb (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SHINDIG-156?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12584573#action_12584573 ] 

Martin Webb commented on SHINDIG-156:
-------------------------------------




It creates the war AND the jar when doing the mvn install into the local
maven repo.  I need the jar when I add shindig as a dependency to another
maven built web app.

-- 
Internet Related Technologies - http://www.irt.org


> maven install of gadgets server to create a jar ofr extenal consumption by other apps
> -------------------------------------------------------------------------------------
>
>                 Key: SHINDIG-156
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-156
>             Project: Shindig
>          Issue Type: Improvement
>          Components: Gadgets Server - Java
>            Reporter: Martin Webb
>            Priority: Minor
>         Attachments: pom-install-jar.diff
>
>
> To reuse some of the core Java code outside the gadget server, e.g. within a gadget container, it is useful to have a jar file within the local maven repository.  The attached fix allows a jar to be package along with the original war.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (SHINDIG-156) maven install of gadgets server to create a jar ofr extenal consumption by other apps

Posted by "Paul Lindner (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SHINDIG-156?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Paul Lindner resolved SHINDIG-156.
----------------------------------

    Resolution: Fixed

This got committed in r644265.



> maven install of gadgets server to create a jar ofr extenal consumption by other apps
> -------------------------------------------------------------------------------------
>
>                 Key: SHINDIG-156
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-156
>             Project: Shindig
>          Issue Type: Improvement
>          Components: Gadgets Server - Java
>            Reporter: Martin Webb
>            Priority: Minor
>         Attachments: pom-install-jar.diff
>
>
> To reuse some of the core Java code outside the gadget server, e.g. within a gadget container, it is useful to have a jar file within the local maven repository.  The attached fix allows a jar to be package along with the original war.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (SHINDIG-156) maven install of gadgets server to create a jar ofr extenal consumption by other apps

Posted by "Paul Lindner (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SHINDIG-156?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Paul Lindner resolved SHINDIG-156.
----------------------------------

    Resolution: Fixed

In all the back and forth over the past few days it appears to have been reverted.

I reapplied the patch.


> maven install of gadgets server to create a jar ofr extenal consumption by other apps
> -------------------------------------------------------------------------------------
>
>                 Key: SHINDIG-156
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-156
>             Project: Shindig
>          Issue Type: Improvement
>          Components: Gadgets Server - Java
>            Reporter: Martin Webb
>            Priority: Minor
>         Attachments: pom-install-jar.diff
>
>
> To reuse some of the core Java code outside the gadget server, e.g. within a gadget container, it is useful to have a jar file within the local maven repository.  The attached fix allows a jar to be package along with the original war.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (SHINDIG-156) maven install of gadgets server to create a jar ofr extenal consumption by other apps

Posted by "Martin Webb (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SHINDIG-156?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Webb updated SHINDIG-156:
--------------------------------

    Attachment: pom-install-jar.diff

> maven install of gadgets server to create a jar ofr extenal consumption by other apps
> -------------------------------------------------------------------------------------
>
>                 Key: SHINDIG-156
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-156
>             Project: Shindig
>          Issue Type: Improvement
>          Components: Gadgets Server - Java
>            Reporter: Martin Webb
>            Priority: Minor
>         Attachments: pom-install-jar.diff
>
>
> To reuse some of the core Java code outside the gadget server, e.g. within a gadget container, it is useful to have a jar file within the local maven repository.  The attached fix allows a jar to be package along with the original war.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (SHINDIG-156) maven install of gadgets server to create a jar ofr extenal consumption by other apps

Posted by "Paul Lindner (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SHINDIG-156?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12584566#action_12584566 ] 

Paul Lindner commented on SHINDIG-156:
--------------------------------------

I'm no maven expert, but doesn't this patch just replace gadgets.war with gadgets.jar

Any way we can have both installed?


> maven install of gadgets server to create a jar ofr extenal consumption by other apps
> -------------------------------------------------------------------------------------
>
>                 Key: SHINDIG-156
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-156
>             Project: Shindig
>          Issue Type: Improvement
>          Components: Gadgets Server - Java
>            Reporter: Martin Webb
>            Priority: Minor
>         Attachments: pom-install-jar.diff
>
>
> To reuse some of the core Java code outside the gadget server, e.g. within a gadget container, it is useful to have a jar file within the local maven repository.  The attached fix allows a jar to be package along with the original war.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (SHINDIG-156) maven install of gadgets server to create a jar ofr extenal consumption by other apps

Posted by "Santiago Gala (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SHINDIG-156?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12586033#action_12586033 ] 

Santiago Gala commented on SHINDIG-156:
---------------------------------------

I gave it a try today:
I tested "mvn clean package" both with and without this patch, and the results were:

without:
$ ls java/gadgets/target/
classes      gadgets-sources.jar             surefire-reports
gadgets      gadgets.war                     test-classes
gadgets.jar  maven-shared-archive-resources  war
with:
$ ls java/gadgets/target/
classes      gadgets-sources.jar             surefire-reports
gadgets      gadgets.war                     test-classes
gadgets.jar  maven-shared-archive-resources  war

(i.e. exactly the same)

So the patch looks useless to me, unless you are trying to get a different thing from it than what the ls shows. I won't apply it unless I get an idea of what is is supposed to do, and wether it does it or not.

maven is the worse undocumented software I have ever seen, and uses xml configuration for extra bonus. I have seen it fail in all sort of unimaginable ways, and I have seen promises of it being better in the next version acros 3 incompatible versions, yet I'm not really impressed and still refuse to use it as much as possible. Pity I seem to be the only one :(

If other people understands the issues please feel to chime in.

> maven install of gadgets server to create a jar ofr extenal consumption by other apps
> -------------------------------------------------------------------------------------
>
>                 Key: SHINDIG-156
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-156
>             Project: Shindig
>          Issue Type: Improvement
>          Components: Gadgets Server - Java
>            Reporter: Martin Webb
>            Priority: Minor
>         Attachments: pom-install-jar.diff
>
>
> To reuse some of the core Java code outside the gadget server, e.g. within a gadget container, it is useful to have a jar file within the local maven repository.  The attached fix allows a jar to be package along with the original war.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.