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 Johan Wasserman <jo...@yahoo.com> on 2007/04/27 11:28:51 UTC

Mavin Plugin - Where and How?

I've tried every direction in the documnetation and all suggestions, but get the following problem:
  C:\Zones\DropZone\Learn\js2\portal>mvn -DartifactId=maven-jetspeed2-plugin -Dgro
upId=org.apache.portals.jetspeed-2 -Dversion=2.1 plugin:download
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'plugin'.
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Required goal not found: plugin:download
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: < 1 second
[INFO] Finished at: Fri Apr 27 12:44:03 IRST 2007
[INFO] Final Memory: 1M/4M
[INFO] ------------------------------------------------------------------------

       
---------------------------------
Ahhh...imagining that irresistible "new car" smell?
 Check outnew cars at Yahoo! Autos.

Re: Mavin Plugin - Where and How?

Posted by Aaron Evans <aa...@gmail.com>.
I think you are supposed to run this command from %MAVEN_HOME%.

On 4/27/07, Johan Wasserman <jo...@yahoo.com> wrote:
> I've tried every direction in the documnetation and all suggestions, but get the following problem:
>   C:\Zones\DropZone\Learn\js2\portal>mvn -DartifactId=maven-jetspeed2-plugin -Dgro
> upId=org.apache.portals.jetspeed-2 -Dversion=2.1 plugin:download
> [INFO] Scanning for projects...
> [INFO] Searching repository for plugin with prefix: 'plugin'.
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Required goal not found: plugin:download
> [INFO] ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: < 1 second
> [INFO] Finished at: Fri Apr 27 12:44:03 IRST 2007
> [INFO] Final Memory: 1M/4M
> [INFO] ------------------------------------------------------------------------
>
>
> ---------------------------------
> Ahhh...imagining that irresistible "new car" smell?
>  Check outnew cars at Yahoo! Autos.

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


Totrial Portlet deply

Posted by Roozbeh Zabihollahi <ya...@yahoo.com>.
Dear All,
I am newby and please forgive me if my question is
silly. But please help . . .

I just read the tutorial documentation and I created a
portlet using following command:

PATH:\> mvn archetype:create    
    -DarchetypeGroupId=org.apache.portals.jetspeed-2 
    -DarchetypeArtifactId=application-archetype 
    -DarchetypeVersion=2.1-dev 
    -DgroupId=org.apache.portals.tutorials
    -DartifactId=express-demo
    -Dversion=1.0

The command created a directory containing a portlet
and some other things ( :-) ). Anyways, I build the
portlet using following command:

PATH:\> mvn

The command build the portlet and created a WAR file:
"express-demo-1.0.war". I renamed the file and copied
it to tomcat webapps folder. I had another portal
deployed named myportal in webapps folder, So, I
changed "default-page.psml" to contain this new born
portlet as well:

    <fragment id="dp-12" type="portlet"
name="express-demo::application">
      <property name="row" value="0" />
      <property name="column" value="0" />
    </fragment>                                

But I could not understand why the system is not
working. I do not know is I am going in correct way or
no. My portal (myportal) shows other portal in demo
and j2-admin correctly, but would not shows
express-demo portlets. 

Could you please tell me how I could deploy new
portlets to a portal?

Thanks in advance,
* Roozbeh

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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


Tutorial Portlet deply

Posted by Roozbeh Zabihollahi <ya...@yahoo.com>.
Dear All,
I am newby and please forgive me if my question is
silly. But please help . . .

I just read the tutorial documentation and I created a
portlet using following command:

PATH:\> mvn archetype:create    
    -DarchetypeGroupId=org.apache.portals.jetspeed-2 
    -DarchetypeArtifactId=application-archetype 
    -DarchetypeVersion=2.1-dev 
    -DgroupId=org.apache.portals.tutorials
    -DartifactId=express-demo
    -Dversion=1.0

The command created a directory containing a portlet
and some other things ( :-) ). Anyways, I build the
portlet using following command:

PATH:\> mvn

The command build the portlet and created a WAR file:
"express-demo-1.0.war". I renamed the file and copied
it to tomcat webapps folder. I had another portal
deployed named myportal in webapps folder, So, I
changed "default-page.psml" to contain this new born
portlet as well:

    <fragment id="dp-12" type="portlet"
name="express-demo::application">
      <property name="row" value="0" />
      <property name="column" value="0" />
    </fragment>                                

But I could not understand why the system is not
working. I do not know is I am going in correct way or
no. My portal (myportal) shows other portal in demo
and j2-admin correctly, but would not shows
express-demo portlets. 

Could you please tell me how I could deploy new
portlets to a portal?

Thanks in advance,
* Roozbeh

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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