OpenCms-Maven Plugin - new release for OpenCms 7.5

View: New views
6 Messages — Rating Filter:   Alert me  

OpenCms-Maven Plugin - new release for OpenCms 7.5

by Kai Schliemann :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

Hello OpenCms community,

comundus released a new version of the OpenCms-Maven Plugin. It works now with the latest version of OpenCms (7.5).

For all who do not know what the plugin does, here is a short extract of its features:

OpenCms-Maven Plugin - easy build and versioning process for OpenCms projects

OpenCms-Maven is an open source project that has been launched by the comundus GmbH to ease the build and versioning process of OpenCms projects. The core of the project is a Maven plugin that enables full automated OpenCms builds and provides functionality to synchronize virtual file system resources of OpenCms with a real file system.
The project's resources are currently hosted at the http://sourceforge.net/projects/mavplugocms/. You will also find the source code of the OpenCms-Maven VFS Plugin there.

If you are interested in the plugin, have a look at http://opencms-maven.comundus.com/ or contact opencms@....

 

Best regards

_________________________________________

  

Kai Schliemann

Senior IT-Berater

   

comundus GmbH

Schüttelgrabenring 3, D-71332 Waiblingen

Telefon +49 7151-50028-0

E-Mail g.maas@...

Internet www.comundus.com

 

Geschäftsführer Klaus Hillemeier  

Amtsgericht Stuttgart, HRB 264290

        

comundus ist ein Unternehmen der IT EXCELLENCE Group

_________________________________________

 



_______________________________________________
This mail is sent to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
http://lists.opencms.org/mailman/listinfo/opencms-dev

Re: OpenCms-Maven Plugin - new release for OpenCms 7.5

by Chris@Nionex () :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Congratulations for this helpful extension. I was a little bit struggling with the database setup. The create_table scripts are for older MySql version an so I got UTF8 problem with resource properties. After updating it to my database version from the OpenCms 7.5 source everything works fine.

Please let me now if you have any best practice for these topics:

1. How should be the project setup for developing custom modules with templates and Java classes. Should one deploy the JAR directly to the webapp or by the indirection of vfs:sync.

2. How should 3rd party modules (like OAMP Webforms) be imported? Id did it this way:
- Import the Module to a running OpenCms
- Add the module path to the syncVFSPaths configuration in system/pom.xml
- Call vfs:sync
- Add the configuration from opencms-module.xml to system/src/main/opencms-modules.xml

3. Is it possible to debug JSP's. Usually JSP's must be prefixed with "/jsp/offline".

Thanks
Christian




Kai Schliemann wrote:
Hello OpenCms community,

comundus released a new version of the OpenCms-Maven Plugin. It works now with the latest version of OpenCms (7.5).

For all who do not know what the plugin does, here is a short extract of its features:

OpenCms-Maven Plugin - easy build and versioning process for OpenCms projects

OpenCms-Maven is an open source project that has been launched by the comundus GmbH <http://opencms-maven.comundus.com/comundus/opencms/html/galleries/links/comundus>  to ease the build and versioning process of OpenCms projects. The core of the project is a Maven plugin that enables full automated OpenCms builds and provides functionality to synchronize virtual file system resources of OpenCms with a real file system.
The project's resources are currently hosted at the http://sourceforge.net/projects/mavplugocms/. You will also find the source code of the OpenCms-Maven VFS Plugin there.

If you are interested in the plugin, have a look at http://opencms-maven.comundus.com/ or contact opencms@comundus.com.

 

Best regards

_________________________________________

   

Kai Schliemann

Senior IT-Berater

   

comundus GmbH

Schüttelgrabenring 3, D-71332 Waiblingen

Telefon +49 7151-50028-0

E-Mail k.schliemann@comundus.com <mailto:g.maas@comundus.com>

Internet www.comundus.com <http://www.comundus.com/>

 

Geschäftsführer Klaus Hillemeier  

Amtsgericht Stuttgart, HRB 264290

         

comundus ist ein Unternehmen der IT EXCELLENCE Group

_________________________________________

 



