[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [m2e-dev] How to build m2e source code
|
Hi
Really thanks for your response. And now I am using maven(by
command line in Windows) to build the m2e project and find several errors
during building.
Please see the attachment. Thanks.
Best regards,
Daniel
From:
m2e-dev-bounces@xxxxxxxxxxx [mailto:m2e-dev-bounces@xxxxxxxxxxx] On Behalf
Of Warren, Paul
Sent: Sunday, April 07, 2013 4:10 PM
To: Maven Integration for Eclipse developers mailing list
Subject: Re: [m2e-dev] How to build m2e source code
It’s Tycho built I believe Daniel. Check the plug-in as
they should have pom.xml’s. One of them will be a master POM; i.e. it will have
a <modules> section and drive the whole build. Invoke one of the
mvn build commands on that pom.
I think that is the way it works.
_Paul
From:
m2e-dev-bounces@xxxxxxxxxxx [mailto:m2e-dev-bounces@xxxxxxxxxxx] On Behalf
Of Fred Bricon
Sent: 07 April 2013 09:00
To: Maven Integration for Eclipse developers mailing list
Subject: Re: [m2e-dev] How to build m2e source code
On Sun, Apr 7, 2013 at 5:10 AM, Qien Lin <qienlin@xxxxxxxxxxxxxxxx>
wrote:
Hi
m2e team,
I
am interested in m2e and want to read the source code in Eclipse. Now I’d like
to build m2e source code to m2e plugin(jar), but I don’t how to build it
and found no related reference to it. Could you please figure it out for me ?
Best
regards,
Daniel
_______________________________________________
m2e-dev mailing list
m2e-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/m2e-dev
--
"Have you tried turning it off and on again" - The IT Crowd
|
org/eclipse/m2e/org.eclipse.m2e.maven.runtime/1.3.1-SNAPSHOT/maven-metadata.xml
Downloading: http://repository.sonatype.org/content/groups/sonatype-public-grid/
org/eclipse/m2e/org.eclipse.m2e.maven.runtime/1.3.1-SNAPSHOT/org.eclipse.m2e.mav
en.runtime-1.3.1-SNAPSHOT.pom
[WARNING] Missing POM for org.eclipse.m2e:org.eclipse.m2e.maven.runtime:jar:1.3.
1-SNAPSHOT
Downloading: http://repository.sonatype.org/content/groups/sonatype-public-grid/
org/eclipse/m2e/org.jboss.netty/1.3.1-SNAPSHOT/maven-metadata.xml
Downloading: http://repository.sonatype.org/content/groups/sonatype-public-grid/
org/eclipse/m2e/org.jboss.netty/1.3.1-SNAPSHOT/org.jboss.netty-1.3.1-SNAPSHOT.po
m
[WARNING] Missing POM for org.eclipse.m2e:org.jboss.netty:jar:1.3.1-SNAPSHOT
Downloading: http://repository.sonatype.org/content/groups/sonatype-public-grid/
org/eclipse/m2e/org.eclipse.m2e.archetype.common/1.3.1-SNAPSHOT/org.eclipse.m2e.
archetype.common-1.3.1-SNAPSHOT.jar
Downloading: http://repository.sonatype.org/content/groups/sonatype-public-grid/
org/eclipse/m2e/com.ning.async-http-client/1.3.1-SNAPSHOT/com.ning.async-http-cl
ient-1.3.1-SNAPSHOT.jar
Downloading: http://repository.sonatype.org/content/groups/sonatype-public-grid/
org/eclipse/m2e/org.eclipse.m2e.maven.indexer/1.3.1-SNAPSHOT/org.eclipse.m2e.mav
en.indexer-1.3.1-SNAPSHOT.jar
Downloading: http://repository.sonatype.org/content/groups/sonatype-public-grid/
org/eclipse/m2e/org.eclipse.m2e.maven.runtime/1.3.1-SNAPSHOT/org.eclipse.m2e.mav
en.runtime-1.3.1-SNAPSHOT.jar
Downloading: http://repository.sonatype.org/content/groups/sonatype-public-grid/
org/eclipse/m2e/org.jboss.netty/1.3.1-SNAPSHOT/org.jboss.netty-1.3.1-SNAPSHOT.ja
r
[ERROR] Internal error: java.lang.RuntimeException: Could not resolve project de
pendencies: Missing:
[ERROR] ----------
[ERROR] 1) org.eclipse.m2e:com.ning.async-http-client:jar:1.3.1-SNAPSHOT
[ERROR]
[ERROR] Try downloading the file manually from the project website.
[ERROR]
[ERROR] Then, install it using the command:
[ERROR] mvn install:install-file -DgroupId=org.eclipse.m2e -DartifactId=com.ning
.async-http-client -Dversion=1.3.1-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
[ERROR]
[ERROR] Alternatively, if you host your own repository you can deploy the file t
here:
[ERROR] mvn deploy:deploy-file -DgroupId=org.eclipse.m2e -DartifactId=com.ning.a
sync-http-client -Dversion=1.3.1-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -
Durl=[url] -DrepositoryId=[id]
[ERROR]
[ERROR] Path to dependency:
[ERROR] 1) org.eclipse.m2e:org.eclipse.m2e.model.edit:pom:1.3.1-SNAPSHOT
[ERROR] 2) org.eclipse.m2e:com.ning.async-http-client:jar:1.3.1-SNAPSHOT
[ERROR]
[ERROR] 2) org.eclipse.m2e:org.eclipse.m2e.maven.runtime:jar:1.3.1-SNAPSHOT
[ERROR]
[ERROR] Try downloading the file manually from the project website.
[ERROR]
[ERROR] Then, install it using the command:
[ERROR] mvn install:install-file -DgroupId=org.eclipse.m2e -DartifactId=org.ecli
pse.m2e.maven.runtime -Dversion=1.3.1-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/f
ile
[ERROR]
[ERROR] Alternatively, if you host your own repository you can deploy the file t
here:
[ERROR] mvn deploy:deploy-file -DgroupId=org.eclipse.m2e -DartifactId=org.eclips
e.m2e.maven.runtime -Dversion=1.3.1-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/fil
e -Durl=[url] -DrepositoryId=[id]
[ERROR]
[ERROR] Path to dependency:
[ERROR] 1) org.eclipse.m2e:org.eclipse.m2e.model.edit:pom:1.3.1-SNAPSHOT
[ERROR] 2) org.eclipse.m2e:org.eclipse.m2e.maven.runtime:jar:1.3.1-SNAPSHOT
[ERROR]
[ERROR] 3) org.eclipse.m2e:org.eclipse.m2e.maven.indexer:jar:1.3.1-SNAPSHOT
[ERROR]
[ERROR] Try downloading the file manually from the project website.
[ERROR]
[ERROR] Then, install it using the command:
[ERROR] mvn install:install-file -DgroupId=org.eclipse.m2e -DartifactId=org.ecli
pse.m2e.maven.indexer -Dversion=1.3.1-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/f
ile
[ERROR]
[ERROR] Alternatively, if you host your own repository you can deploy the file t
here:
[ERROR] mvn deploy:deploy-file -DgroupId=org.eclipse.m2e -DartifactId=org.eclips
e.m2e.maven.indexer -Dversion=1.3.1-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/fil
e -Durl=[url] -DrepositoryId=[id]
[ERROR]
[ERROR] Path to dependency:
[ERROR] 1) org.eclipse.m2e:org.eclipse.m2e.model.edit:pom:1.3.1-SNAPSHOT
[ERROR] 2) org.eclipse.m2e:org.eclipse.m2e.maven.indexer:jar:1.3.1-SNAPSHOT
[ERROR]
[ERROR] 4) org.eclipse.m2e:org.eclipse.m2e.archetype.common:jar:1.3.1-SNAPSHOT
[ERROR]
[ERROR] Try downloading the file manually from the project website.
[ERROR]
[ERROR] Then, install it using the command:
[ERROR] mvn install:install-file -DgroupId=org.eclipse.m2e -DartifactId=org.ecli
pse.m2e.archetype.common -Dversion=1.3.1-SNAPSHOT -Dpackaging=jar -Dfile=/path/t
o/file
[ERROR]
[ERROR] Alternatively, if you host your own repository you can deploy the file t
here:
[ERROR] mvn deploy:deploy-file -DgroupId=org.eclipse.m2e -DartifactId=org.eclips
e.m2e.archetype.common -Dversion=1.3.1-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/
file -Durl=[url] -DrepositoryId=[id]
[ERROR]
[ERROR] Path to dependency:
[ERROR] 1) org.eclipse.m2e:org.eclipse.m2e.model.edit:pom:1.3.1-SNAPSHOT
[ERROR] 2) org.eclipse.m2e:org.eclipse.m2e.archetype.common:jar:1.3.1-SNAPSHOT
[ERROR]
[ERROR] 5) org.eclipse.m2e:org.jboss.netty:jar:1.3.1-SNAPSHOT
[ERROR]
[ERROR] Try downloading the file manually from the project website.
[ERROR]
[ERROR] Then, install it using the command:
[ERROR] mvn install:install-file -DgroupId=org.eclipse.m2e -DartifactId=org.jbos
s.netty -Dversion=1.3.1-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
[ERROR]
[ERROR] Alternatively, if you host your own repository you can deploy the file t
here:
[ERROR] mvn deploy:deploy-file -DgroupId=org.eclipse.m2e -DartifactId=org.jboss.
netty -Dversion=1.3.1-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url]
-DrepositoryId=[id]
[ERROR]
[ERROR] Path to dependency:
[ERROR] 1) org.eclipse.m2e:org.eclipse.m2e.model.edit:pom:1.3.1-SNAPSHOT
[ERROR] 2) org.eclipse.m2e:org.jboss.netty:jar:1.3.1-SNAPSHOT
[ERROR]
[ERROR] ----------
[ERROR] 5 required artifacts are missing.
[ERROR]
[ERROR] for artifact:
[ERROR] org.eclipse.m2e:org.eclipse.m2e.model.edit:pom:1.3.1-SNAPSHOT
[ERROR]
[ERROR] from the specified remote repositories:
[ERROR] eclipse (http://download.eclipse.org/releases/juno, releases=false, snap
shots=false),
[ERROR] RSO-public-group (http://repository.sonatype.org/content/groups/sonatype
-public-grid, releases=true, snapshots=true),
[ERROR] central (http://repo.maven.apache.org/maven2, releases=true, snapshots=f
alse)
[ERROR] -> [Help 1]
org.apache.maven.InternalErrorException: Internal error: java.lang.RuntimeExcept
ion: Could not resolve project dependencies
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:168)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Laun
cher.java:290)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.jav
a:230)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(La
uncher.java:409)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:
352)
Caused by: java.lang.RuntimeException: Could not resolve project dependencies
at org.eclipse.tycho.p2.resolver.P2TargetPlatformResolver.addPomDependen
ciesToTargetPlatform(P2TargetPlatformResolver.java:286)
at org.eclipse.tycho.p2.resolver.P2TargetPlatformResolver.computeTargetP
latform(P2TargetPlatformResolver.java:199)
at org.eclipse.tycho.core.resolver.DefaultTychoDependencyResolver.resolv
eProject(DefaultTychoDependencyResolver.java:94)
at org.eclipse.tycho.core.maven.TychoMavenLifecycleParticipant.afterProj
ectsRead(TychoMavenLifecycleParticipant.java:82)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:274)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
... 11 more
Caused by: org.apache.maven.artifact.resolver.MultipleArtifactsNotFoundException
: Missing:
----------
1) org.eclipse.m2e:com.ning.async-http-client:jar:1.3.1-SNAPSHOT
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.eclipse.m2e -DartifactId=com.ning.a
sync-http-client -Dversion=1.3.1-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=org.eclipse.m2e -DartifactId=com.ning.asy
nc-http-client -Dversion=1.3.1-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Du
rl=[url] -DrepositoryId=[id]
Path to dependency:
1) org.eclipse.m2e:org.eclipse.m2e.model.edit:pom:1.3.1-SNAPSHOT
2) org.eclipse.m2e:com.ning.async-http-client:jar:1.3.1-SNAPSHOT
2) org.eclipse.m2e:org.eclipse.m2e.maven.runtime:jar:1.3.1-SNAPSHOT
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.eclipse.m2e -DartifactId=org.eclips
e.m2e.maven.runtime -Dversion=1.3.1-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/fil
e
Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=org.eclipse.m2e -DartifactId=org.eclipse.
m2e.maven.runtime -Dversion=1.3.1-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
-Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) org.eclipse.m2e:org.eclipse.m2e.model.edit:pom:1.3.1-SNAPSHOT
2) org.eclipse.m2e:org.eclipse.m2e.maven.runtime:jar:1.3.1-SNAPSHOT
3) org.eclipse.m2e:org.eclipse.m2e.maven.indexer:jar:1.3.1-SNAPSHOT
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.eclipse.m2e -DartifactId=org.eclips
e.m2e.maven.indexer -Dversion=1.3.1-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/fil
e
Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=org.eclipse.m2e -DartifactId=org.eclipse.
m2e.maven.indexer -Dversion=1.3.1-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
-Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) org.eclipse.m2e:org.eclipse.m2e.model.edit:pom:1.3.1-SNAPSHOT
2) org.eclipse.m2e:org.eclipse.m2e.maven.indexer:jar:1.3.1-SNAPSHOT
4) org.eclipse.m2e:org.eclipse.m2e.archetype.common:jar:1.3.1-SNAPSHOT
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.eclipse.m2e -DartifactId=org.eclips
e.m2e.archetype.common -Dversion=1.3.1-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/
file
Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=org.eclipse.m2e -DartifactId=org.eclipse.
m2e.archetype.common -Dversion=1.3.1-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/fi
le -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) org.eclipse.m2e:org.eclipse.m2e.model.edit:pom:1.3.1-SNAPSHOT
2) org.eclipse.m2e:org.eclipse.m2e.archetype.common:jar:1.3.1-SNAPSHOT
5) org.eclipse.m2e:org.jboss.netty:jar:1.3.1-SNAPSHOT
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.eclipse.m2e -DartifactId=org.jboss.
netty -Dversion=1.3.1-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=org.eclipse.m2e -DartifactId=org.jboss.ne
tty -Dversion=1.3.1-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -D
repositoryId=[id]
Path to dependency:
1) org.eclipse.m2e:org.eclipse.m2e.model.edit:pom:1.3.1-SNAPSHOT
2) org.eclipse.m2e:org.jboss.netty:jar:1.3.1-SNAPSHOT
----------
5 required artifacts are missing.
for artifact:
org.eclipse.m2e:org.eclipse.m2e.model.edit:pom:1.3.1-SNAPSHOT
from the specified remote repositories:
eclipse (http://download.eclipse.org/releases/juno, releases=false, snapshots=
false),
RSO-public-group (http://repository.sonatype.org/content/groups/sonatype-publi
c-grid, releases=true, snapshots=true),
central (http://repo.maven.apache.org/maven2, releases=true, snapshots=false)
at org.apache.maven.artifact.resolver.DefaultResolutionErrorHandler.thro
wErrors(DefaultResolutionErrorHandler.java:71)
at org.apache.maven.DefaultProjectDependenciesResolver.resolveImpl(Defau
ltProjectDependenciesResolver.java:162)
at org.apache.maven.DefaultProjectDependenciesResolver.resolve(DefaultPr
ojectDependenciesResolver.java:75)
at org.apache.maven.DefaultProjectDependenciesResolver.resolve(DefaultPr
ojectDependenciesResolver.java:59)
at org.eclipse.tycho.p2.resolver.P2TargetPlatformResolver.addPomDependen
ciesToTargetPlatform(P2TargetPlatformResolver.java:273)
... 16 more
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit
ch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please rea
d the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/InternalErrorE
xception