-
1. Re: Building from source native 3.4.1 sp1
ropalka Jan 26, 2012 7:37 AM (in response to spyhunter99)Seems to be maven issue. Please use maven version 2.0.9 and let us know the result
-
2. Re: Building from source native 3.4.1 sp1
spyhunter99 Jan 26, 2012 7:59 AM (in response to ropalka)output using the maven2 settings from the build page
https://community.jboss.org/wiki/JBossWS-Mavenization
C:\jbossws-native-3.4.1.SP1>c:\java\apache-maven-2.0.8\bin\mvn install
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO] JBoss Web Services - Stack Native
[INFO] JBoss Web Services - Endorsed JAX-WS, JAX-RPC and SAAJ factories
[INFO] JBoss Web Services - Native Server
[INFO] JBoss Web Services - Framework services configuration
[INFO] JBoss Web Services - Stack Native Client
[INFO] JBoss Web Services - Stack Native Management
[INFO] JBoss Web Services - Stack Native Resources
[INFO] ------------------------------------------------------------------------
[INFO] Building JBoss Web Services - Stack Native
[INFO] task-segment: [install]
[INFO] ------------------------------------------------------------------------
[INFO] artifact org.apache.maven.plugins:maven-site-plugin: checking for updates from repository.jboss.org
[WARNING] repository metadata for: 'artifact org.apache.maven.plugins:maven-site-plugin' could not be retrieved from rep
ository: repository.jboss.org due to an error: Error transferring file
[INFO] Repository 'repository.jboss.org' will be blacklisted
[INFO] Ignoring available plugin update: 3.0 as it requires Maven version 2.2.0
[INFO] Ignoring available plugin update: 3.0-beta-3 as it requires Maven version 3.0
[INFO] Ignoring available plugin update: 3.0-beta-2 as it requires Maven version 3.0
[INFO] Ignoring available plugin update: 3.0-beta-1 as it requires Maven version 3.0
[INFO] Ignoring available plugin update: 2.3 as it requires Maven version 2.2.0
[INFO] Ignoring available plugin update: 2.2 as it requires Maven version 2.2.0
[INFO] Ignoring available plugin update: 2.1.1 as it requires Maven version 2.1.0
[INFO] Ignoring available plugin update: 2.1 as it requires Maven version 2.1.0
[INFO] artifact org.apache.maven.plugins:maven-antrun-plugin: checking for updates from central
Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-antrun-plugin/1.7/maven-antrun-plugin-1.7.pom
[INFO] Ignoring available plugin update: 1.7 as it requires Maven version 2.0.11
Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-antrun-plugin/1.6/maven-antrun-plugin-1.6.pom
Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-antrun-plugin/1.6/maven-antrun-plugin-1.6.jar
[INFO] artifact org.apache.maven.plugins:maven-assembly-plugin: checking for updates from central
Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-assembly-plugin/2.2.2/maven-assembly-plugin-2.
2.2.pom
[INFO] Ignoring available plugin update: 2.2.2 as it requires Maven version 2.2.1
Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-assembly-plugin/2.2.1/maven-assembly-plugin-2.
2.1.pom
[INFO] Ignoring available plugin update: 2.2.1 as it requires Maven version 2.2.1
Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-assembly-plugin/2.2/maven-assembly-plugin-2.2.
pom
[INFO] Ignoring available plugin update: 2.2 as it requires Maven version 2.0.11
[INFO] [enforcer:enforce {execution: enforce-java-maven-versions}]
[WARNING] Rule 0: org.apache.maven.plugins.enforcer.RequireMavenVersion failed with message:
Detected Maven Version: 2.0.8 is not in the allowed range 2.0.11.
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Some Enforcer rules have failed. Look above for specific messages explaining why the rule failed.
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 8 seconds
[INFO] Finished at: Thu Jan 26 07:57:47 EST 2012
[INFO] Final Memory: 15M/36M
[INFO] ------------------------------------------------------------------------
C:\jbossws-native-3.4.1.SP1>
-
3. Re: Building from source native 3.4.1 sp1
spyhunter99 Jan 26, 2012 8:24 PM (in response to spyhunter99)I tried maven 3 again and got this.
C:\jbossws-native-3.4.1.SP1>c:\java\apache-maven-3.0.4-bin\apache-maven-3.0.4\bin\mvn.bat
[INFO] Scanning for projects...
Downloading: http://repository.jboss.org/maven2/org/jboss/ws/jbossws-parent/1.0.9.GA/jbossws-parent-1.0.9.GA.pom
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project org.jboss.ws.native:jbossws-native:3.4.1.SP1 (C:\jbossws-native-3.4.1.SP1\pom.xml) has 1 error
[ERROR] Non-resolvable parent POM: Could not transfer artifact org.jboss.ws:jbossws-parent:pom:1.0.9.GA from/to repo
sitory.jboss.org (http://repository.jboss.org/maven2): Access denied to: http://repository.jboss.org/maven2/org/jboss/ws
/jbossws-parent/1.0.9.GA/jbossws-parent-1.0.9.GA.pom, ReasonPhrase:Forbidden. and 'parent.relativePath' points at wrong
local POM @ line 24, column 11 -> [Help 2]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[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 read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException
C:\jbossws-native-3.4.1.SP1>
Obviously the url is wrong or I'm missing a repo.
-
4. Re: Building from source native 3.4.1 sp1
asoldano Jan 27, 2012 3:44 AM (in response to spyhunter99)I've just successfully tried the following. I've built JBoss AS 6.0.0.Final from sources (but I believe you can use the distribution if you want)
Then I built JBossWS Native 3.4.1.SP1 from sources using Apache Maven 2.2.1: ant -Djboss601.home=/dati/jboss-6.0.0/build/target/jboss-6.0.0.Final deploy-jboss601 please note 601 because at the time of developing 3.4.1.SP1 the 600 target was for JBoss AS 6.0.0.CR1, as you can see from the profiles.xml.example.
The server is booting fine, no exception.
-
5. Re: Building from source native 3.4.1 sp1
spyhunter99 Jan 27, 2012 9:13 AM (in response to asoldano)You're the man. Thank it worked. In case you're wondering why I'm doing this, it's to apply this:
https://issues.jboss.org/browse/JBPAPP-7498
Basically, when talking to Microsoft's UDDI server, jbossws-native (and possibly variants) barfs when recieving the reply from MSUDDI because it doesn't not use an xml prefix on the envelope or body, thus a NPE.