_______________________________________________
This mail is sent to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
http://lists.opencms.org/mailman/listinfo/opencms-dev

Re: OpenCms-Maven Plugin - new release for OpenCms 7.5

by Rodriguez, Adrian-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello Christian,

thanks for your congratulations and for your contribution. We have updated the database scripts in the available version. About your questions:

1. We usually create two Maven artifacts. One of type pom, which uses the maven-vfs-plugin, and that includes the VFS-files and the opencms-module.xml file, like in the module system, but including directly the <module> element, taken from opencms-modules.xml. The other artifact is of type jar and will be referenced as dependency by the webapp module. This two artifacts will be referenced as modules by the parent project.

2. You should create a new Maven module for the 3rd party OpenCms module like the one I describe in the previous answer. If you have the sources of the OpenCms module, you can also remove the jar corresponding to those sources, and generate this jar as an artifact in each Maven Build.
So, the process should be the same you describe but in a new module of type pom which includes the plugin in the build section, like this:
           <plugin>
                <groupId>com.comundus.maven</groupId>
                <artifactId>maven-vfs-plugin</artifactId>
                <executions>
                    <execution>
                        <id>clean</id>
                        <phase>clean</phase>
                        <goals>
                            <goal>clean</goal>
                        </goals>
                    </execution>
                    <execution>
                        <id>package</id>
                        <phase>package</phase>
                        <goals>
                            <goal>module</goal>
                            <goal>sync</goal>
                            <goal>publish</goal>
                        </goals>
                    </execution>
                </executions>
                <configuration>
                <moduleVersion>1.0</moduleVersion>
                    <syncVFSPaths>
                        <syncVFSPath>/system/modules/my.module.path/</syncVFSPath>
                    </syncVFSPaths>
                </configuration>
            </plugin>

The text taken from opencms-modules.xml, has to be written in /src/main/opencms-module/opencms-module.xml

3. About debugging JSP's, I would refer you to http://www.opencms-wiki.org/Remote_debugging_OpenCms_with_Eclipse_and_Netbeans

Hope that helps

Adrián Rodríguez

-----Original Message-----
From: opencms-dev-bounces@... [mailto:opencms-dev-bounces@...] On Behalf Of Chris@Nionex
Sent: Friday, September 25, 2009 11:07 AM
To: opencms-dev@...
Subject: Re: [opencms-dev] OpenCms-Maven Plugin - new release for OpenCms 7.5


Congratulations for this helpful extension. I was a little bit struggling
with the database setup. The create_table scripts are for older MySql
version an so I got UTF8 problem with resource properties. After updating it
to my database version from the OpenCms 7.5 source everything works fine.

Please let me now if you have any best practice for these topics:

1. How should be the project setup for developing custom modules with
templates and Java classes. Should one deploy the JAR directly to the webapp
or by the indirection of vfs:sync.

2. How should 3rd party modules (like OAMP Webforms) be imported? Id did it
this way:
- Import the Module to a running OpenCms
- Add the module path to the syncVFSPaths configuration in system/pom.xml
- Call vfs:sync
- Add the configuration from opencms-module.xml to
system/src/main/opencms-modules.xml

3. Is it possible to debug JSP's. Usually JSP's must be prefixed with
"/jsp/offline".

Thanks
Christian





Kai Schliemann wrote:

