You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pluto-dev@portals.apache.org by Zhong ZHENG <he...@gmail.com> on 2006/02/27 15:45:22 UTC

Re: svn commit: r381330 - /portals/pluto/trunk/pluto-ant-tasks/src/assemble/src.xml

Hi, Craig,

I also tried the maven assembly plugin. It seems that we need an assembly
descriptor for the root project ('pluto') if we want to run mvn
assembly:assembly.

I created two descriptors (bin and src) for the parent project. They work
fine.
I am testing another descriptor to create pluto binary distribution bundled
with tomcat.

Since the pluto project will be released as a whole, could we just remove
all
the assembly descriptors for pluto sub-modules?

I'll commit the descriptors to SVN when i finish my tests. To create
distributions,
cd to $PLUTO_HOME and execute:

 > mvn clean:clean install
 > mvn assembly:assembly

Source/binary distributions will be generated at $PLUTO_HOME/target/dist/

Regards.

On 2/27/06, cdoremus@apache.org <cd...@apache.org> wrote:
>
> Author: cdoremus
> Date: Mon Feb 27 04:54:51 2006
> New Revision: 381330
>
> URL: http://svn.apache.org/viewcvs?rev=381330&view=rev
> Log:
> First try with assembly plugin. Site plugin needs to be run prior to
> assembly plugin.
>
> Added:
>     portals/pluto/trunk/pluto-ant-tasks/src/assemble/src.xml
>
> Added: portals/pluto/trunk/pluto-ant-tasks/src/assemble/src.xml
> URL:
> http://svn.apache.org/viewcvs/portals/pluto/trunk/pluto-ant-tasks/src/assemble/src.xml?rev=381330&view=auto
>
> ==============================================================================
> --- portals/pluto/trunk/pluto-ant-tasks/src/assemble/src.xml (added)
> +++ portals/pluto/trunk/pluto-ant-tasks/src/assemble/src.xml Mon Feb 27
> 04:54:51 2006
> @@ -0,0 +1,21 @@
> +<assembly>
> +  <id>src</id>
> +  <formats>
> +    <format>tar.gz</format>
> +    <format>tar.bz2</format>
> +    <format>zip</format>
> +  </formats>
> +  <fileSets>
> +    <fileSet>
> +      <includes>
> +        <include>README*</include>
> +        <include>LICENSE*</include>
> +        <include>NOTICE*</include>
> +        <include>pom.xml</include>
> +      </includes>
> +    </fileSet>
> +    <fileSet>
> +      <directory>src</directory>
> +    </fileSet>
> +  </fileSets>
> +</assembly>
>
>
>


--
ZHENG Zhong
- http://heavyz.blogspot.com/
- http://people.apache.org/~zheng/

Re: svn commit: r381330 - /portals/pluto/trunk/pluto-ant-tasks/src/assemble/src.xml

Posted by "David H. DeWolf" <dd...@apache.org>.
Yes, plus documentation I would think.

It would be a convenience package for portal implementors.

David

Zhong ZHENG wrote:
> Hi,
> 
> On 2/27/06, *David H. DeWolf* <ddewolf@apache.org 
> <ma...@apache.org>> wrote:
> 
>     That begs the questions: what is it that we want to release:
> 
>     My opinion is at minimum:
> 
>     1) Binary Dist (Bundled with tomcat)
>     2) Library Dist (all the jars/wars)
>     3) Library Dist for Container only
>     4) Source (of everything)
> 
>     In which case, yes, we can remove all of the assembly descriptors -
>     EXCEPT for the container one.
> 
> 
> What should be in the container lib dist? Is that a distribution containing
> only the necessary JAR files of the pluto portlet container?
> 
> Is the list below a complete list for the container lib dist?
> 
>  * pluto-descriptor-api.jar
>  * pluto-descriptor-impl.jar
>  * pluto-container.jar
>  * pluto-taglib.jar
>  * (should we add) the dependencies (?)
>    * castor
>    * xercesImpl + xmlParserAPIs
>    * portlet-api
> 
> Regards.
> 
> 
>     David
> 
> 
> 
> -- 
> ZHENG Zhong
> - http://heavyz.blogspot.com/
> - http://people.apache.org/~zheng/


Re: svn commit: r381330 - /portals/pluto/trunk/pluto-ant-tasks/src/assemble/src.xml

