---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email
Which dependencies fail for you? What Maven command do you use to build
Mule?
http://www.mulesource.org/display/MULECDEV/Building+from+Source
-dirk
What path would you like to change? Perhaps there's a way to do it without
having to modify the source code ...
A
Antoine Borg, Senior Consultant | Tel: +32 28 504 696
ricston Ltd., BP 2, 1180 Uccle, Brussels, BELGIUM
email: antoin...@ricston.com | blog: blog.ricston.com | web: ricston.com
--
View this message in context: http://www.nabble.com/Building-from-source---email-transport-tp19566638p19569351.html
Sent from the Mule - User mailing list archive at Nabble.com.
antoine.borg wrote:
>
> Hi,
>
> What path would you like to change? Perhaps there's a way to do it without
> having to modify the source code ...
>
> A
>
>
> Antoine Borg, Senior Consultant | Tel: +32 28 504 696
> ricston Ltd., BP 2, 1180 Uccle, Brussels, BELGIUM
> email: antoin...@ricston.com | blog: blog.ricston.com | web:
> ricston.com
>
> -----Original Message-----
> From: petr.jurak [mailto:petr....@gmail.com]
> Sent: Friday, September 19, 2008 7:56 AM
> To: us...@mule.codehaus.org
> Subject: [mule-user] Building from source - email transport
>
>
--
View this message in context: http://www.nabble.com/Building-from-source---email-transport-tp19566638p19570775.html
[INFO] Storing buildNumber: 12701 at timestamp: 2008-IX-19 21:14:52
[INFO] [site:attach-descriptor]
[INFO] [install:install]
[INFO] Installing /home/storm/Projekty/Mule/mule-2.x/pom.xml to
/home/storm/.m2/repository/org/mule/mule/2.1.0-M3-SNAPSHOT/mule-2.1.0-M3-SNAPSHOT.pom
[INFO]
------------------------------------------------------------------------
[INFO] Building Mule Build Tools
[INFO] task-segment: [install]
[INFO]
------------------------------------------------------------------------
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] The plugin 'org.apache.maven.plugins:maven-resources-plugin' does not
exist or no valid version could be found
[INFO]
------------------------------------------------------------------------
All log is in the attachement.
Any ideas? Thanks.
http://www.nabble.com/file/p19577849/mavenMule.log mavenMule.log
http://www.nabble.com/file/p19577849/mavenMuleError.log mavenMuleError.log
--
View this message in context: http://www.nabble.com/Building-from-source---email-transport-tp19566638p19577849.html
Sent from the Mule - User mailing list archive at Nabble.com.
In your previous mail you mention that Maven might not have access to
the internet and this error message supports that assumption.
See http://maven.apache.org/guides/mini/guide-proxies.html on how to
configure a proxy.
Err, nonsense, ignore the above. I should have read your log files
*before* actually replying :-(
I just tried to remvoe just the maven-resources-plugin from my local
repository and was able to build just fine. Andrew's comment suggests
that this was an intermittent failure only you saw ... does your build
still fail?
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).
Project ID: org.apache.ant:ant-nodeps:jar:1.7.0
Reason: Cannot find parent: org.apache.ant:ant-parent for project:
org.apache.ant:ant-nodeps:jar:1.7.0 for project
org.apache.ant:ant-nodeps:jar:1.7.0
Can you give me any hint please? Thanks.
Petr
P.S. I checked out from branch mule-2.x.
--
View this message in context: http://www.nabble.com/Building-from-source---email-transport-tp19566638p20658090.html
Sent from the Mule - User mailing list archive at Nabble.com.
[INFO] [dependency:tree]
[INFO] org.mule.transports:mule-transport-email:bundle:2.2.0-SNAPSHOT
[INFO] +- javax.mail:mail.osgi:jar:1.4:compile
[INFO] +- com.icegreen:greenmail:jar:1.3:test
[INFO] | \- javax.mail:mail:jar:1.4:test
[INFO] | \- javax.activation:activation:jar:1.1:test
[INFO] +- org.mule.transports:mule-transport-vm:jar:2.2.0-SNAPSHOT:test
[INFO] | \- org.mule.modules:mule-module-xml:jar:2.2.0-SNAPSHOT:test
[INFO] | +- dom4j:dom4j.osgi:jar:1.6.1:test
[INFO] | +- commons-jxpath:commons-jxpath.osgi:jar:1.2:test
[INFO] | +- com.thoughtworks.xstream:xstream.osgi:jar:1.2.2:test
[INFO] | +- xpp3:xpp3_min.osgi:jar:1.1.3.4.O:test
[INFO] | +-
org.apache.geronimo.specs:geronimo-stax-api_1.0_spec:jar:1.0.1:test
[INFO] | +- org.codehaus.woodstox:wstx-asl.osgi:jar:3.2.6:test
[INFO] | +- jaxen:jaxen.osgi:jar:1.1.1:test
[INFO] | +- net.java.dev.stax-utils:stax-utils.osgi:jar:20080702:test
[INFO] | \- net.sf.saxon:saxon-all.osgi:jar:8.9.0.4:test
[INFO] +- org.mule:mule-core:jar:2.2.0-SNAPSHOT:compile
[INFO] | +- commons-beanutils:commons-beanutils.osgi:jar:1.7.0:compile
[INFO] | +- org.safehaus.jug:jug.osgi:jar:2.0.0:compile
[INFO] | +-
backport-util-concurrent:backport-util-concurrent.osgi:jar:3.1:compile
[INFO] | +- commons-cli:commons-cli.osgi:jar:1.0:compile
[INFO] | +- commons-collections:commons-collections.osgi:jar:3.2:compile
[INFO] | +- commons-io:commons-io.osgi:jar:1.3.1:compile
[INFO] | +- commons-lang:commons-lang.osgi:jar:2.4:compile
[INFO] | +- commons-pool:commons-pool:jar:1.4:compile
[INFO] | +- javax.activation:activation.osgi:jar:1.1:compile
[INFO] | +-
org.apache.geronimo.specs:geronimo-jta_1.0.1B_spec.osgi:jar:1.1:compile
[INFO] | \-
org.apache.geronimo.specs:geronimo-j2ee-connector_1.5_spec.osgi:jar:1.1:compile
[INFO] +-
org.mule.modules:mule-module-spring-config:jar:2.2.0-SNAPSHOT:compile
[INFO] +- org.springframework:spring-context:jar:2.5.6:compile
[INFO] | +- org.springframework:spring-beans:jar:2.5.6:compile
[INFO] | \- org.springframework:spring-core:jar:2.5.6:compile
[INFO] +- org.mule.tests:mule-tests-functional:jar:2.2.0-SNAPSHOT:test
[INFO] | \- org.mule:mule-core:test-jar:tests:2.2.0-SNAPSHOT:test
[INFO] +- org.mule.modules:mule-module-client:jar:2.2.0-SNAPSHOT:test
[INFO] +- org.slf4j:jcl104-over-slf4j:jar:1.5.0:provided
[INFO] +- org.slf4j:slf4j-api:jar:1.5.0:provided
[INFO] +- org.slf4j:slf4j-log4j12:jar:1.5.0:provided
[INFO] +- log4j:log4j:jar:1.2.14:provided
[INFO] +- junit:junit:jar:3.8.2:test
[INFO] \- mockobjects:mockobjects-core:jar:0.09:test
--
View this message in context: http://www.nabble.com/Building-from-source---email-transport-tp19566638p20676695.html
Andrew Perepelytsya wrote:
>
> There is no ant dependency listed, are you sure it's failing here?
>
> Andrew
>
>
--
View this message in context: http://www.nabble.com/Building-from-source---email-transport-tp19566638p20688620.html
Petr, can you build once from the toplevel checkout directory to see if
that resolves your issue?
-dirk
--
View this message in context: http://www.nabble.com/Building-from-source---email-transport-tp19566638p20707721.html
Sent from the Mule - User mailing list archive at Nabble.com.
Just run "mvn -DskipTests clean install" once from the toplevel
directory so you have everything you need in your local repository.
After that, it should be safe to change to the email transport and run
tests from there.
So what step do you suggest? Thanks.
Petr
--
View this message in context: http://www.nabble.com/Building-from-source---email-transport-tp19566638p20725926.html
Sent from the Mule - User mailing list archive at Nabble.com.
This smells like you forgot to endorse your JDK:
http://www.mulesource.org/display/MULECDEV/Setting+Up+the+Development+Environment
(Step 4)
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).
Project ID: org.apache.ant:ant-nodeps:jar:1.7.0
Reason: Cannot find parent: org.apache.ant:ant-parent for project:
org.apache.ant:ant-nodeps:jar:1.7.0 for project
org.apache.ant:ant-nodeps:jar:1.7.0
[INFO]
------------------------------------------------------------------------
[DEBUG] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Unable to get
dependency information: Unable to read the metadata file for artifact
'org.apache.ant:ant-nodeps:jar': Cannot find parent:
org.apache.ant:ant-parent for project: org.apache.ant:ant-nodeps:jar:1.7.0
for project org.apache.ant:ant-nodeps:jar:1.7.0
org.apache.ant:ant-nodeps:jar:1.7.0
from the specified remote repositories:
codehaus (http://repository.codehaus.org),
codehaus-snapshots (http://snapshots.repository.codehaus.org),
apache-m2-incubator
(http://people.apache.org/repo/m2-incubating-repository),
jboss (http://repository.jboss.com/maven2),
apache.incubating.releases
(http://people.apache.org/repo/m2-incubating-repository),
codehaus.org (http://repository.codehaus.org),
central (http://repo1.maven.org/maven2),
apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository),
apache-snapshots (http://people.apache.org/maven-snapshot-repository),
ops4j (http://repository.ops4j.org/maven2),
mule-plugins-deps (http://dist.codehaus.org/mule/dependencies/maven2),
snapshots (http://snapshots.repository.codehaus.org),
mule-deps (http://dist.codehaus.org/mule/dependencies/maven2),
apache-plugin-snapshots
(http://people.apache.org/maven-snapshot-repository)
Path to dependency:
1) org.codehaus.mojo:native2ascii-maven-plugin:maven-plugin:1.0-alpha-1
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:575)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
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.artifact.resolver.ArtifactResolutionException:
Unable to get dependency information: Unable to read the metadata file for
artifact 'org.apache.ant:ant-nodeps:jar': Cannot find parent:
org.apache.ant:ant-parent for project: org.apache.ant:ant-nodeps:jar:1.7.0
for project org.apache.ant:ant-nodeps:jar:1.7.0
org.apache.ant:ant-nodeps:jar:1.7.0
from the specified remote repositories:
codehaus (http://repository.codehaus.org),
codehaus-snapshots (http://snapshots.repository.codehaus.org),
apache-m2-incubator
(http://people.apache.org/repo/m2-incubating-repository),
jboss (http://repository.jboss.com/maven2),
apache.incubating.releases
(http://people.apache.org/repo/m2-incubating-repository),
codehaus.org (http://repository.codehaus.org),
central (http://repo1.maven.org/maven2),
apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository),
apache-snapshots (http://people.apache.org/maven-snapshot-repository),
ops4j (http://repository.ops4j.org/maven2),
mule-plugins-deps (http://dist.codehaus.org/mule/dependencies/maven2),
snapshots (http://snapshots.repository.codehaus.org),
mule-deps (http://dist.codehaus.org/mule/dependencies/maven2),
apache-plugin-snapshots
(http://people.apache.org/maven-snapshot-repository)
Path to dependency:
1) org.codehaus.mojo:native2ascii-maven-plugin:maven-plugin:1.0-alpha-1
at
org.apache.maven.artifact.resolver.DefaultArtifactCollector.recurse(DefaultArtifactCollector.java:403)
at
org.apache.maven.artifact.resolver.DefaultArtifactCollector.collect(DefaultArtifactCollector.java:76)
at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:300)
at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:288)
at
org.apache.maven.plugin.DefaultPluginManager.ensurePluginContainerIsComplete(DefaultPluginManager.java:770)
at
org.apache.maven.plugin.DefaultPluginManager.getConfiguredMojo(DefaultPluginManager.java:604)
at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:429)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558)
... 16 more
Caused by:
org.apache.maven.artifact.metadata.ArtifactMetadataRetrievalException:
Unable to read the metadata file for artifact
'org.apache.ant:ant-nodeps:jar': Cannot find parent:
org.apache.ant:ant-parent for project: org.apache.ant:ant-nodeps:jar:1.7.0
for project org.apache.ant:ant-nodeps:jar:1.7.0
at
org.apache.maven.project.artifact.MavenMetadataSource.retrieve(MavenMetadataSource.java:135)
at
org.apache.maven.artifact.resolver.DefaultArtifactCollector.recurse(DefaultArtifactCollector.java:380)
... 23 more
Caused by: org.apache.maven.project.ProjectBuildingException: Cannot find
parent: org.apache.ant:ant-parent for project:
org.apache.ant:ant-nodeps:jar:1.7.0 for project
org.apache.ant:ant-nodeps:jar:1.7.0
at
org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1370)
at
org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(DefaultMavenProjectBuilder.java:821)
at
org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository(DefaultMavenProjectBuilder.java:253)
at
org.apache.maven.project.artifact.MavenMetadataSource.retrieve(MavenMetadataSource.java:106)
... 24 more
Caused by: org.apache.maven.project.InvalidProjectModelException: Not a
v4.0.0 POM. for project org.apache.ant:ant-parent at
/home/storm/.m2/repository/org/apache/ant/ant-parent/1.7.0/ant-parent-1.7.0.pom
at
org.apache.maven.project.DefaultMavenProjectBuilder.readModel(DefaultMavenProjectBuilder.java:1581)
at
org.apache.maven.project.DefaultMavenProjectBuilder.readModel(DefaultMavenProjectBuilder.java:1553)
at
org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:560)
at
org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1366)
... 27 more
[INFO]
------------------------------------------------------------------------
Can you please check out Mule from repository
http://svn.codehaus.org/mule/branches/mule-2.x/
http://svn.codehaus.org/mule/branches/mule-2.x/ and run maven on it?
Petr
--
View this message in context: http://www.nabble.com/Building-from-source---email-transport-tp19566638p20733163.html
Sent from the Mule - User mailing list archive at Nabble.com.
Looks like your local repo pom for ant is corrupted. Try deleting the org/apache/ant subfolder in m2 repo and run again.
Andrew
On Nov 28, 2008 6:53 AM, "petr.jurak" <petr....@gmail.com> wrote:
Great, thank you Dirk.
But build also failed. Same error as in some thread before. I ran mvn with
debug option (another options I left the same). Maybe there is a problem
with email transport subproject. Here is the list:
[INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR...
[INFO] Error building POM (may not be this project's POM). Project ID: org.apache.ant:ant-nodeps:j...
[INFO]
------------------------------------------------------------------------
[DEBUG] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Unable to get
dependency information: Unable to read the metadata file for artifact
'org.apache.ant:ant-nodeps:jar': Cannot find parent:
org.apache.ant:ant-parent for project: org.apache.ant:ant-nodeps:jar:1.7.0 for project org.apache.an...
org.apache.ant:ant-parent for project: org.apache.ant:ant-nodeps:jar:1.7.0 for project org.apache.an...
org.apache.ant:ant-parent for project: org.apache.ant:ant-nodeps:jar:1.7.0 for project org.apache.an...
at
org.apache.maven.project.artifact.MavenMetadataSource.retrieve(MavenMetadataSource.java:135)
at
org.apache.maven.artifact.resolver.DefaultArtifactCollector.recurse(DefaultArtifactCollector.java:380)
... 23 more
Caused by: org.apache.maven.project.ProjectBuildingException: Cannot find
parent: org.apache.ant:ant-parent for project: org.apache.ant:ant-nodeps:jar:1.7.0 for project org.a...
> petr.jurak wrote: >> Okay, I've deleted everything. Checked out branch mule-2.x again, and ran >> ...
--
View this message in context: http://www.nabble.com/Building-from-source---email-transport-tp19566638p20733163.html
Sent from the Mule - User mailing list archive at Nabble.com. ------------------------------------...
Petr
--
View this message in context: http://www.nabble.com/Building-from-source---email-transport-tp19566638p20750941.html
Sent from the Mule - User mailing list archive at Nabble.com.
---------------------------------------------------------------------