>
> Hello OpenCms community,
>
> comundus released a new version of the OpenCms-Maven Plugin. It works now
> with the latest version of OpenCms (7.5).
>
> For all who do not know what the plugin does, here is a short extract of
> its features:
>
> OpenCms-Maven Plugin - easy build and versioning process for OpenCms
> projects
>
> OpenCms-Maven is an open source project that has been launched by the
> comundus GmbH
> <http://opencms-maven.comundus.com/comundus/opencms/html/galleries/links/comundus>
> to ease the build and versioning process of OpenCms projects. The core of
> the project is a Maven plugin that enables full automated OpenCms builds
> and provides functionality to synchronize virtual file system resources of
> OpenCms with a real file system.
> The project's resources are currently hosted at the
> http://sourceforge.net/projects/mavplugocms/. You will also find the
> source code of the OpenCms-Maven VFS Plugin there.
>
> If you are interested in the plugin, have a look at
> http://opencms-maven.comundus.com/ or contact opencms@....
>
>  
>
> Best regards
>
> _________________________________________
>
>    
>
> Kai Schliemann
>
> Senior IT-Berater
>
>    
>
> comundus GmbH
>
> Schüttelgrabenring 3, D-71332 Waiblingen
>
> Telefon +49 7151-50028-0
>
> E-Mail k.schliemann@... <mailto:g.maas@...>
>
> Internet www.comundus.com <http://www.comundus.com/>
>
>  
>
> Geschäftsführer Klaus Hillemeier  
>
> Amtsgericht Stuttgart, HRB 264290
>
>          
>
> comundus ist ein Unternehmen der IT EXCELLENCE Group
>
> _________________________________________
>
>  
>
>
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev
>

--
View this message in context: http://www.nabble.com/OpenCms-Maven-Plugin---new-release-for-OpenCms-7.5-tp25256539p25550769.html
Sent from the OpenCMS - Dev mailing list archive at Nabble.com.


_______________________________________________
This mail is sent to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
http://lists.opencms.org/mailman/listinfo/opencms-dev

_______________________________________________
This mail is sent to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
http://lists.opencms.org/mailman/listinfo/opencms-dev

Re: OpenCms-Maven Plugin - new release for OpenCms 7.5

by Chris@Nionex :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Adrian

You said that the jar project should be referenced by the webapp project. Everytime the "package" goal is executed the jar will be deployed. That works fine. But the package goal builds the complete OpenCms installation from scratch. So if I do only minor changes to my jar this roundtrip is too long. Do you habe any suggestions how to build the jar and deploy it directly to the tomcat, including restarting the tomcat? Same question for opencms-*.xml files. How can I deploy changes without a complete install?

Thanks
Christian


