Hi
I am using jsf-basic M3 and although the maven goals work using the command
line when I try them in IntelliJ IDEA it seems to hang at a certain point.
I am using Idea-maven-plugin. Ive set M2_HOME to poin to the maven
installation.
If I run integration-test for the first time in IDEA (when it installs the
database for the first time) it completes successfully, I then run the goal
jetty:run-war within the IDE and it hangs, doesnt move beyond a certain
point, refer to the extract below(jetty:run-war).
If I run integration-test again (now that the database has been installed)
it hangs/doesnt move beyond the same point where the goal jetty:run-war
stops (see below- integration-test)
If I run jetty:run-war for the first (when there is no database created yet)
it gets further but still it doesnt move beyond a certain point - see last
extract.
Would be grateful for any help in this matter.
kace
-----------------------------------------------------------integration-test--------------------------------------------------------
c:\SDKs\jdk1.5.0_11\bin\java.exe -classpath
C:\Tools\maven-2.0.5\core\boot\classworlds-1.1.jar
-Dclassworlds.conf=C:\Tools\maven-2.0.5\bin\m2.conf
-Dmaven.home=C:\Tools\maven-2.0.5 org.codehaus.classworlds.Launcher -f
C:/projects/myproject/pom.xml integration-test
[INFO] Scanning for projects...
[INFO]
----------------------------------------------------------------------------
[INFO] Building AppFuse JSF Application
[INFO] task-segment: [integration-test]
[INFO]
----------------------------------------------------------------------------
[INFO] [warpath:add-classes {execution: default}]
[INFO] [native2ascii:native2ascii {execution: native2ascii-utf8}]
[INFO] [native2ascii:native2ascii {execution: native2ascii-8859_1}]
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] Preparing hibernate3:hbm2ddl
[WARNING] Removing: hbm2ddl from forked lifecycle, to prevent recursive
invocation.
[INFO] [warpath:add-classes {execution: default}]
[INFO] [native2ascii:native2ascii {execution: native2ascii-utf8}]
[INFO] [native2ascii:native2ascii {execution: native2ascii-8859_1}]
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[WARNING] POM for 'org.hibernate:jtidy:pom:r8-20060801:runtime' is invalid.
It will be ignored for artifact resolution. Reason: Parse error reading POM.
Reason: TEXT must be immediately followed by END_TAG and not START_TAG
(position: START_TAG seen ...<licenses>\n\t\t\t<license>... @12:13)
[WARNING] POM for 'org.hibernate:jtidy:pom:r8-20060801:runtime' is invalid.
It will be ignored for artifact resolution. Reason: Parse error reading POM.
Reason: TEXT must be immediately followed by END_TAG and not START_TAG
(position: START_TAG seen ...<licenses>\n\t\t\t<license>... @12:13)
[INFO] [hibernate3:hbm2ddl {execution: default}]
[INFO] Configuration XML file loaded:
C:\projects\myproject\src\main\resources\hibernate.cfg.xml
[INFO] Configuration XML file loaded:
C:\projects\myproject\src\main\resources\hibernate.cfg.xml
[INFO] Configuration Properties file loaded:
C:\projects\myproject\target\classes\jdbc.properties
create table app_user (id bigint not null auto_increment, username
varchar(50) not null unique, email varchar(255) not null unique,
password_hint varchar(255), first_name varchar(50) not null, last_name
varchar(50) not null, phone_number varchar(255), website varchar(255),
account_expired bit not null, account_locked bit not null,
credentials_expired bit not null, city varchar(50) not null, province
varchar(100), postal_code varchar(15) not null, address varchar(150),
country varchar(100), account_enabled bit, version integer, password
varchar(255) not null, primary key (id)) type=InnoDB;
-----------------------------------------------------------jetty:run-war-----------------------------------------------------------------------
c:\SDKs\jdk1.5.0_11\bin\java.exe -classpath
C:\Tools\maven-2.0.5\core\boot\classworlds-1.1.jar
-Dclassworlds.conf=C:\Tools\maven-2.0.5\bin\m2.conf
-Dmaven.home=C:\Tools\maven-2.0.5 org.codehaus.classworlds.Launcher -f
C:/projects/myproject/pom.xml jetty:run-war
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'jetty'.
[INFO]
----------------------------------------------------------------------------
[INFO] Building AppFuse JSF Application
[INFO] task-segment: [jetty:run-war]
[INFO]
----------------------------------------------------------------------------
[INFO] Preparing jetty:run-war
[INFO] [warpath:add-classes {execution: default}]
[INFO] [native2ascii:native2ascii {execution: native2ascii-utf8}]
[INFO] [native2ascii:native2ascii {execution: native2ascii-8859_1}]
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] Preparing hibernate3:hbm2ddl
[WARNING] Removing: hbm2ddl from forked lifecycle, to prevent recursive
invocation.
[INFO] [warpath:add-classes {execution: default}]
[INFO] [native2ascii:native2ascii {execution: native2ascii-utf8}]
[INFO] [native2ascii:native2ascii {execution: native2ascii-8859_1}]
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[WARNING] POM for 'org.hibernate:jtidy:pom:r8-20060801:runtime' is invalid.
It will be ignored for artifact resolution. Reason: Parse error reading POM.
Reason: TEXT must be immediately followed by END_TAG and not START_TAG
(position: START_TAG seen ...<licenses>\n\t\t\t<license>... @12:13)
[WARNING] POM for 'org.hibernate:jtidy:pom:r8-20060801:runtime' is invalid.
It will be ignored for artifact resolution. Reason: Parse error reading POM.
Reason: TEXT must be immediately followed by END_TAG and not START_TAG
(position: START_TAG seen ...<licenses>\n\t\t\t<license>... @12:13)
[INFO] [hibernate3:hbm2ddl {execution: default}]
[INFO] Configuration XML file loaded:
C:\projects\myproject\src\main\resources\hibernate.cfg.xml
[INFO] Configuration XML file loaded:
C:\projects\myproject\src\main\resources\hibernate.cfg.xml
[INFO] Configuration Properties file loaded:
C:\projects\myproject\target\classes\jdbc.properties
create table app_user (id bigint not null auto_increment, username
varchar(50) not null unique, email varchar(255) not null unique,
password_hint varchar(255), first_name varchar(50) not null, last_name
varchar(50) not null, phone_number varchar(255), website varchar(255),
account_expired bit not null, account_locked bit not null,
credentials_expired bit not null, city varchar(50) not null, province
varchar(100), postal_code varchar(15) not null, address varchar(150),
country varchar(100), account_enabled bit, version integer, password
varchar(255) not null, primary key (id)) type=InnoDB;
------------------------------------------------------------jetty:run-war--------------------------------------------------------
c:\SDKs\jdk1.5.0_11\bin\java.exe -classpath
C:\Tools\maven-2.0.5\core\boot\classworlds-1.1.jar
-Dclassworlds.conf=C:\Tools\maven-2.0.5\bin\m2.conf
-Dmaven.home=C:\Tools\maven-2.0.5 org.codehaus.classworlds.Launcher -f
C:/projects/myproject/pom.xml jetty:run-war
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'jetty'.
[INFO]
----------------------------------------------------------------------------
[INFO] Building AppFuse JSF Application
[INFO] task-segment: [jetty:run-war]
[INFO]
----------------------------------------------------------------------------
[INFO] Preparing jetty:run-war
[INFO] [warpath:add-classes {execution: default}]
[INFO] [native2ascii:native2ascii {execution: native2ascii-utf8}]
[INFO] [native2ascii:native2ascii {execution: native2ascii-8859_1}]
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] Preparing hibernate3:hbm2ddl
[WARNING] Removing: hbm2ddl from forked lifecycle, to prevent recursive
invocation.
[INFO] [warpath:add-classes {execution: default}]
[INFO] [native2ascii:native2ascii {execution: native2ascii-utf8}]
[INFO] [native2ascii:native2ascii {execution: native2ascii-8859_1}]
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[WARNING] POM for 'org.hibernate:jtidy:pom:r8-20060801:runtime' is invalid.
It will be ignored for artifact resolution. Reason: Parse error reading POM.
Reason: TEXT must be immediately followed by END_TAG and not START_TAG
(position: START_TAG seen ...<licenses>\n\t\t\t<license>... @12:13)
[WARNING] POM for 'org.hibernate:jtidy:pom:r8-20060801:runtime' is invalid.
It will be ignored for artifact resolution. Reason: Parse error reading POM.
Reason: TEXT must be immediately followed by END_TAG and not START_TAG
(position: START_TAG seen ...<licenses>\n\t\t\t<license>... @12:13)
[INFO] [hibernate3:hbm2ddl {execution: default}]
[INFO] Configuration XML file loaded:
C:\projects\myproject\src\main\resources\hibernate.cfg.xml
[INFO] Configuration XML file loaded:
C:\projects\myproject\src\main\resources\hibernate.cfg.xml
[INFO] Configuration Properties file loaded:
C:\projects\myproject\target\classes\jdbc.properties
create table app_user (id bigint not null auto_increment, username
varchar(50) not null unique, email varchar(255) not null unique,
password_hint varchar(255), first_name varchar(50) not null, last_name
varchar(50) not null, phone_number varchar(255), website varchar(255),
account_expired bit not null, account_locked bit not null,
credentials_expired bit not null, city varchar(50) not null, province
varchar(100), postal_code varchar(15) not null, address varchar(150),
country varchar(100), account_enabled bit, version integer, password
varchar(255) not null, primary key (id)) type=InnoDB;
create table role (id bigint not null auto_increment, name varchar(20),
description varchar(64), primary key (id)) type=InnoDB;
create table user_role (user_id bigint not null, role_id bigint not null,
primary key (user_id, role_id)) type=InnoDB;
alter table user_role add index FK143BF46AF503D155 (user_id), add constraint
FK143BF46AF503D155 foreign key (user_id) references app_user (id);
alter table user_role add index FK143BF46A4FD90D75 (role_id), add constraint
FK143BF46A4FD90D75 foreign key (role_id) references role (id);
[INFO] [compiler:testCompile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [dbunit:operation {execution: test-compile}]
[INFO] [surefire:test]
[INFO] Surefire report directory:
C:\projects\myproject\target\surefire-reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running com.mobileanarchy.AppTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.047 sec
Results :
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
[INFO] [dbunit:operation {execution: test}]
[INFO] [war:war]
[INFO] Exploding webapp...
[INFO] Assembling webapp fusiio in
C:\projects\myproject\target\myproject-1.0-SNAPSHOT
[INFO] Copy webapp webResources to
C:\projects\myproject\target\myproject-1.0-SNAPSHOT
[INFO] Overlaying 2 war(s).
[INFO] Generating war
C:\projects\myproject\target\myproject-1.0-SNAPSHOT.war
[INFO] Building war: C:\projects\myproject\target\myproject-1.0-SNAPSHOT.war
[WARNING]
Artifact commons-el:commons-el:jar:1.0:runtime retains local scope
'runtime' overriding broader scope 'compile'
given by a dependency. If this is not intended, modify or remove the
local
scope.
[INFO] [jetty:run-war]
[INFO] Configuring Jetty for project: AppFuse JSF Application
[INFO] Context path = /
[INFO] Tmp directory = C:\projects\myproject\target\work
[INFO] Web defaults = jetty default
[INFO] Starting jetty null ...
[fusiio] WARN [main] WebXmlParser.readFilterMapping(347) | Ignored element
'dispatcher' as child of 'filter-mapping'.
[fusiio] WARN [main] WebXmlParser.readFilterMapping(347) | Ignored element
'dispatcher' as child of 'filter-mapping'.
[fusiio] WARN [main] WebXmlParser.readFilterMapping(347) | Ignored element
'dispatcher' as child of 'filter-mapping'.
[fusiio] WARN [main] WebXmlParser.readFilterMapping(347) | Ignored element
'dispatcher' as child of 'filter-mapping'.
[fusiio] WARN [main] WebXmlParser.readFilterMapping(347) | Ignored element
'dispatcher' as child of 'filter-mapping'.
[fusiio] WARN [main] WebXmlParser.readFilterMapping(347) | Ignored element
'dispatcher' as child of 'filter-mapping'.
[fusiio] WARN [main] WebXmlParser.readFilterMapping(347) | Ignored element
'dispatcher' as child of 'filter-mapping'.
[fusiio] WARN [main] WebXmlParser.readFilterMapping(347) | Ignored element
'dispatcher' as child of 'filter-mapping'.
AbandonedObjectPool is used
([EMAIL PROTECTED])
LogAbandoned: false
RemoveAbandoned: true
RemoveAbandonedTimeout: 60
--
View this message in context:
http://www.nabble.com/maven-goals-issue-and-intelliJ-IDEA-6-tf3327309s2369.html#a9250878
Sent from the AppFuse - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]