RE: Regarding Jetspeed migration

Dnyaneshwar Dabhade <[email protected]>
Newsgroups gmane.comp.jakarta.jetspeed.devel
Message-ID <30E797EECAA35B4DBEC5628665BCDBF181AD09AAFE@USA-INN1MCL101.mastek.com>
Hi David,

I am also facing the issue with build.
I am using Windows 7 enterprise - 64bit & Maven 3.3.3 .  PATH variables are set appropriately as you mentioned. Please find build issue log attached to this email.



Regards,
Dnyaneshwar


-----Original Message-----
From: DavidSeanTaylor [mailto:[email protected]] 
Sent: Monday, June 15, 2015 9:26 PM
To: Jetspeed Developers List
Subject: Re: Regarding Jetspeed migration

A few questions:

1. What operating system are you using? 
2. What version of Maven?

I just tested the tutorial with Maven 3.2.1 and it worked for me. You can see which version of Maven you are using by typing:

mvn --version
Apache Maven 3.2.1 (ea8b2b07643dbb1b84b6d16e1f08391b666bc1e9; 2014-02-14T09:37:52-08:00)

You shouldn’t need to set M2_HOME variable. Ensure that:

1. The path to the Maven binary needs to be in your PATH 2. Make sure JAVA_HOME is set, something like:

(These are only examples. Im assuming you are on Windows)

SET PATH %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program Files\Java\jdk1.7.0_04\bin;C:\Program Files\apache-maven-3.0.4\bin SET JAVA_HOME=C:\Program Files\Java\jdk1.7.0_04

> On Jun 15, 2015, at 6:14 AM, Lalitha Bourishetty <[email protected]> wrote:
> 
> Hi Team,
>  
> I went through example portlet given at apache portal.
> At https://portals.apache.org/jetspeed-2/tutorial/01/build-it.html <https://portals.apache.org/jetspeed-2/tutorial/01/build-it.html> as given we are trying to build and deploy by using mvn jetspeed:mvn -Dtarget=all command. When I run this command I am facing error. Attached is the log file for the same.
>  
> Request you to  help if you have any suggestion/solution.
>  
> Regards,
> Lalitha
>  
>  
>  
> ----- Original Message -----
> From: [email protected] 
> <mailto:[email protected]>
> To: [email protected] 
> <mailto:[email protected]>
> Sent: Monday, June 15, 2015 4:41:56 AM GMT -08:00 US/Canada Pacific
> Subject: RE: Regarding Jetspeed migration
> 
> Hi Team,
>  
> I went through example portlet given at apache portal.
> At https://portals.apache.org/jetspeed-2/tutorial/01/build-it.html <https://portals.apache.org/jetspeed-2/tutorial/01/build-it.html> as given we are trying to build and deploy by using mvn jetspeed:mvn -Dtarget=all command. When I run this command I am facing error as below:
>  
>  
>  
> 
>  
> Request you to let me know how this can be resolved.
>  
> Regards,
> Lalitha
>  
> -----Original Message-----
> From: Lalitha Bourishetty
> Sent: Thursday, June 11, 2015 11:54 PM
> To: Jetspeed Developers List
> Subject: RE: Regarding Jetspeed migration
>  
> Hi Team,
>  
> Is it possible with jdeveloper IDE also. If so how exactly can we achieve it?
>  
> Regards,
> Lalitha
>  
> -----Original Message-----
> From: DavidSeanTaylor [mailto:[email protected] 
> <mailto:[email protected]>]
> Sent: Thursday, June 11, 2015 10:05 PM
> To: Jetspeed Developers List
> Subject: Re: Regarding Jetspeed migration
>  
>  
> > On Jun 11, 2015, at 4:12 AM, Lalitha Bourishetty <[email protected] <mailto:[email protected]>> wrote:
> > 
> > Hi Team,
> > 
> > By downloading settings.xml manually I could able to run this successfully.
> > I got project with two sub modules, can you tell me how can we take these and use in other IDEs (like jdeveloper)as existing  modules.
> > 
>  
> The archetype generates a standard Maven project. Latest versions of IDEs like Eclipse or IntelliJ simply read Maven POMs and create projects from them. 
>  
> http://maven.apache.org/eclipse-plugin.html 
> <http://maven.apache.org/eclipse-plugin.html> 
> <http://maven.apache.org/eclipse-plugin.html 
> <http://maven.apache.org/eclipse-plugin.html>>
>  
>  
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected] 
> <mailto:[email protected]>
> For additional commands, e-mail: [email protected] 
> <mailto:[email protected]>
>  
>  
> <BuildError.txt>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected] 
> <mailto:[email protected]>
> For additional commands, e-mail: [email protected] 
> <mailto:[email protected]>


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
maven nbuild issue.txt (text/plain, 2.8 KB)
C:\AutoOne\projects\jetexpress>mvn jetspeed:mvn -Dtarget=all
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for
org.apache.portals.tutorials:jetexpress-portal:war:1.0-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-war-
plugin is missing. @ org.apache.portals.tutorials:jetexpress-portal:[unknown-ver
sion], C:\AutoOne\projects\jetexpress\jetexpress-portal\pom.xml, line 163, colum
n 15
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten t
he stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support buildin
g such malformed projects.
[WARNING]
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] jetexpress portal project
[INFO] jetexpress portal
[INFO] jetexpress portlet application
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building jetexpress portal project 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- jetspeed-mvn-maven-plugin:2.2.2:mvn (default-cli) @ jetexpress ---
[INFO] Resolved target(s) order: [install-portal, install-pa, install, db-portal
, db, deploy-portal, deploy-pa, all]
[INFO] Executing target: install-portal
[INFO] Invoking target install-portal: C:\AutoOne\projects\jetexpress\jetexpress
-portal\pom.xml clean install
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] jetexpress portal project .......................... FAILURE [  4.219 s]
[INFO] jetexpress portal .................................. SKIPPED
[INFO] jetexpress portlet application ..................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5.625 s
[INFO] Finished at: 2015-06-15T12:16:03-04:00
[INFO] Final Memory: 8M/112M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.portals.jetspeed-2:jetspeed-mvn-maven-
plugin:2.2.2:mvn (default-cli) on project jetexpress: ...FAILED[error invoking M
aven] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit
ch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please rea
d the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureExc
eption
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.