> -----Ursprüngliche Nachricht-----
> Von: opencms-dev-bounces@...
> [mailto:opencms-dev-bounces@...] Im Auftrag von
> Rodriguez, Adrian
> Gesendet: Montag, 28. September 2009 18:55
> An: The OpenCms mailing list
> Betreff: Re: [opencms-dev] OpenCms-Maven Plugin - new release
> for OpenCms 7.5
>
> Hello Christian,
>
> thanks for your congratulations and for your contribution. We
> have updated the database scripts in the available version.
> About your questions:
>
> 1. We usually create two Maven artifacts. One of type pom,
> which uses the maven-vfs-plugin, and that includes the
> VFS-files and the opencms-module.xml file, like in the module
> system, but including directly the <module> element, taken
> from opencms-modules.xml. The other artifact is of type jar
> and will be referenced as dependency by the webapp module.
> This two artifacts will be referenced as modules by the
> parent project.
>
> 2. You should create a new Maven module for the 3rd party
> OpenCms module like the one I describe in the previous
> answer. If you have the sources of the OpenCms module, you
> can also remove the jar corresponding to those sources, and
> generate this jar as an artifact in each Maven Build.
> So, the process should be the same you describe but in a new
> module of type pom which includes the plugin in the build
> section, like this:
>            <plugin>
>                 <groupId>com.comundus.maven</groupId>
>                 <artifactId>maven-vfs-plugin</artifactId>
>                 <executions>
>                     <execution>
>                         <id>clean</id>
>                         <phase>clean</phase>
>                         <goals>
>                             <goal>clean</goal>
>                         </goals>
>                     </execution>
>                     <execution>
>                         <id>package</id>
>                         <phase>package</phase>
>                         <goals>
>                             <goal>module</goal>
>                             <goal>sync</goal>
>                             <goal>publish</goal>
>                         </goals>
>                     </execution>
>                 </executions>
>                 <configuration>
>                 <moduleVersion>1.0</moduleVersion>
>                     <syncVFSPaths>
>                        
> <syncVFSPath>/system/modules/my.module.path/</syncVFSPath>
>                     </syncVFSPaths>
>                 </configuration>
>             </plugin>
>
> The text taken from opencms-modules.xml, has to be written in
> /src/main/opencms-module/opencms-module.xml
>
> 3. About debugging JSP's, I would refer you to
> http://www.opencms-wiki.org/Remote_debugging_OpenCms_with_Ecli
> pse_and_Netbeans
>
> Hope that helps
>
> Adrián Rodríguez
>
> -----Original Message-----
> From: opencms-dev-bounces@...
> [mailto:opencms-dev-bounces@...] On Behalf Of Chris@Nionex
> Sent: Friday, September 25, 2009 11:07 AM
> To: opencms-dev@...
> Subject: Re: [opencms-dev] OpenCms-Maven Plugin - new release
> for OpenCms 7.5
>
>
> Congratulations for this helpful extension. I was a little
> bit struggling with the database setup. The create_table
> scripts are for older MySql version an so I got UTF8 problem
> with resource properties. After updating it to my database
> version from the OpenCms 7.5 source everything works fine.
>
> Please let me now if you have any best practice for these topics:
>
> 1. How should be the project setup for developing custom
> modules with templates and Java classes. Should one deploy
> the JAR directly to the webapp or by the indirection of vfs:sync.
>
> 2. How should 3rd party modules (like OAMP Webforms) be
> imported? Id did it this way:
> - Import the Module to a running OpenCms
> - Add the module path to the syncVFSPaths configuration in
> system/pom.xml
> - Call vfs:sync
> - Add the configuration from opencms-module.xml to
> system/src/main/opencms-modules.xml
>
> 3. Is it possible to debug JSP's. Usually JSP's must be
> prefixed with "/jsp/offline".
>
> Thanks
> Christian
>
>
>
>
>
> Kai Schliemann wrote:
> >
> > Hello OpenCms community,
> >
> > comundus released a new version of the OpenCms-Maven
> Plugin. It works
> > now with the latest version of OpenCms (7.5).
> >
> > For all who do not know what the plugin does, here is a
> short extract
> > of its features:
> >
> > OpenCms-Maven Plugin - easy build and versioning process
> for OpenCms
> > projects
> >
> > OpenCms-Maven is an open source project that has been
> launched by the
> > comundus GmbH
> >
> <http://opencms-maven.comundus.com/comundus/opencms/html/galleries/lin
> > ks/comundus> to ease the build and versioning process of OpenCms
> > projects. The core of the project is a Maven plugin that
> enables full
> > automated OpenCms builds and provides functionality to synchronize
> > virtual file system resources of OpenCms with a real file system.
> > The project's resources are currently hosted at the
> > http://sourceforge.net/projects/mavplugocms/. You will also
> find the
> > source code of the OpenCms-Maven VFS Plugin there.
> >
> > If you are interested in the plugin, have a look at
> > http://opencms-maven.comundus.com/ or contact opencms@....
> >
> >  
> >
> > Best regards
> >
> > _________________________________________
> >
> >    
> >
> > Kai Schliemann
> >
> > Senior IT-Berater
> >
> >    
> >
> > comundus GmbH
> >
> > Schüttelgrabenring 3, D-71332 Waiblingen
> >
> > Telefon +49 7151-50028-0
> >
> > E-Mail k.schliemann@... <mailto:g.maas@...>
> >
> > Internet www.comundus.com <http://www.comundus.com/>
> >
> >  
> >
> > Geschäftsführer Klaus Hillemeier
> >
> > Amtsgericht Stuttgart, HRB 264290
> >
> >          
> >
> > comundus ist ein Unternehmen der IT EXCELLENCE Group
> >
> > _________________________________________
> >
> >  
> >
> >
> >
> > _______________________________________________
> > This mail is sent to you from the opencms-dev mailing list
> To change
> > your list options, or to unsubscribe from the list, please visit
> > http://lists.opencms.org/mailman/listinfo/opencms-dev
> >
>
> --
> View this message in context:
> http://www.nabble.com/OpenCms-Maven-Plugin---new-release-for-O
> penCms-7.5-tp25256539p25550769.html
> Sent from the OpenCMS - Dev mailing list archive at Nabble.com.
>
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list,
> please visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list,
> please visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev
>

