[Design of JBoss Build System] - Re: Cannot release javaee project
by pgier
"scott.stark(a)jboss.org" wrote : I'm past release:prepare, but release:perform fails with:
|
|
| |
| |
| | Reason: Could not find the model file '/home/svn/JBossHead/projects/javaee/trunk/build/target/jboss-ejb-api/pom.xml'. for project unknown
| |
| |
| | [INFO] ------------------------------------------------------------------------
| | [INFO] Trace
| | org.apache.maven.reactor.MavenExecutionException: Could not find the model file '/home/svn/JBossHead/projects/javaee/trunk/build/target/jboss-ejb-api/pom.xml'. for project unknown
| | at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:378)
| | at
| |
|
| seems like the bin.xml relative paths are not being resolved correctly.
|
I'll have to look into this a bit more, but I think it is because of the current structure of having the parent pom in the build subdirectory. We might need to separate the parent from the aggregator, similar to how microcontainer is set up.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081856#4081856
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081856
17 years, 1 month
[Design of JBoss Build System] - Re: Cannot release javaee project
by scott.stark@jboss.org
I'm past release:prepare, but release:perform fails with:
| [starksm@succubus build]$ mvn release:perform
| [INFO] Scanning for projects...
| [INFO] Reactor build order:
| [INFO] JBoss JavaEE 5.0 Build
| [INFO] JBoss Transaction 1.0.1 API
| [INFO] JBoss EJB 3.0 API
| [INFO] JBoss Java Servlet 2.5 API
| [INFO] JBoss JACC 1.1 API
| [INFO] JBoss JavaEE Application Deployment 1.2 API
| [INFO] JBoss Java API for XML Registries 1.0
| [INFO] JBoss Streaming API for XML 1.0
| [INFO] JBoss J2EE Connector Architecture 1.5 API
| [INFO] JBoss JMS 1.1 API
| [INFO] JBoss Persistence 3.0 API
| [INFO] JBoss Java Authentication SPI for Containers 1.0-PR API
| [INFO] Searching repository for plugin with prefix: 'release'.
| WAGON_VERSION: 1.0-beta-2
| [INFO] ----------------------------------------------------------------------------
| [INFO] Building JBoss JavaEE 5.0 Build
| [INFO] task-segment: [release:perform] (aggregator-style)
| [INFO] ----------------------------------------------------------------------------
| [INFO] [release:perform]
| [INFO] Checking out the project to perform the release ...
| [INFO] Executing: svn --non-interactive checkout https://svn.jboss.org/repos/jbossas/projects/javaee/tags/5.0.0.Beta1 checkout
| [INFO] Working directory: /home/svn/JBossHead/projects/javaee/trunk/build/target
| [INFO] Executing goals 'deploy'...
| [INFO] Executing: mvn deploy --no-plugin-updates -P local-properties -DperformRelease=true
| [INFO] Scanning for projects...
| [INFO] ------------------------------------------------------------------------
| [ERROR] FATAL ERROR
| [INFO] ------------------------------------------------------------------------
| [INFO] Error building POM (may not be this project's POM).
|
|
| Project ID: unknown
|
| Reason: Could not find the model file '/home/svn/JBossHead/projects/javaee/trunk/build/target/jboss-ejb-api/pom.xml'. for project unknown
|
|
| [INFO] ------------------------------------------------------------------------
| [INFO] Trace
| org.apache.maven.reactor.MavenExecutionException: Could not find the model file '/home/svn/JBossHead/projects/javaee/trunk/build/target/jboss-ejb-api/pom.xml'. for project unknown
| at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:378)
| at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:290)
| at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
| at org.apache.maven.cli.MavenCli.main(MavenCli.java:280)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
| at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
| at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
| at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
| Caused by: org.apache.maven.project.ProjectBuildingException: Could not find the model file '/home/svn/JBossHead/projects/javaee/trunk/build/target/jboss-ejb-api/pom.xml'. for project unknown
| at org.apache.maven.project.DefaultMavenProjectBuilder.readModel(DefaultMavenProjectBuilder.java:1383)
| at org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFileInternal(DefaultMavenProjectBuilder.java:477)
| at org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenProjectBuilder.java:200)
| at org.apache.maven.DefaultMaven.getProject(DefaultMaven.java:553)
| at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:467) at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:527) at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:364)
| ... 11 more
| Caused by: java.io.FileNotFoundException: /home/svn/JBossHead/projects/javaee/trunk/build/target/jboss-ejb-api/pom.xml (No such file or directory)
| at java.io.FileInputStream.open(Native Method)
| at java.io.FileInputStream.<init>(FileInputStream.java:106)
| at java.io.FileReader.<init>(FileReader.java:55)
| at org.apache.maven.project.DefaultMavenProjectBuilder.readModel(DefaultMavenProjectBuilder.java:1378)
| ... 17 more
| [INFO] ------------------------------------------------------------------------
| [INFO] Total time: < 1 second
| [INFO] Finished at: Thu Sep 06 13:11:13 PDT 2007
| [INFO] Final Memory: 2M/74M
| [INFO] ------------------------------------------------------------------------
| [INFO] ------------------------------------------------------------------------
| [ERROR] BUILD ERROR
| [INFO] ------------------------------------------------------------------------
| [INFO] Maven execution failed, exit code: '1'
|
| [INFO] ------------------------------------------------------------------------
| [INFO] For more information, run Maven with the -e switch
| [INFO] ------------------------------------------------------------------------
| [INFO] Total time: 9 seconds
| [INFO] Finished at: Thu Sep 06 13:11:13 PDT 2007
| [INFO] Final Memory: 15M/293M
| [INFO] ------------------------------------------------------------------------
|
seems like the bin.xml relative paths are not being resolved correctly.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081843#4081843
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081843
17 years, 1 month