[Solved] Non-resolvable parent POM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2012 02:24 AM
Downloading: http://repo.maven.apache.org/maven2/org/activiti/activiti-root/5.10/activiti-root-5.10.pomThe build could not read 1 project -> [Help 1]The project org.activiti:activiti-webapp-explorer2:5.10 (C:\Users\burn\NetBeansProjects\mavenproject4\pom.xml) has 1 error Non-resolvable parent POM: Could not find artifact org.activiti:activiti-root:pom:5.10 in buzzmedia (http://maven.thebuzzmedia.com) and 'parent.relativePath' points at wrong local POM @ line 10, column 11 -> [Help 2]
Any Idea?! i think that i must download manually the libs, but there is a method to update my pom?!
I've downloaded it from: https://maven.alfresco.com/nexus/content/repositories/activiti-releases/org/activiti/activiti-webapp...
- Labels:
-
Archive

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2012 04:20 AM
Did you try to add the Alfresco Maven repository to the pom?
Best regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2012 03:15 AM
this is my pom…
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<name>Activiti - Webapp - Explorer V2</name>
<groupId>org.activiti</groupId>
<artifactId>activiti-webapp-explorer2</artifactId>
<packaging>war</packaging>
<parent>
<groupId>org.activiti</groupId>
<artifactId>activiti-root</artifactId>
<relativePath>../..</relativePath>
<version>5.10</version>
</parent>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.5</source>
<target>1.5</target>
</configuration>
</plugin>
<plugin>
<groupId>org.zeroturnaround</groupId>
<artifactId>jrebel-maven-plugin</artifactId>
<executions>
<execution>
<id>generate-rebel-xml</id>
<phase>process-resources</phase>
<goals>
<goal>generate</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<version>2.2.1</version>
<configuration>
<descriptors>
<descriptor>src/main/assembly/ui-jar.xml</descriptor>
</descriptors>
</configuration>
</plugin>
<!– Compile custom GWT components or widget dependencies with the GWT compiler
Needed for eg. Animator component
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>gwt-maven-plugin</artifactId>
<version>2.1.0-1</version>
<configuration>
<webappDirectory>src/main/webapp/VAADIN/widgetsets</webappDirectory>
<extraJvmArgs>-Xmx512M -Xss1024k</extraJvmArgs>
<runTarget>activiti-webapp-explorer2</runTarget>
<hostedWebapp>src/main/webapp</hostedWebapp>
<noServer>true</noServer>
<port>8080</port>
<soyc>false</soyc>
</configuration>
<executions>
<execution>
<goals>
<goal>resources</goal>
<goal>compile</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>com.vaadin</groupId>
<artifactId>vaadin-maven-plugin</artifactId>
<version>1.0.1</version>
<configuration>
<modules>
<module>org.vaadin.jouni.animator.AnimatorWidgetset</module>
</modules>
</configuration>
<executions>
<execution>
<goals>
<goal>update-widgetset</goal>
</goals>
</execution>
</executions>
</plugin> –>
<!– A simple Jetty test server at http://localhost:8080/activiti-webapp-explorer2 can be launched with the Maven goal jetty:run
and stopped with jetty:stop –>
<plugin>
<groupId>org.mortbay.jetty</groupId>
<artifactId>maven-jetty-plugin</artifactId>
<version>6.1.24</version>
<configuration>
<stopPort>9966</stopPort>
<stopKey>activiti-webapp-explorer2</stopKey>
<!– Redeploy every x seconds if changes are detected, 0 for no automatic redeployment –>
<scanIntervalSeconds>0</scanIntervalSeconds>
<!– make sure Jetty also finds the widgetset –>
<webAppConfig>
<contextPath>/activiti-explorer2</contextPath>
<baseResource implementation="org.mortbay.resource.ResourceCollection">
<!– Workaround for Maven/Jetty issue http://jira.codehaus.org/browse/JETTY-680 –>
<!– <resources>src/main/webapp,${project.build.directory}/${project.build.finalName}</resources> –>
<resourcesAsCSV>src/main/webapp</resourcesAsCSV>
</baseResource>
</webAppConfig>
</configuration>
</plugin>
</plugins>
<pluginManagement>
<plugins>
<!–This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.–>
<plugin>
<groupId>org.eclipse.m2e</groupId>
<artifactId>lifecycle-mapping</artifactId>
<version>1.0.0</version>
<configuration>
<lifecycleMappingMetadata>
<pluginExecutions>
<pluginExecution>
<pluginExecutionFilter>
<groupId>
org.zeroturnaround
</groupId>
<artifactId>
jrebel-maven-plugin
</artifactId>
<versionRange>
[1.0.7,)
</versionRange>
<goals>
<goal>generate</goal>
</goals>
</pluginExecutionFilter>
<action>
<ignore></ignore>
</action>
</pluginExecution>
</pluginExecutions>
</lifecycleMappingMetadata>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
<dependencies>
<!– Activiti –>
<dependency>
<groupId>org.activiti</groupId>
<artifactId>activiti-engine</artifactId>
</dependency>
<dependency>
<groupId>org.activiti</groupId>
<artifactId>activiti-spring</artifactId>
<version>5.10</version>
</dependency>
<!– Vaadin –>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>servlet-api</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.vaadin</groupId>
<artifactId>vaadin</artifactId>
</dependency>
<!– Database –>
<dependency>
<groupId>commons-dbcp</groupId>
<artifactId>commons-dbcp</artifactId>
</dependency>
<dependency>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
</dependency>
<!– Spring –>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-core</artifactId>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-beans</artifactId>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-jdbc</artifactId>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-web</artifactId>
<version>${spring.framework.version}</version>
</dependency>
<dependency>
<groupId>com.thebuzzmedia</groupId>
<artifactId>imgscalr-lib</artifactId>
<version>3.1</version>
</dependency>
<!– Running example processes –>
<dependency>
<groupId>org.codehaus.groovy</groupId>
<artifactId>groovy</artifactId>
</dependency>
<!– Testing –>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
</dependency>
</dependencies>
<repositories>
<repository>
<id>buzzmedia</id>
<url>http://maven.thebuzzmedia.com</url> <!– ImageScalr –>
</repository>
</repositories>
</project>
I have't any problem to download the sources of Activiti-Engine with the another pom..but i have some problem when i try to build this pom for Activiti - Webapp - Explorer V2

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2012 03:28 AM
You didn't have to copy your whole pom 😉
When you want to build the Explorer like we do then use the profile distro from the root of the Activiti project.
So something like mvn clean install -Pdistro
Or else add the following repository to your pom:
<repository>
<id>activiti</id>
<name>Activiti</name>
<url>https://maven.alfresco.com/nexus/content/repositories/activiti/</url>
</repository>
Best regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2012 03:51 AM
————————————————————————
Total time: 4.062s
Finished at: Fri Dec 14 09:47:53 CET 2012
Final Memory: 11M/221M
————————————————————————
Failed to execute goal org.apache.maven.plugins:maven-war-plugin:2.1.1:war (default-war) on project activiti-webapp-explorer2: Error assembling WAR: webxml attribute is required (or pre-existing WEB-INF/web.xml if executing in update mode) -> [Help 1]

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2012 09:03 AM
What version of Maven are you using?
This is a really strange error. I haven't seen this one with anybody.
Did you try using the distro profile build I suggested?
Best regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2012 10:04 AM
I try to edit sources of activiti in this way:
1. I've downloaded Netbeans 7.1.2, with Maven Extension included.
2. I've downloaded file pom from: https://maven.alfresco.com/nexus/content/repositories/activiti-releases/org/activiti/activiti-webapp...
3. In netbeans, i've selected to make new maven project with pom.
4. I've modified the file with your help, adding:
<repository>
<id>activiti</id>
<name>Activiti</name>
<url>https://maven.alfresco.com/nexus/content/repositories/activiti/</url>
</repository>
5. I launch my project with voice: "Clean and Build.."
6. My Netbeans provide to download Dependencies..but , after 30 seconds it stops with this message..
"Failed to execute goal org.apache.maven.plugins:maven-war-plugin:2.1.1:war (default-war) on project activiti-webapp-explorer2: The specified web.xml file 'C:\Users\Donato\Documents\NetBeansProjects\mavenproject6\WebContent\WEB-INF\web.xml' does not exist -> [Help 1]
To see the full stack trace of the errors, re-run Maven with the -e switch.
Re-run Maven using the -X switch to enable full debug logging."
I would to edit my activiti in order to add some features, i.e. a logo in form for example…

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2012 10:08 AM
Ah now I understand, you are using the Netbeans Maven plugin.
This says it all:
The specified web.xml file 'C:\Users\Donato\Documents\NetBeansProjects\mavenproject6\WebContent\WEB-INF\web.xml' does not exist
That's correct. Maven normally expects the web.xml in the src/main/webapp/WEB-INF/web.xml location
So that's a custom Netbeans Maven issue.
Best regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2012 10:14 AM
i didn't find any web.xml….

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2012 03:24 AM
https://github.com/Activiti/Activiti/tree/master/modules/activiti-webapp-explorer2/src/main/webapp/W...
Use Maven command line to see if that works better. Netbeans seems to have a different opinion about standard folders etc.
Best regards,