_______________________________________________
This mail is sent to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
http://lists.opencms.org/mailman/listinfo/opencms-dev

Re: OpenCms-Maven Plugin - new release for OpenCms 7.5

by Ronen Naor-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,
I need to write 3rd party module as you described.
How do I generate the files in folder vfs-metadata? Do I need to do it by hand for each file and directory? Or can I generate the files automatically some way?

Thanks,
Ronen

On Mon, Sep 28, 2009 at 6:54 PM, Rodriguez, Adrian <A.Rodriguez@...> wrote:
Hello Christian,

thanks for your congratulations and for your contribution. We have updated the database scripts in the available version. About your questions:

1. We usually create two Maven artifacts. One of type pom, which uses the maven-vfs-plugin, and that includes the VFS-files and the opencms-module.xml file, like in the module system, but including directly the <module> element, taken from opencms-modules.xml. The other artifact is of type jar and will be referenced as dependency by the webapp module. This two artifacts will be referenced as modules by the parent project.

2. You should create a new Maven module for the 3rd party OpenCms module like the one I describe in the previous answer. If you have the sources of the OpenCms module, you can also remove the jar corresponding to those sources, and generate this jar as an artifact in each Maven Build.
So, the process should be the same you describe but in a new module of type pom which includes the plugin in the build section, like this:
          <plugin>
               <groupId>com.comundus.maven</groupId>
               <artifactId>maven-vfs-plugin</artifactId>
               <executions>
                   <execution>
                       <id>clean</id>
                       <phase>clean</phase>
                       <goals>
                           <goal>clean</goal>
                       </goals>
                   </execution>
                   <execution>
                       <id>package</id>
                       <phase>package</phase>
                       <goals>
                           <goal>module</goal>
                           <goal>sync</goal>
                           <goal>publish</goal>
                       </goals>
                   </execution>
               </executions>
               <configuration>
                       <moduleVersion>1.0</moduleVersion>
                   <syncVFSPaths>
                       <syncVFSPath>/system/modules/my.module.path/</syncVFSPath>
                   </syncVFSPaths>
               </configuration>
           </plugin>

The text taken from opencms-modules.xml, has to be written in /src/main/opencms-module/opencms-module.xml

3. About debugging JSP's, I would refer you to http://www.opencms-wiki.org/Remote_debugging_OpenCms_with_Eclipse_and_Netbeans

Hope that helps

Adrián Rodríguez

-----Original Message-----
From: opencms-dev-bounces@... [mailto:opencms-dev-bounces@...] On Behalf Of Chris@Nionex
Sent: Friday, September 25, 2009 11:07 AM
To: opencms-dev@...
Subject: Re: [opencms-dev] OpenCms-Maven Plugin - new release for OpenCms 7.5


Congratulations for this helpful extension. I was a little bit struggling
with the database setup. The create_table scripts are for older MySql
version an so I got UTF8 problem with resource properties. After updating it
to my database version from the OpenCms 7.5 source everything works fine.

Please let me now if you have any best practice for these topics:

1. How should be the project setup for developing custom modules with
templates and Java classes. Should one deploy the JAR directly to the webapp
or by the indirection of vfs:sync.

2. How should 3rd party modules (like OAMP Webforms) be imported? Id did it
this way:
- Import the Module to a running OpenCms
- Add the module path to the syncVFSPaths configuration in system/pom.xml
- Call vfs:sync
- Add the configuration from opencms-module.xml to
system/src/main/opencms-modules.xml

3. Is it possible to debug JSP's. Usually JSP's must be prefixed with
"/jsp/offline".

Thanks
Christian





