cancel
Showing results for 
Search instead for 
Did you mean: 

pom.xml

dev1
Champ in-the-making
Champ in-the-making
Hi,

I checked out the code for ACTIVITI projet from "
http://svn.codehaus.org/activiti/projects/"…..
and just as your source code i couldn't find any build file in it…instead i found some 10 pom.xml(Maven) files…I have to build all these pom.xml individually or have to write one ant or Maven file  to get the required jars for IDE …is this the only hard way to do it ??
I have one more way of easily updating my eclipse IDE from the "update software" option..but i don't want to do it..I want to build and generate my own jars….

Regards,
Dev
11 REPLIES 11

dev1
Champ in-the-making
Champ in-the-making
Hi Tiese,
Thanks for immediate and bulls eye response..i tried the way u said..and it downloaded some 10 to 12 MB of jars and got stuck at this point——–>

[INFO] Scanning for projects…
[INFO] Resolving target platform for project MavenProject: org.activiti.designer
Smiley Surprisedrg.activiti.designer.model:0.6.0 @ D:\eclipse-SDK-3.6.1-win32\eclipse\workspac
e\activitiDesigner\designer\org.activiti.designer.model\pom.xml
[INFO] Adding repository http://download.eclipse.org/releases/helios
[INFO] Adding repository http://download.eclipse.org/releases/helios
[INFO] Adding repository http://download.eclipse.org/graphiti/updates/0.7.0/
[INFO] Adding repository http://download.eclipse.org/graphiti/updates/0.7.0/
[INFO] Adding repository http://download.eclipse.org/tools/orbit/downloads/drops
/R20100519200754/updateSite/
[INFO] Adding repository http://download.eclipse.org/tools/orbit/downloads/drops
/R20100519200754/updateSite/
[INFO] Resolving target platform for project MavenProject: org.activiti.designer
Smiley Surprisedrg.activiti.designer.eclipse:0.6.0 @ D:\eclipse-SDK-3.6.1-win32\eclipse\worksp
ace\activitiDesigner\designer\org.activiti.designer.eclipse\pom.xml
[INFO] Adding repository (cached) http://download.eclipse.org/releases/helios
[INFO] Adding repository (cached) http://download.eclipse.org/graphiti/updates/0
.7.0/
[INFO] Adding repository (cached) http://download.eclipse.org/tools/orbit/downlo
ads/drops/R20100519200754/updateSite/
[WARNING] Exception reading bundle manifest
java.util.zip.ZipException: error in opening zip file
        at java.util.zip.ZipFile.open(Native Method)
        at java.util.zip.ZipFile.<init>(ZipFile.java:114)
        at org.codehaus.tycho.osgitools.DefaultBundleReader.doLoadManifest(Defau
ltBundleReader.java:85)
        at org.codehaus.tycho.osgitools.DefaultBundleReader.loadManifest(Default
BundleReader.java:47)
        at org.codehaus.tycho.osgitools.EquinoxResolver.loadManifest(EquinoxReso
lver.java:199)
        at org.codehaus.tycho.osgitools.EquinoxResolver.addBundle(EquinoxResolve
r.java:175)
        at org.codehaus.tycho.osgitools.EquinoxResolver.newState(EquinoxResolver
.java:157)
        at org.codehaus.tycho.osgitools.EquinoxResolver.newResolvedState(Equinox
Resolver.java:52)
        at org.codehaus.tycho.osgitools.OsgiBundleProject.getResolverState(OsgiB
undleProject.java:194)
        at org.codehaus.tycho.osgitools.OsgiBundleProject.resolve(OsgiBundleProj
ect.java:142)
        at org.codehaus.tycho.resolver.DefaultTychoDependencyResolver.resolvePro
ject(DefaultTychoDependencyResolver.java:80)
        at org.codehaus.tycho.maven.TychoMavenLifecycleParticipant.afterProjects
Read(TychoMavenLifecycleParticipant.java:94)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:270)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:153)
        at org.apache.maven.cli.MavenCli.execute(MavenCli.java:451)
        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:188)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:134)
        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)
[ERROR] Internal error: java.lang.NullPointerException -> [Help 1]
org.apache.maven.InternalErrorException: Internal error: java.lang.NullPointerEx
ception
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:165)
        at org.apache.maven.cli.MavenCli.execute(MavenCli.java:451)
        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:188)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:134)
        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.NullPointerException
        at org.eclipse.osgi.internal.resolver.StateBuilder.createBundleDescripti
on(StateBuilder.java:44)
        at org.eclipse.osgi.internal.resolver.StateObjectFactoryImpl.createBundl
eDescription(StateObjectFactoryImpl.java:32)
        at org.codehaus.tycho.osgitools.EquinoxResolver.addBundle(EquinoxResolve
r.java:177)
        at org.codehaus.tycho.osgitools.EquinoxResolver.newState(EquinoxResolver
.java:157)
        at org.codehaus.tycho.osgitools.EquinoxResolver.newResolvedState(Equinox
Resolver.java:52)
        at org.codehaus.tycho.osgitools.OsgiBundleProject.getResolverState(OsgiB
undleProject.java:194)
        at org.codehaus.tycho.osgitools.OsgiBundleProject.resolve(OsgiBundleProj
ect.java:142)
        at org.codehaus.tycho.resolver.DefaultTychoDependencyResolver.resolvePro
ject(DefaultTychoDependencyResolver.java:80)
        at org.codehaus.tycho.maven.TychoMavenLifecycleParticipant.afterProjects
Read(TychoMavenLifecycleParticipant.java:94)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:270)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:153)
        … 11 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

tiesebarrell
Champ in-the-making
Champ in-the-making
This is a problem in one of the deps your build downloaded (looks like a corrupt jar file), so I'm afraid I can;'t help you with that. Try cleaning your local maven repo and re-running the command.
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.