You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ji...@codehaus.org on 2004/07/18 17:31:43 UTC
[jira] Created: (MPHIBERNATE-9) plugin:test fails without a network connection
Message:
A new issue has been created in JIRA.
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/browse/MPHIBERNATE-9
Here is an overview of the issue:
---------------------------------------------------------------------
Key: MPHIBERNATE-9
Summary: plugin:test fails without a network connection
Type: Bug
Status: Unassigned
Priority: Minor
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: maven-hibernate-plugin
Assignee:
Reporter: dion gillard
Created: Sun, 18 Jul 2004 11:31 AM
Updated: Sun, 18 Jul 2004 11:31 AM
Description:
hibernate:aggregate-mappings:
[echo] Aggregating multiple hibernate mapping into one single file
Adding base dir: C:\source\maven-plugins\hibernate\src\plugin-test\target\classes
Adding base dir: C:\source\maven-plugins\hibernate\src\plugin-test\src\etc
Aggregating to C:\source\maven-plugins\hibernate\src\plugin-test/target/schema/aggregated-mappings.hbm.xml
BUILD FAILED
File...... C:\Documents and Settings\Dion Gillard\.maven\cache\maven-plugin-plugin-1.5.2-SNAPSHOT\plugin.jelly
Element... maven:maven
Line...... 314
Column.... 34
Unable to obtain goal [test-hibernate-aggregate-mappings] -- C:\Documents and Settings\Dion Gillard\.maven\cache\maven-hibernate-plu
gin-1.2-SNAPSHOT\plugin.jelly:38:53: <h:aggregate-mappings> Mapping aggreagtion failed: hibernate.sourceforge.net Nested exception:
hibernate.sourceforge.net
Total time: 5 seconds
Finished at: Mon Jul 19 01:28:37 EST 2004
If I have a net connection, all is fine.
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Commented: (MPHIBERNATE-9) plugin:test fails without a network connection
Posted by ji...@codehaus.org.
The following comment has been added to this issue:
Author: David Eric Pugh
Created: Thu, 22 Jul 2004 3:39 AM
Body:
The test fails because the plugin attempts (I think) to validate the xml against the DTD.. I am somewhat inclined to not fix this, but instead try and make the test smarter, so it doesn't run when in offline mode. Did you run the test with the offline mode switch on? Or where you just running it not connected to the internet?
---------------------------------------------------------------------
View this comment:
http://jira.codehaus.org/browse/MPHIBERNATE-9?page=comments#action_22073
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/browse/MPHIBERNATE-9
Here is an overview of the issue:
---------------------------------------------------------------------
Key: MPHIBERNATE-9
Summary: plugin:test fails without a network connection
Type: Bug
Status: Unassigned
Priority: Minor
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: maven-hibernate-plugin
Assignee:
Reporter: dion gillard
Created: Sun, 18 Jul 2004 11:31 AM
Updated: Thu, 22 Jul 2004 3:39 AM
Description:
hibernate:aggregate-mappings:
[echo] Aggregating multiple hibernate mapping into one single file
Adding base dir: C:\source\maven-plugins\hibernate\src\plugin-test\target\classes
Adding base dir: C:\source\maven-plugins\hibernate\src\plugin-test\src\etc
Aggregating to C:\source\maven-plugins\hibernate\src\plugin-test/target/schema/aggregated-mappings.hbm.xml
BUILD FAILED
File...... C:\Documents and Settings\Dion Gillard\.maven\cache\maven-plugin-plugin-1.5.2-SNAPSHOT\plugin.jelly
Element... maven:maven
Line...... 314
Column.... 34
Unable to obtain goal [test-hibernate-aggregate-mappings] -- C:\Documents and Settings\Dion Gillard\.maven\cache\maven-hibernate-plu
gin-1.2-SNAPSHOT\plugin.jelly:38:53: <h:aggregate-mappings> Mapping aggreagtion failed: hibernate.sourceforge.net Nested exception:
hibernate.sourceforge.net
Total time: 5 seconds
Finished at: Mon Jul 19 01:28:37 EST 2004
If I have a net connection, all is fine.
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Commented: (MPHIBERNATE-9) plugin:test fails without a network connection
Posted by ji...@codehaus.org.
The following comment has been added to this issue:
Author: David Eric Pugh
Created: Fri, 23 Jul 2004 7:27 AM
Body:
Dion,
I took your advice and looked at the ear plugin.. Actually, found all the EntityResolver stuff in the j2ee plugin. At any rate, I added a HibernateEntityResolver etc... I think I configured everything, however I am still getting failures when not connected to the network. The HibernateEntityResolver is called, and everything looks good, but still trying to connect to hibernate.sourceforge.net.
Could you run the unit test "test-hibernate-aggregate-mappings" in plugin-test for Hibernate and give me your opinon..? I swear everything is configured properly in the MappingsAggregatorBean, but no joy!:
XMLWriter writer = new XMLWriter(new FileWriter(f), format);
writer.setEntityResolver(new HibernateEntityResolver());
//writer.setResolveEntityRefs(false);
Document finalDoc = DocumentHelper.createDocument();
Element rootHM = null;
for(int i = 0; i < files.length; i++)
{
SAXReader reader = new SAXReader(false);
reader.setEntityResolver(new HibernateEntityResolver());
---------------------------------------------------------------------
View this comment:
http://jira.codehaus.org/browse/MPHIBERNATE-9?page=comments#action_22176
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/browse/MPHIBERNATE-9
Here is an overview of the issue:
---------------------------------------------------------------------
Key: MPHIBERNATE-9
Summary: plugin:test fails without a network connection
Type: Bug
Status: Open
Priority: Minor
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: maven-hibernate-plugin
Fix Fors:
1.2
Assignee: David Eric Pugh
Reporter: dion gillard
Created: Sun, 18 Jul 2004 11:31 AM
Updated: Fri, 23 Jul 2004 7:27 AM
Description:
hibernate:aggregate-mappings:
[echo] Aggregating multiple hibernate mapping into one single file
Adding base dir: C:\source\maven-plugins\hibernate\src\plugin-test\target\classes
Adding base dir: C:\source\maven-plugins\hibernate\src\plugin-test\src\etc
Aggregating to C:\source\maven-plugins\hibernate\src\plugin-test/target/schema/aggregated-mappings.hbm.xml
BUILD FAILED
File...... C:\Documents and Settings\Dion Gillard\.maven\cache\maven-plugin-plugin-1.5.2-SNAPSHOT\plugin.jelly
Element... maven:maven
Line...... 314
Column.... 34
Unable to obtain goal [test-hibernate-aggregate-mappings] -- C:\Documents and Settings\Dion Gillard\.maven\cache\maven-hibernate-plu
gin-1.2-SNAPSHOT\plugin.jelly:38:53: <h:aggregate-mappings> Mapping aggreagtion failed: hibernate.sourceforge.net Nested exception:
hibernate.sourceforge.net
Total time: 5 seconds
Finished at: Mon Jul 19 01:28:37 EST 2004
If I have a net connection, all is fine.
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Closed: (MPHIBERNATE-9) plugin:test fails without a network connection
Posted by ji...@codehaus.org.
Message:
The following issue has been closed.
Resolver: David Eric Pugh
Date: Fri, 24 Sep 2004 8:09 AM
Fixed.. as long as you run with maven -o option.
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/browse/MPHIBERNATE-9
Here is an overview of the issue:
---------------------------------------------------------------------
Key: MPHIBERNATE-9
Summary: plugin:test fails without a network connection
Type: Bug
Status: Closed
Priority: Minor
Resolution: FIXED
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: maven-hibernate-plugin
Fix Fors:
1.3
Assignee: David Eric Pugh
Reporter: dion gillard
Created: Sun, 18 Jul 2004 11:31 AM
Updated: Fri, 24 Sep 2004 8:09 AM
Description:
hibernate:aggregate-mappings:
[echo] Aggregating multiple hibernate mapping into one single file
Adding base dir: C:\source\maven-plugins\hibernate\src\plugin-test\target\classes
Adding base dir: C:\source\maven-plugins\hibernate\src\plugin-test\src\etc
Aggregating to C:\source\maven-plugins\hibernate\src\plugin-test/target/schema/aggregated-mappings.hbm.xml
BUILD FAILED
File...... C:\Documents and Settings\Dion Gillard\.maven\cache\maven-plugin-plugin-1.5.2-SNAPSHOT\plugin.jelly
Element... maven:maven
Line...... 314
Column.... 34
Unable to obtain goal [test-hibernate-aggregate-mappings] -- C:\Documents and Settings\Dion Gillard\.maven\cache\maven-hibernate-plu
gin-1.2-SNAPSHOT\plugin.jelly:38:53: <h:aggregate-mappings> Mapping aggreagtion failed: hibernate.sourceforge.net Nested exception:
hibernate.sourceforge.net
Total time: 5 seconds
Finished at: Mon Jul 19 01:28:37 EST 2004
If I have a net connection, all is fine.
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Updated: (MPHIBERNATE-9) plugin:test fails without a network connection
Posted by ji...@codehaus.org.
The following issue has been updated:
Updater: David Eric Pugh (mailto:epugh@upstate.com)
Date: Fri, 23 Jul 2004 7:24 AM
Changes:
Fix Version changed to 1.2
---------------------------------------------------------------------
For a full history of the issue, see:
http://jira.codehaus.org/browse/MPHIBERNATE-9?page=history
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/browse/MPHIBERNATE-9
Here is an overview of the issue:
---------------------------------------------------------------------
Key: MPHIBERNATE-9
Summary: plugin:test fails without a network connection
Type: Bug
Status: Open
Priority: Minor
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: maven-hibernate-plugin
Fix Fors:
1.2
Assignee: David Eric Pugh
Reporter: dion gillard
Created: Sun, 18 Jul 2004 11:31 AM
Updated: Fri, 23 Jul 2004 7:24 AM
Description:
hibernate:aggregate-mappings:
[echo] Aggregating multiple hibernate mapping into one single file
Adding base dir: C:\source\maven-plugins\hibernate\src\plugin-test\target\classes
Adding base dir: C:\source\maven-plugins\hibernate\src\plugin-test\src\etc
Aggregating to C:\source\maven-plugins\hibernate\src\plugin-test/target/schema/aggregated-mappings.hbm.xml
BUILD FAILED
File...... C:\Documents and Settings\Dion Gillard\.maven\cache\maven-plugin-plugin-1.5.2-SNAPSHOT\plugin.jelly
Element... maven:maven
Line...... 314
Column.... 34
Unable to obtain goal [test-hibernate-aggregate-mappings] -- C:\Documents and Settings\Dion Gillard\.maven\cache\maven-hibernate-plu
gin-1.2-SNAPSHOT\plugin.jelly:38:53: <h:aggregate-mappings> Mapping aggreagtion failed: hibernate.sourceforge.net Nested exception:
hibernate.sourceforge.net
Total time: 5 seconds
Finished at: Mon Jul 19 01:28:37 EST 2004
If I have a net connection, all is fine.
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Commented: (MPHIBERNATE-9) plugin:test fails without a network connection
Posted by ji...@codehaus.org.
The following comment has been added to this issue:
Author: dion gillard
Created: Fri, 23 Jul 2004 12:15 AM
Body:
I only ran it not connected.
For the J2EE ones, we use a custom entity resolver....Check out the ear plugin for an example
---------------------------------------------------------------------
View this comment:
http://jira.codehaus.org/browse/MPHIBERNATE-9?page=comments#action_22132
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/browse/MPHIBERNATE-9
Here is an overview of the issue:
---------------------------------------------------------------------
Key: MPHIBERNATE-9
Summary: plugin:test fails without a network connection
Type: Bug
Status: Open
Priority: Minor
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: maven-hibernate-plugin
Assignee: David Eric Pugh
Reporter: dion gillard
Created: Sun, 18 Jul 2004 11:31 AM
Updated: Fri, 23 Jul 2004 12:15 AM
Description:
hibernate:aggregate-mappings:
[echo] Aggregating multiple hibernate mapping into one single file
Adding base dir: C:\source\maven-plugins\hibernate\src\plugin-test\target\classes
Adding base dir: C:\source\maven-plugins\hibernate\src\plugin-test\src\etc
Aggregating to C:\source\maven-plugins\hibernate\src\plugin-test/target/schema/aggregated-mappings.hbm.xml
BUILD FAILED
File...... C:\Documents and Settings\Dion Gillard\.maven\cache\maven-plugin-plugin-1.5.2-SNAPSHOT\plugin.jelly
Element... maven:maven
Line...... 314
Column.... 34
Unable to obtain goal [test-hibernate-aggregate-mappings] -- C:\Documents and Settings\Dion Gillard\.maven\cache\maven-hibernate-plu
gin-1.2-SNAPSHOT\plugin.jelly:38:53: <h:aggregate-mappings> Mapping aggreagtion failed: hibernate.sourceforge.net Nested exception:
hibernate.sourceforge.net
Total time: 5 seconds
Finished at: Mon Jul 19 01:28:37 EST 2004
If I have a net connection, all is fine.
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org