Kai Schliemann wrote:
>
> Hello OpenCms community,
>
> comundus released a new version of the OpenCms-Maven Plugin. It works now
> with the latest version of OpenCms (7.5).
>
> For all who do not know what the plugin does, here is a short extract of
> its features:
>
> OpenCms-Maven Plugin - easy build and versioning process for OpenCms
> projects
>
> OpenCms-Maven is an open source project that has been launched by the
> comundus GmbH
> <http://opencms-maven.comundus.com/comundus/opencms/html/galleries/links/comundus>
> to ease the build and versioning process of OpenCms projects. The core of
> the project is a Maven plugin that enables full automated OpenCms builds
> and provides functionality to synchronize virtual file system resources of
> OpenCms with a real file system.
> The project's resources are currently hosted at the
> http://sourceforge.net/projects/mavplugocms/. You will also find the
> source code of the OpenCms-Maven VFS Plugin there.
>
> If you are interested in the plugin, have a look at
> http://opencms-maven.comundus.com/ or contact opencms@....
>
>
>
> Best regards
>
> _________________________________________
>
>
>
> Kai Schliemann
>
> Senior IT-Berater
>
>
>
> comundus GmbH
>
> Schüttelgrabenring 3, D-71332 Waiblingen
>
> Telefon +49 7151-50028-0
>
> E-Mail k.schliemann@... <mailto:g.maas@...>
>
> Internet www.comundus.com <http://www.comundus.com/>
>
>
>
> Geschäftsführer Klaus Hillemeier
>
> Amtsgericht Stuttgart, HRB 264290
>
>
>
> comundus ist ein Unternehmen der IT EXCELLENCE Group
>
> _________________________________________
>
>
>
>
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev
>

--
View this message in context: http://www.nabble.com/OpenCms-Maven-Plugin---new-release-for-OpenCms-7.5-tp25256539p25550769.html
Sent from the OpenCMS - Dev mailing list archive at Nabble.com.


_______________________________________________
This mail is sent to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
http://lists.opencms.org/mailman/listinfo/opencms-dev

_______________________________________________
This mail is sent to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
http://lists.opencms.org/mailman/listinfo/opencms-dev



_______________________________________________
This mail is sent to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
http://lists.opencms.org/mailman/listinfo/opencms-dev

Re: OpenCms-Maven Plugin - new release for OpenCms 7.5

by Chris@Nionex :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Ronen
 
first create the file in OpenCms. Then call vfs:sync and the file and its metadata will be created in your real filesystem.
 
Regards
Christian
 


Von: opencms-dev-bounces@... [mailto:opencms-dev-bounces@...] Im Auftrag von Ronen
Gesendet: Montag, 2. November 2009 10:27
An: The OpenCms mailing list
Betreff: Re: [opencms-dev] OpenCms-Maven Plugin - new release for OpenCms 7.5

Hi,
I need to write 3rd party module as you described.
How do I generate the files in folder vfs-metadata? Do I need to do it by hand for each file and directory? Or can I generate the files automatically some way?

Thanks,
Ronen

On Mon, Sep 28, 2009 at 6:54 PM, Rodriguez, Adrian <A.Rodriguez@...> wrote:
Hello Christian,

thanks for your congratulations and for your contribution. We have updated the database scripts in the available version. About your questions:

1. We usually create two Maven artifacts. One of type pom, which uses the maven-vfs-plugin, and that includes the VFS-files and the opencms-module.xml file, like in the module system, but including directly the <module> element, taken from opencms-modules.xml. The other artifact is of type jar and will be referenced as dependency by the webapp module. This two artifacts will be referenced as modules by the parent project.

2. You should create a new Maven module for the 3rd party OpenCms module like the one I describe in the previous answer. If you have the sources of the OpenCms module, you can also remove the jar corresponding to those sources, and generate this jar as an artifact in each Maven Build.
So, the process should be the same you describe but in a new module of type pom which includes the plugin in the build section, like this:
          <plugin>
               <groupId>com.comundus.maven</groupId>
               <artifactId>maven-vfs-plugin</artifactId>
               <executions>
                   <execution>
                       <id>clean</id>
                       <phase>clean</phase>
                       <goals>
                           <goal>clean</goal>
                       </goals>
                   </execution>
                   <execution>
                       <id>package</id>
                       <phase>package</phase>
                       <goals>
                           <goal>module</goal>
                           <goal>sync</goal>
                           <goal>publish</goal>
                       </goals>
                   </execution>
               </executions>
               <configuration>
                       <moduleVersion>1.0</moduleVersion>
                   <syncVFSPaths>
                       <syncVFSPath>/system/modules/my.module.path/</syncVFSPath>
                   </syncVFSPaths>
               </configuration>
           </plugin>