Posted by Zhong ZHENG <he...@gmail.com>.
Hi,

On 2/27/06, David H. DeWolf <dd...@apache.org> wrote:
>
> That begs the questions: what is it that we want to release:
>
> My opinion is at minimum:
>
> 1) Binary Dist (Bundled with tomcat)
> 2) Library Dist (all the jars/wars)
> 3) Library Dist for Container only
> 4) Source (of everything)
>
> In which case, yes, we can remove all of the assembly descriptors -
> EXCEPT for the container one.


What should be in the container lib dist? Is that a distribution containing
only the necessary JAR files of the pluto portlet container?

Is the list below a complete list for the container lib dist?

 * pluto-descriptor-api.jar
 * pluto-descriptor-impl.jar
 * pluto-container.jar
 * pluto-taglib.jar
 * (should we add) the dependencies (?)
   * castor
   * xercesImpl + xmlParserAPIs
   * portlet-api

Regards.


David
>
>

--
ZHENG Zhong
- http://heavyz.blogspot.com/
- http://people.apache.org/~zheng/

Re: svn commit: r381330 - /portals/pluto/trunk/pluto-ant-tasks/src/assemble/src.xml

Posted by "David H. DeWolf" <dd...@apache.org>.
That begs the questions: what is it that we want to release:

My opinion is at minimum:

1) Binary Dist (Bundled with tomcat)
2) Library Dist (all the jars/wars)
3) Library Dist for Container only
4) Source (of everything)

In which case, yes, we can remove all of the assembly descriptors -
EXCEPT for the container one.

David

On 2/27/06, Zhong ZHENG <he...@gmail.com> wrote:
> Hi, Craig,
>
>  I also tried the maven assembly plugin. It seems that we need an assembly
>  descriptor for the root project ('pluto') if we want to run mvn
> assembly:assembly.
>
>  I created two descriptors (bin and src) for the parent project. They work
> fine.
>  I am testing another descriptor to create pluto binary distribution bundled
>  with tomcat.
>
>  Since the pluto project will be released as a whole, could we just remove
> all
>  the assembly descriptors for pluto sub-modules?
>
>  I'll commit the descriptors to SVN when i finish my tests. To create
> distributions,
>  cd to $PLUTO_HOME and execute:
>
>   > mvn clean:clean install
>   > mvn assembly:assembly
>
>  Source/binary distributions will be generated at $PLUTO_HOME/target/dist/
>
>  Regards.
>
>
> On 2/27/06, cdoremus@apache.org <cd...@apache.org> wrote:
> > Author: cdoremus
> > Date: Mon Feb 27 04:54:51 2006
> > New Revision: 381330
> >
> > URL: http://svn.apache.org/viewcvs?rev=381330&view=rev
> > Log:
> > First try with assembly plugin. Site plugin needs to be run prior to
> assembly plugin.
> >
> > Added:
> >
> portals/pluto/trunk/pluto-ant-tasks/src/assemble/src.xml
> >
> > Added:
> portals/pluto/trunk/pluto-ant-tasks/src/assemble/src.xml
> > URL:
> http://svn.apache.org/viewcvs/portals/pluto/trunk/pluto-ant-tasks/src/assemble/src.xml?rev=381330&view=auto
> >
> ==============================================================================
> > ---
> portals/pluto/trunk/pluto-ant-tasks/src/assemble/src.xml
> (added)
> > +++
> portals/pluto/trunk/pluto-ant-tasks/src/assemble/src.xml
> Mon Feb 27 04:54:51 2006
> > @@ -0,0 +1,21 @@
> > +<assembly>
> > +  <id>src</id>
> > +  <formats>
> > +    <format>tar.gz</format>
> > +    <format>tar.bz2</format>
> > +    <format>zip</format>
> > +  </formats>
> > +  <fileSets>
> > +    <fileSet>
> > +      <includes>
> > +        <include>README*</include>
> > +        <include>LICENSE*</include>
> > +        <include>NOTICE*</include>
> > +        <include>pom.xml</include>
> > +      </includes>
> > +    </fileSet>
> > +    <fileSet>
> > +      <directory>src</directory>
> > +    </fileSet>
> > +  </fileSets>
> > +</assembly>
> >
> >
> >
>
>
>
> --
> ZHENG Zhong
>  - http://heavyz.blogspot.com/
>  - http://people.apache.org/~zheng/
>