[mule-user] Building from source - email transport

3 views
Skip to first unread message

petr.jurak

unread,
Sep 19, 2008, 1:55:58 AM9/19/08
to us...@mule.codehaus.org

Hi,
is it possible to check out only the email transport and not entire mule?
And after that use maven with included pom file?
Maybe I'm asking bad, but I don't have any experience with maven or building
mule from source.
I checked out entire mule, but maven fails to download all dependencies, so
I tried to resolve them manually but without success.
I want to make diff path for email transport.
Any hint wil be appreciated. Thanks.
--
View this message in context: http://www.nabble.com/Building-from-source---email-transport-tp19566638p19566638.html
Sent from the Mule - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email


Dirk Olmes

unread,
Sep 19, 2008, 4:38:36 AM9/19/08
to us...@mule.codehaus.org
petr.jurak wrote:
> Hi,
> is it possible to check out only the email transport and not entire mule?
> And after that use maven with included pom file?
> Maybe I'm asking bad, but I don't have any experience with maven or building
> mule from source.
> I checked out entire mule, but maven fails to download all dependencies, so
> I tried to resolve them manually but without success.

Which dependencies fail for you? What Maven command do you use to build
Mule?

http://www.mulesource.org/display/MULECDEV/Building+from+Source

-dirk

Antoine Borg

unread,
Sep 19, 2008, 5:35:35 AM9/19/08
to us...@mule.codehaus.org
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

petr.jurak

unread,
Sep 19, 2008, 5:46:28 AM9/19/08
to us...@mule.codehaus.org