The text taken from opencms-modules.xml, has to be written in /src/main/opencms-module/opencms-module.xml

3. About debugging JSP's, I would refer you to http://www.opencms-wiki.org/Remote_debugging_OpenCms_with_Eclipse_and_Netbeans

Hope that helps

Adrián Rodríguez

-----Original Message-----
From: opencms-dev-bounces@... [mailto:opencms-dev-bounces@...] On Behalf Of Chris@Nionex
Sent: Friday, September 25, 2009 11:07 AM
To: opencms-dev@...
Subject: Re: [opencms-dev] OpenCms-Maven Plugin - new release for OpenCms 7.5


Congratulations for this helpful extension. I was a little bit struggling
with the database setup. The create_table scripts are for older MySql
version an so I got UTF8 problem with resource properties. After updating it
to my database version from the OpenCms 7.5 source everything works fine.

Please let me now if you have any best practice for these topics:

1. How should be the project setup for developing custom modules with
templates and Java classes. Should one deploy the JAR directly to the webapp
or by the indirection of vfs:sync.

2. How should 3rd party modules (like OAMP Webforms) be imported? Id did it
this way:
- Import the Module to a running OpenCms
- Add the module path to the syncVFSPaths configuration in system/pom.xml
- Call vfs:sync
- Add the configuration from opencms-module.xml to
system/src/main/opencms-modules.xml

3. Is it possible to debug JSP's. Usually JSP's must be prefixed with
"/jsp/offline".

Thanks
Christian





Kai Schliemann wrote:

>
> Hello OpenCms community,
>
> comundus released a new version of the OpenCms-Maven Plugin. It works now
> with the latest version of OpenCms (7.5).
>
> For all who do not know what the plugin does, here is a short extract of
> its features:
>
> OpenCms-Maven Plugin - easy build and versioning process for OpenCms
> projects
>
> OpenCms-Maven is an open source project that has been launched by the
> comundus GmbH
> <http://opencms-maven.comundus.com/comundus/opencms/html/galleries/links/comundus>
> to ease the build and versioning process of OpenCms projects. The core of
> the project is a Maven plugin that enables full automated OpenCms builds
> and provides functionality to synchronize virtual file system resources of
> OpenCms with a real file system.
> The project's resources are currently hosted at the
> http://sourceforge.net/projects/mavplugocms/. You will also find the
> source code of the OpenCms-Maven VFS Plugin there.
>
> If you are interested in the plugin, have a look at
> http://opencms-maven.comundus.com/ or contact opencms@....
>
>
>
> Best regards
>
> _________________________________________
>
>
>
> Kai Schliemann
>
> Senior IT-Berater
>
>
>
> comundus GmbH
>
> Schüttelgrabenring 3, D-71332 Waiblingen
>
> Telefon +49 7151-50028-0
>
> E-Mail k.schliemann@... <mailto:g.maas@...>
>
> Internet www.comundus.com <http://www.comundus.com/>
>
>
>
> Geschäftsführer Klaus Hillemeier
>
> Amtsgericht Stuttgart, HRB 264290
>
>
>
> comundus ist ein Unternehmen der IT EXCELLENCE Group
>
> _________________________________________
>
>
>
>
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev
>

--
View this message in context: http://www.nabble.com/OpenCms-Maven-Plugin---new-release-for-OpenCms-7.5-tp25256539p25550769.html
Sent from the OpenCMS - Dev mailing list archive at Nabble.com.


_______________________________________________
This mail is sent to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
http://lists.opencms.org/mailman/listinfo/opencms-dev

_______________________________________________
This mail is sent to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
http://lists.opencms.org/mailman/listinfo/opencms-dev



_______________________________________________
This mail is sent to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
http://lists.opencms.org/mailman/listinfo/opencms-dev