You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by Akshay Ahooja <ak...@gmail.com> on 2006/05/31 17:48:18 UTC

Maven plugin

Hi,

I am trying to install the Mavin plugin for Jetspeed-2. Does it come bundled
with Jetspeed-2 installer?
I currently have Maven 2.0.4 installed.

Just started using Maven/Portals. Cannot seem to find the plugin for Maven
so I can get started on the Jetspeed tutorial.

I tried to get this information from the FAQ's but didn't get a viable
response. If I can be pointed in the right direction, it would be very
helpful.

Thanks,

Akshay

Re: Maven plugin

Posted by Akshay Ahooja <ak...@gmail.com>.
I figured out the problems. It seems the setup is not very clearly defined.
I needed to add the following other fields in my build.properties file under
"${USER_HOME}/".

 basedir = c:/myportal
maven.repo.remote = http://www.bluesunrise.com/maven/,
http://www.ibiblio.org/maven/, \
http://dist.codehaus.org/, http://cvs.apache.org/repository

org.apache.jetspeed.server.home = C:/Program Files/Apache Software
Foundation/Tomcat 5.5
org.apache.jetspeed.server.shared = C:/Program Files/Apache Jetspeed 2.0
/shared/lib
org.apache.jetspeed.deploy.war.dir = C:/Program Files/Apache Jetspeed 2.0
/webapps

org.apache.jetspeed.catalina.version.major = 5.5

org.apache.jetspeed.server.context = myproject
org.apache.jetspeed.services.autodeployment.user = j2deployer
org.apache.jetspeed.services.autodeployment.password = j2deployer
org.apache.jetspeed.services.autodeployment.port = 8080

org.apache.jetspeed.production.database.default.name=derby
org.apache.jetspeed.production.database.url =
jdbc:derby:/mydbland/derbydb/mydb;create=true
org.apache.jetspeed.production.database.driver =
org.apache.derby.jdbc.EmbeddedDriver
org.apache.jetspeed.production.database.user =
org.apache.jetspeed.production.database.password =
org.apache.jetspeed.production.jdbc.drivers.path=C:/Program Files/Apache
Software Foundation/Maven 1.0.2/repository/org.apache.derby/jars/derby-
10.1.1.0.jar

This succesfuly completed the "maven j2:portal.genapp"



Akshay






On 5/31/06, Akshay Ahooja <ak...@gmail.com> wrote:
>
>  I took your advice and installed Maven 1...and then the Jetspeed plugin.
>
> Using http://portals.apache.org/jetspeed-2/getting-started-binary.html  I
> went along to set everything up.
>
> As for "${USER_HOME}/build.properties ",  I had to create a
> build.properties in my  home directory C:\Documents and Settings\aahuja\
> (was this corrent?)
>
> Continued with the process...but when I got to the default project
> generation, it gave me the following error:
>
>
> C:\>maven j2:portal.genapp
>  __  __
> |  \/  |__ _Apache__ ___
> | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
> |_|  |_\__,_|\_/\___|_||_|  v. 1.0.2
>
>
> BUILD FAILED
> File...... C:\Documents and
> Settings\aahuja\.maven\cache\maven-jetspeed2-plugin-
> 2.0\plugin.jelly
> Element... fail
> Line...... 635
> Column.... 42
> Required property org.apache.jetspeed.server.home undefined. See
> http://portals.
> apache.org/jetspeed-2/getting-started.html.
> Total time: 1 seconds
> Finished at: Wed May 31 14:39:35 EDT 2006
>
>
>
>
>
> Not sure what to do here.
>
>
>
> Also, When we make a new project where exactly does this folder get
> generated? Trying to get a handle on the whole concept..apologies for any
> basic questions.
>
> Thanks,
>
>
>
> Akshay
>

Re: Maven plugin

Posted by Akshay Ahooja <ak...@gmail.com>.
I took your advice and installed Maven 1...and then the Jetspeed plugin.

Using http://portals.apache.org/jetspeed-2/getting-started-binary.html I
went along to set everything up.

As for "${USER_HOME}/build.properties ",  I had to create a
build.propertiesin my  home directory C:\Documents and
Settings\aahuja\  (was this corrent?)

Continued with the process...but when I got to the default project
generation, it gave me the following error:


C:\>maven j2:portal.genapp
 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0.2


BUILD FAILED
File...... C:\Documents and
Settings\aahuja\.maven\cache\maven-jetspeed2-plugin-
2.0\plugin.jelly
Element... fail
Line...... 635
Column.... 42
Required property org.apache.jetspeed.server.home undefined. See
http://portals.
apache.org/jetspeed-2/getting-started.html.
Total time: 1 seconds
Finished at: Wed May 31 14:39:35 EDT 2006





Not sure what to do here.



Also, When we make a new project where exactly does this folder get
generated? Trying to get a handle on the whole concept..apologies for any
basic questions.

Thanks,



Akshay

Re: Maven plugin

Posted by David Sean Taylor <da...@bluesunrise.com>.
Akshay Ahooja wrote:
> Hi,
> 
> I am trying to install the Mavin plugin for Jetspeed-2. Does it come 
> bundled
> with Jetspeed-2 installer?
> I currently have Maven 2.0.4 installed.
> 
> Just started using Maven/Portals. Cannot seem to find the plugin for Maven
> so I can get started on the Jetspeed tutorial.
> 
We only support a Maven-1 plugin with Jetspeed
However we do have a Maven-2 build in place
See:

http://wiki.apache.org/portals/Jetspeed2/Maven2BuildSupport

For the Maven-1 plugin, see:

http://portals.apache.org/jetspeed-2/getting-started-binary.html

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org