I used manual from your link and stopped at point 3.
But I replaced repo from mule-2.0.x to mule-2.x (as you said).
Downloading the source code was not a problem. But Maven failed (some
library has invalid checksum - I will send to you later, because I cannot
connect from work because of proxy server :-().
Maven I ran this way mvn -DskipTests install.

--
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.

petr.jurak

unread,
Sep 19, 2008, 6:50:57 AM9/19/08
to us...@mule.codehaus.org

petr.jurak

unread,
Sep 19, 2008, 7:37:38 AM9/19/08
to us...@mule.codehaus.org

Hi, I meant patch not path, sorry my fault.
P.


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

petr.jurak

unread,
Sep 19, 2008, 3:24:12 PM9/19/08
to us...@mule.codehaus.org

Ok, I tried it again. Now checksum error disappeared, but new raises. After
download dependencies I get this:

[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.

Andrew Perepelytsya

unread,
Sep 19, 2008, 3:46:58 PM9/19/08
to us...@mule.codehaus.org
It's odd, but I tried to see where it went... Surprise - org/apache/maven dir is gone from the central repo? wtf? the only closest thing was the 2.3-SNAPSHOT version in plugin snapshots repo (we have it declared in Mule).

Now, where to switch the plugin version to 2.3-SNAPSHOT? The only mention I found was in osgi-libs/sxc, try there...

Anyway, I hope it's temporary, but apache folks have messed up their repos before, let's give them some time maybe...

HTH,
Andrew

Dirk Olmes

unread,
Sep 22, 2008, 6:04:46 AM9/22/08
to us...@mule.codehaus.org
petr.jurak wrote:
> Ok, I tried it again. Now checksum error disappeared, but new raises. After
> download dependencies I get this:
>
> [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]
> ------------------------------------------------------------------------

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.

Dirk Olmes

unread,
Sep 22, 2008, 8:33:11 AM9/22/08
to us...@mule.codehaus.org

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?

petr.jurak

unread,
Nov 24, 2008, 5:18:39 AM11/24/08
to us...@mule.codehaus.org

Hi Dirk,
I have finished an integration of outimap. I'd like to create some tests
before I submit the patch, but I cannot run successfuly command "mvn test"
on email transport. Maybe it's a silly question, but I'm not so familiar
with maven.
Here is the error:

[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.

Andrew Perepelytsya

unread,
Nov 24, 2008, 11:17:47 AM11/24/08
to us...@mule.codehaus.org
Could you please run mvn dependency:tree to see where this ant dependency is coming from? I don't remember Mule having it.

Andrew

petr.jurak

unread,
Nov 25, 2008, 3:09:02 AM11/25/08
to us...@mule.codehaus.org

Here is the result (hope this help):

[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

unread,
Nov 25, 2008, 9:50:23 AM11/25/08
to us...@mule.codehaus.org
There is no ant dependency listed, are you sure it's failing here?

Andrew

petr.jurak

unread,
Nov 25, 2008, 3:04:12 PM11/25/08
to us...@mule.codehaus.org

Well, it is weird, but I stopped at this point. I have to say, that I ran mvn
command from subdirectory email within the transport modules (there is
located pom.xml). Is this correct? BTW I'm using maven2, jdk 1.5.0_16 under
Ubuntu Linux distribution.
Petr


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

Dirk Olmes

unread,
Nov 26, 2008, 10:33:13 AM11/26/08
to us...@mule.codehaus.org
petr.jurak wrote:
> Well, it is weird, but I stopped at this point. I have to say, that I ran mvn
> command from subdirectory email within the transport modules (there is
> located pom.xml). Is this correct? BTW I'm using maven2, jdk 1.5.0_16 under
> Ubuntu Linux distribution.

Petr, can you build once from the toplevel checkout directory to see if
that resolves your issue?

-dirk

petr.jurak

unread,
Nov 26, 2008, 2:41:45 PM11/26/08
to us...@mule.codehaus.org

I want to run test on email transport, for which I made some extension. So
you mean to run mvn test on entire mule distribution not only on email
transport? Do I understand that well? Btw I checked out branch mule-2.x.

--
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.

Dirk Olmes

unread,
Nov 26, 2008, 11:58:49 PM11/26/08
to us...@mule.codehaus.org
petr.jurak wrote:
> I want to run test on email transport, for which I made some extension. So
> you mean to run mvn test on entire mule distribution not only on email
> transport? Do I understand that well? Btw I checked out branch mule-2.x.

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.

petr.jurak

unread,
Nov 27, 2008, 4:37:04 PM11/27/08
to us...@mule.codehaus.org

Okay, I've deleted everything. Checked out branch mule-2.x again, and ran mvn
command exactly as you said.
But got an error :( :
[INFO]
------------------------------------------------------------------------
[INFO] Building SOAP Transport: CXF
[INFO] task-segment: [clean, install]
[INFO]
------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] [cobertura:clean {execution: clean}]
[INFO] [enforcer:enforce {execution: enforce-maven-version}]
[INFO] [buildnumber:create {execution: default}]
[INFO] Checking for local modifications: skipped.
[INFO] Updating project files from SCM: skipped.
[INFO] Storing buildNumber: 13437 at timestamp: 2008-XI-27 22:28:35
[INFO] [build-helper:add-test-source {execution: default}]
[INFO] Test Source directory:
/home/storm/Projekty/Mule/mule-2.x/transports/cxf/target/generated/src/test/java
added.
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Compiling 32 source files to
/home/storm/Projekty/Mule/mule-2.x/transports/cxf/target/classes
[INFO] [cxf-codegen:wsdl2java {execution: generate-test-sources}]
[INFO]
------------------------------------------------------------------------

[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Provider org.apache.xalan.processor.TransformerFactoryImpl not found

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.

Dirk Olmes

unread,
Nov 28, 2008, 4:02:39 AM11/28/08
to us...@mule.codehaus.org

This smells like you forgot to endorse your JDK:
http://www.mulesource.org/display/MULECDEV/Setting+Up+the+Development+Environment
(Step 4)

petr.jurak

unread,
Nov 28, 2008, 6:53:06 AM11/28/08
to us...@mule.codehaus.org

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]
------------------------------------------------------------------------

[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.

Andrew Perepelytsya

unread,
Nov 28, 2008, 10:25:14 AM11/28/08
to us...@mule.codehaus.org

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 >> ...

Sent from the Mule - User mailing list archive at Nabble.com. ------------------------------------...

petr.jurak

unread,
Nov 29, 2008, 3:12:58 PM11/29/08
to us...@mule.codehaus.org

Andrew, thanks a lot. After deleting ant from the local maven repo, it is
working now.
So now I'm able to create and run tests.

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.


---------------------------------------------------------------------

Reply all
Reply to author
Forward
0 new messages