-
Here same error but in debug mode
[INFO] ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] /home/volga629/rpmbuild/BUILD/tigase-issue #7.0.2/src/test/java/tigase/vhosts/filter/CustomDomainFilterTest.java:[32,40] error: package com.sun.javafx.scene.control.skin does not exist [ERROR] /home/volga629/rpmbuild/BUILD/tigase-issue #7.0.2/src/test/java/tigase/kernel/RegistrarKernelTest.java:[73,8] [deprecation] assertEquals(Object[],Object[]) in Assert has been deprecated [ERROR] /home/volga629/rpmbuild/BUILD/tigase-issue #7.0.2/src/test/java/tigase/kernel/RegistrarKernelTest.java:[74,8] [deprecation] assertEquals(Object[],Object[]) in Assert has been deprecated [INFO] 3 errors [INFO] ------------------------------------------------------------- [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 16.611 s [INFO] Finished at: 2015-05-18T20:26:03-04:00 [INFO] Final Memory: 26M/130M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.5.1:testCompile (default-testCompile) on project tigase-server: Compilation failure: Compilation failure: [ERROR] /home/volga629/rpmbuild/BUILD/tigase-issue #7.0.2/src/test/java/tigase/vhosts/filter/CustomDomainFilterTest.java:[32,40] error: package com.sun.javafx.scene.control.skin does not exist [ERROR] /home/volga629/rpmbuild/BUILD/tigase-issue #7.0.2/src/test/java/tigase/kernel/RegistrarKernelTest.java:[73,8] [deprecation] assertEquals(Object[],Object[]) in Assert has been deprecated [ERROR] /home/volga629/rpmbuild/BUILD/tigase-issue #7.0.2/src/test/java/tigase/kernel/RegistrarKernelTest.java:[74,8] [deprecation] assertEquals(Object[],Object[]) in Assert has been deprecated [ERROR] -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.5.1:testCompile (default-testCompile) on project tigase-server: Compilation failure at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:862) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:286) at org.apache.maven.cli.MavenCli.main(MavenCli.java:197) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356) Caused by: org.apache.maven.plugin.CompilationFailureException: Compilation failure at org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:729) at org.apache.maven.plugin.TestCompilerMojo.execute(TestCompilerMojo.java:161) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208) ... 20 more [ERROR] [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/MojoFailureException
-
Thank you project is is finish the build.
[INFO] Tigase XMPP Server Master project .................. SUCCESS [ 3.236 s] [INFO] Tigase XMPP Server ................................. SUCCESS [ 48.385 s] [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 52.792 s [INFO] Finished at: 2015-05-19T08:19:18-04:00 [INFO] Final Memory: 36M/150M [INFO] ------------------------------------------------------------------------
Another small question what missing in this case
[INFO] --- maven-javadoc-plugin:2.9.1:jar (attach-javadocs) @ tigase-server-master --- [INFO] Not executing Javadoc as the project is not a Java classpath-capable package
-
I tried see what settings is active with command mvn help:effective-pom
and it show skip settings true for javadoc.
en.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>tigase</groupId> <artifactId>tigase-server-master</artifactId> <version>7.1.0-SNAPSHOT</version> <relativePath>modules/master</relativePath> </parent> <groupId>tigase</groupId> <artifactId>tigase-server</artifactId> <version>7.1.0-SNAPSHOT</version> <packaging>bundle</packaging> <name>Tigase XMPP Server</name> <description>Tigase XMPP Server - OSGi bundle</description> <url>http://www.tigase.org/tigase-server/</url> <organization> <name>"Tigase, Inc."</name> <url>http://www.tigase.org</url> </organization> <licenses> <license> <name>GNU Affero General Public License GPLv3</name> <url>http://www.gnu.org/licenses/agpl.txt</url> </license> </licenses> <developers> <developer> <id>kobit</id> <name>Artur Hefczyc</name> <email>kobit@tigase.org</email> <url>http://www.tigase.org/</url> <roles> <role>architect</role> <role>developer</role> </roles> </developer> </developers> <scm> <connection>scm:git:https://repository.tigase.org/git/tigase-server.git/tigase-server</connection> <developerConnection>scm:git:https://repository.tigase.org/git/tigase-server.git/tigase-server</developerConnection> <url>https://projects.tigase.org/projects/tigase-server/repository/tigase-server</url> </scm> <issueManagement> <system>Redmine</system> <url>https://projects.tigase.org/projects/tigase-server</url> </issueManagement> <distributionManagement> <repository> <id>tigase</id> <name>Tigase repository</name> <url>scp://maven.tigase.org:/home/webapp/maven-repository</url> </repository> <snapshotRepository> <id>tigase-snapshot</id> <name>Tigase snapshot repository</name> <url>scp://build.xmpp-test.net:/home/maven/repository</url> </snapshotRepository> </distributionManagement> <properties> <dir>target</dir> <maven.build.timestamp.format>yyyy-MM-dd/HH:mm:ss</maven.build.timestamp.format> <maven.javadoc.skip>true</maven.javadoc.skip> <packaging.type>bundle</packaging.type> <packet.version>5.3.0</packet.version> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <slf4j.version>1.7.5</slf4j.version> <tests.excludeGroups>tigase.tests.SlowTest</tests.excludeGroups> </properties> <dependencies> <dependency> <groupId>tigase</groupId> <artifactId>tigase-utils</artifactId> <version>3.5.0-SNAPSHOT</version> <scope>compile</scope> </dependency> <dependency> <groupId>org.apache.felix</groupId> <artifactId>org.osgi.core</artifactId> <version>1.4.0</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>jul-to-slf4j</artifactId> <version>1.7.5</version> <scope>provided</scope> <optional>true</optional> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.11</version> <scope>test</scope> </dependency> </dependencies> <repositories> <repository> <id>tigase</id> <name>Tigase repository</name> <url>http://maven.tigase.org</url> </repository> <repository> <snapshots> <enabled>true</enabled> </snapshots> <id>tigase-snapshot</id> <name>Tigase repository</name> <url>http://build.xmpp-test.net/maven/</url> </repository> <repository> <snapshots> <enabled>false</enabled> </snapshots> <id>central</id> <name>Central Repository</name> <url>https://repo.maven.apache.org/maven2</url> </repository> </repositories> <pluginRepositories> <pluginRepository> <releases> <updatePolicy>never</updatePolicy> </releases> <snapshots> <enabled>false</enabled> </snapshots> <id>central</id> <name>Central Repository</name> <url>https://repo.maven.apache.org/maven2</url> </pluginRepository> </pluginRepositories> <build> <sourceDirectory>/home/volga629/rpmbuild/BUILD/tigase-issue #7.0.2/src/main/java</sourceDirectory> <scriptSourceDirectory>/home/volga629/rpmbuild/BUILD/tigase-issue #7.0.2/src/main/scripts</scriptSourceDirectory> <testSourceDirectory>/home/volga629/rpmbuild/BUILD/tigase-issue #7.0.2/src/test/java</testSourceDirectory> <outputDirectory>/home/volga629/rpmbuild/BUILD/tigase-issue #7.0.2/target/classes</outputDirectory> <testOutputDirectory>/home/volga629/rpmbuild/BUILD/tigase-issue #7.0.2/target/test-classes</testOutputDirectory> <extensions> <extension> <groupId>org.apache.maven.wagon</groupId> <artifactId>wagon-ssh-external</artifactId> <version>2.8</version> </extension> <extension> <groupId>org.apache.maven.wagon</groupId> <artifactId>wagon-ssh</artifactId> <version>2.8</version> </extension> </extensions> <resources> <resource> <directory>/home/volga629/rpmbuild/BUILD/tigase-issue #7.0.2/src/main/resources</directory> </resource> </resources> <testResources> <testResource> <directory>/home/volga629/rpmbuild/BUILD/tigase-issue #7.0.2/src/test/resources</directory> </testResource> </testResources> <directory>/home/volga629/rpmbuild/BUILD/tigase-issue #7.0.2/target</directory> <finalName>tigase-server</finalName> <pluginManagement> <plugins> <plugin> <artifactId>maven-antrun-plugin</artifactId> <version>1.3</version> </plugin> <plugin> <artifactId>maven-assembly-plugin</artifactId> <version>2.2-beta-5</version> </plugin> <plugin> <artifactId>maven-dependency-plugin</artifactId> <version>2.8</version> </plugin> <plugin> <artifactId>maven-release-plugin</artifactId> <version>2.3.2</version> </plugin> </plugins> </pluginManagement> <plugins> <plugin> <artifactId>maven-release-plugin</artifactId> <version>2.5.1</version> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>buildnumber-maven-plugin</artifactId> <version>1.2</version> <executions> <execution> <phase>validate</phase> <goals> <goal>create</goal> </goals> <configuration> <timestampFormat>{0,date} {0,time}</timestampFormat> <doCheck>false</doCheck> <doUpdate>false</doUpdate> <getRevisionOnlyOnce>true</getRevisionOnlyOnce> <shortRevisionLength>8</shortRevisionLength> </configuration> </execution> </executions> <configuration> <timestampFormat>{0,date} {0,time}</timestampFormat> <doCheck>false</doCheck> <doUpdate>false</doUpdate> <getRevisionOnlyOnce>true</getRevisionOnlyOnce> <shortRevisionLength>8</shortRevisionLength> </configuration> </plugin> <plugin> <artifactId>maven-compiler-plugin</artifactId> <version>2.5.1</version> <executions> <execution> <id>default-compile</id> <phase>compile</phase> <goals> <goal>compile</goal> </goals> <configuration> <source>1.8</source> <target>1.8</target> <encoding>UTF-8</encoding> <showDeprecation>true</showDeprecation> </configuration> </execution> <execution> <id>default-testCompile</id> <phase>test-compile</phase> <goals> <goal>testCompile</goal> </goals> <configuration> <source>1.8</source> <target>1.8</target> <encoding>UTF-8</encoding> <showDeprecation>true</showDeprecation> </configuration> </execution> </executions> <configuration> <source>1.8</source> <target>1.8</target> <encoding>UTF-8</encoding> <showDeprecation>true</showDeprecation> </configuration> </plugin> <plugin> <artifactId>maven-assembly-plugin</artifactId> <version>2.3</version> <executions> <execution> <id>prod</id> <phase>none</phase> </execution> </executions> </plugin> <plugin> <groupId>org.codehaus.gmaven</groupId> <artifactId>gmaven-plugin</artifactId> <version>1.5</version> <executions> <execution> <id>gitver</id> <phase>validate</phase> <goals> <goal>execute</goal> </goals> <configuration> <providerSelection>2.0</providerSelection> <properties> <script>git rev-list HEAD --count</script> </properties> <source>def version try { def command = project.properties.script def process = command.execute() process.waitFor() version = process.in.text.trim() } catch (Exception e) { version = '0' } println "setting revision to: " + version project.properties.setProperty( 'gitVersion' , version )</source> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.felix</groupId> <artifactId>maven-bundle-plugin</artifactId> <version>2.4.0</version> <extensions>true</extensions> <executions> <execution> <id>default-bundle</id> <phase>package</phase> <goals> <goal>bundle</goal> </goals> <configuration> <instructions combine.inherited="append"> <manifestLocation>src/main/resources/META-INF/MANIFEST.MF</manifestLocation> <Implementation-Title>Tigase XMPP Server</Implementation-Title> <Implementation-Version>7.1.0-SNAPSHOT-b${gitVersion}/${buildNumber} (2015-05-19/12:53:58)</Implementation-Version> <Implementation-Build>${gitVersion}/${buildNumber} (2015-05-19/12:53:58)</Implementation-Build> <Tigase-Version>7.1.0-SNAPSHOT-b${gitVersion}</Tigase-Version> <Bundle-Activator>tigase.osgi.Activator</Bundle-Activator> <Export-Package>gnu.inet.encoding.*;version=5.3.0,tigase.*;version=5.3.0;-split-package:=merge-first</Export-Package> <Import-Package>!junit.*,!sun.*,!com.sun.*,*</Import-Package> <DynamicImport-Package>*</DynamicImport-Package> <inlinedArtifacts> <inlinedArtifact>tigase-utils</inlinedArtifact> <inlinedArtifact>tigase-xmltools</inlinedArtifact> </inlinedArtifacts> <Embed-Dependency>*;scope=compile|runtime;artifactId=!junit|org.osgi.core|slf4j-api|tigase-utils|tigase-xmltools</Embed-Dependency> <Bundle-SymbolicName>tigase-server;singleton=true</Bundle-SymbolicName> <Private-Package>tigase.annotations.*,tigase.auth.*,tigase.cluster.*,tigase.conf.*,tigase.db.*,tigase.disco.*,tigase.http.*,tigase.io.*,tigase.net.*,tigase.server.*,tigase.stats.*,tigase.sys.*,tigase.util.*,tigase.vhosts.*,tigase.xmpp.*</Private-Package> </instructions> </configuration> </execution> <execution> <id>default-install</id> <phase>install</phase> <goals> <goal>install</goal> </goals> <configuration> <instructions combine.inherited="append"> <manifestLocation>src/main/resources/META-INF/MANIFEST.MF</manifestLocation> <Implementation-Title>Tigase XMPP Server</Implementation-Title> <Implementation-Version>7.1.0-SNAPSHOT-b${gitVersion}/${buildNumber} (2015-05-19/12:53:58)</Implementation-Version> <Implementation-Build>${gitVersion}/${buildNumber} (2015-05-19/12:53:58)</Implementation-Build> <Tigase-Version>7.1.0-SNAPSHOT-b${gitVersion}</Tigase-Version> <Bundle-Activator>tigase.osgi.Activator</Bundle-Activator> <Export-Package>gnu.inet.encoding.*;version=5.3.0,tigase.*;version=5.3.0;-split-package:=merge-first</Export-Package> <Import-Package>!junit.*,!sun.*,!com.sun.*,*</Import-Package> <DynamicImport-Package>*</DynamicImport-Package> <inlinedArtifacts> <inlinedArtifact>tigase-utils</inlinedArtifact> <inlinedArtifact>tigase-xmltools</inlinedArtifact> </inlinedArtifacts> <Embed-Dependency>*;scope=compile|runtime;artifactId=!junit|org.osgi.core|slf4j-api|tigase-utils|tigase-xmltools</Embed-Dependency> <Bundle-SymbolicName>tigase-server;singleton=true</Bundle-SymbolicName> <Private-Package>tigase.annotations.*,tigase.auth.*,tigase.cluster.*,tigase.conf.*,tigase.db.*,tigase.disco.*,tigase.http.*,tigase.io.*,tigase.net.*,tigase.server.*,tigase.stats.*,tigase.sys.*,tigase.util.*,tigase.vhosts.*,tigase.xmpp.*</Private-Package> </instructions> </configuration> </execution> <execution> <id>default-deploy</id> <phase>deploy</phase> <goals> <goal>deploy</goal> </goals> <configuration> <instructions combine.inherited="append"> <manifestLocation>src/main/resources/META-INF/MANIFEST.MF</manifestLocation> <Implementation-Title>Tigase XMPP Server</Implementation-Title> <Implementation-Version>7.1.0-SNAPSHOT-b${gitVersion}/${buildNumber} (2015-05-19/12:53:58)</Implementation-Version> <Implementation-Build>${gitVersion}/${buildNumber} (2015-05-19/12:53:58)</Implementation-Build> <Tigase-Version>7.1.0-SNAPSHOT-b${gitVersion}</Tigase-Version> <Bundle-Activator>tigase.osgi.Activator</Bundle-Activator> <Export-Package>gnu.inet.encoding.*;version=5.3.0,tigase.*;version=5.3.0;-split-package:=merge-first</Export-Package> <Import-Package>!junit.*,!sun.*,!com.sun.*,*</Import-Package> <DynamicImport-Package>*</DynamicImport-Package> <inlinedArtifacts> <inlinedArtifact>tigase-utils</inlinedArtifact> <inlinedArtifact>tigase-xmltools</inlinedArtifact> </inlinedArtifacts> <Embed-Dependency>*;scope=compile|runtime;artifactId=!junit|org.osgi.core|slf4j-api|tigase-utils|tigase-xmltools</Embed-Dependency> <Bundle-SymbolicName>tigase-server;singleton=true</Bundle-SymbolicName> <Private-Package>tigase.annotations.*,tigase.auth.*,tigase.cluster.*,tigase.conf.*,tigase.db.*,tigase.disco.*,tigase.http.*,tigase.io.*,tigase.net.*,tigase.server.*,tigase.stats.*,tigase.sys.*,tigase.util.*,tigase.vhosts.*,tigase.xmpp.*</Private-Package> </instructions> </configuration> </execution> </executions> <configuration> <instructions combine.inherited="append"> <manifestLocation>src/main/resources/META-INF/MANIFEST.MF</manifestLocation> <Implementation-Title>Tigase XMPP Server</Implementation-Title> <Implementation-Version>7.1.0-SNAPSHOT-b${gitVersion}/${buildNumber} (2015-05-19/12:53:58)</Implementation-Version> <Implementation-Build>${gitVersion}/${buildNumber} (2015-05-19/12:53:58)</Implementation-Build> <Tigase-Version>7.1.0-SNAPSHOT-b${gitVersion}</Tigase-Version> <Bundle-Activator>tigase.osgi.Activator</Bundle-Activator> <Export-Package>gnu.inet.encoding.*;version=5.3.0,tigase.*;version=5.3.0;-split-package:=merge-first</Export-Package> <Import-Package>!junit.*,!sun.*,!com.sun.*,*</Import-Package> <DynamicImport-Package>*</DynamicImport-Package> <inlinedArtifacts> <inlinedArtifact>tigase-utils</inlinedArtifact> <inlinedArtifact>tigase-xmltools</inlinedArtifact> </inlinedArtifacts> <Embed-Dependency>*;scope=compile|runtime;artifactId=!junit|org.osgi.core|slf4j-api|tigase-utils|tigase-xmltools</Embed-Dependency> <Bundle-SymbolicName>tigase-server;singleton=true</Bundle-SymbolicName> <Private-Package>tigase.annotations.*,tigase.auth.*,tigase.cluster.*,tigase.conf.*,tigase.db.*,tigase.disco.*,tigase.http.*,tigase.io.*,tigase.net.*,tigase.server.*,tigase.stats.*,tigase.sys.*,tigase.util.*,tigase.vhosts.*,tigase.xmpp.*</Private-Package> </instructions> </configuration> </plugin> <plugin> <artifactId>maven-javadoc-plugin</artifactId> <version>2.9.1</version> <executions> <execution> <id>attach-javadocs</id> <phase>package</phase> <goals> <goal>jar</goal> </goals> <configuration> <source>1.8</source> <quiet>true</quiet> <aggregate>true</aggregate> <reportOutputDirectory>/home/volga629/rpmbuild/BUILD/tigase-issue #7.0.2/target/site/docs/javadoc</reportOutputDirectory> <destDir>docs/javadoc</destDir> <finalName>tigase-issue #7.1.0-SNAPSHOT-b${gitVersion}</finalName> <jarOutputDirectory>pack</jarOutputDirectory> <maxmemory>512m</maxmemory> </configuration> </execution> </executions> </plugin> <plugin> <artifactId>maven-surefire-plugin</artifactId> <version>2.17</version> <executions> <execution> <id>default-test</id> <phase>test</phase> <goals> <goal>test</goal> </goals> <configuration> <excludedGroups>tigase.tests.SlowTest</excludedGroups> <parallel>methods</parallel> <threadCount>10</threadCount> </configuration> </execution> </executions> <dependencies> <dependency> <groupId>org.apache.maven.surefire</groupId> <artifactId>surefire-junit47</artifactId> <version>2.17</version> <scope>compile</scope> </dependency> </dependencies> <configuration> <excludedGroups>tigase.tests.SlowTest</excludedGroups> <parallel>methods</parallel> <threadCount>10</threadCount> </configuration> </plugin> <plugin> <artifactId>maven-clean-plugin</artifactId> <version>2.5</version> <executions> <execution> <id>default-clean</id> <phase>clean</phase> <goals> <goal>clean</goal> </goals> </execution> </executions> </plugin> <plugin> <artifactId>maven-resources-plugin</artifactId> <version>2.6</version> <executions> <execution> <id>default-testResources</id> <phase>process-test-resources</phase> <goals> <goal>testResources</goal> </goals> </execution> <execution> <id>default-resources</id> <phase>process-resources</phase> <goals> <goal>resources</goal> </goals> </execution> </executions> </plugin> <plugin> <artifactId>maven-install-plugin</artifactId> <version>2.5.1</version> <executions> <execution> <id>default-install</id> <phase>install</phase> <goals> <goal>install</goal> </goals> </execution> </executions> </plugin> <plugin> <artifactId>maven-deploy-plugin</artifactId> <version>2.8.1</version> <executions> <execution> <id>default-deploy</id> <phase>deploy</phase> <goals> <goal>deploy</goal> </goals> </execution> </executions> </plugin> <plugin> <artifactId>maven-site-plugin</artifactId> <version>3.3</version> <executions> <execution> <id>default-site</id> <phase>site</phase> <goals> <goal>site</goal> </goals> <configuration> <outputDirectory>/home/volga629/rpmbuild/BUILD/tigase-issue #7.0.2/target/site</outputDirectory> <reportPlugins> <reportPlugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-project-info-reports-plugin</artifactId> </reportPlugin> </reportPlugins> </configuration> </execution> <execution> <id>default-deploy</id> <phase>site-deploy</phase> <goals> <goal>deploy</goal> </goals> <configuration> <outputDirectory>/home/volga629/rpmbuild/BUILD/tigase-issue #7.0.2/target/site</outputDirectory> <reportPlugins> <reportPlugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-project-info-reports-plugin</artifactId> </reportPlugin> </reportPlugins> </configuration> </execution> </executions> <configuration> <outputDirectory>/home/volga629/rpmbuild/BUILD/tigase-issue #7.0.2/target/site</outputDirectory> <reportPlugins> <reportPlugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-project-info-reports-plugin</artifactId> </reportPlugin> </reportPlugins> </configuration> </plugin> </plugins> </build> <reporting> <outputDirectory>/home/volga629/rpmbuild/BUILD/tigase-issue #7.0.2/target/site</outputDirectory> </reporting> <profiles> <profile> <id>osgi</id> <activation> <activeByDefault>true</activeByDefault> </activation> <properties> <maven.javadoc.skip>true</maven.javadoc.skip> <packaging.type>bundle</packaging.type> </properties> </profile> <profile> <id>jar</id> <properties> <maven.javadoc.skip>true</maven.javadoc.skip> <packaging.type>jar</packaging.type> </properties> </profile> <profile> <id>dist</id> <properties> <tests.excludeGroups /> <maven.javadoc.skip>false</maven.javadoc.skip> <packaging.type>bundle</packaging.type> </properties> </profile> </profiles> </project> [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 2.210 s [INFO] Finished at: 2015-05-19T08:54:00-04:00 [INFO] Final Memory: 14M/34M [INFO] ------------------------------------------------------------------------
-
Slava Bendersky wrote:
I tried see what settings is active with command mvn help:effective-pom
and it show skip settings true for javadoc.
[...]
This is intended, you can either set flag in command-line or use distribution profile
mvn -Pdist clean install
-
To fix the issue I added false under master pom.xml in javadoc plugin section
<groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>2.9.1</version> <executions> <execution> <id>attach-javadocs</id> <phase>package</phase> <goals> <goal>jar</goal> </goals> <configuration> <source>1.8</source> <quiet>true</quiet> <skip>false</skip> ---> Right here. <aggregate>true</aggregate> <reportOutputDirectory>${project.reporting.outputDirectory}/docs/javadoc</reportOutputDirectory> <destDir>docs/javadoc</destDir> <finalName>${project.artifactId}-${project.version}-b${gitVersion}</finalName> <jarOutputDirectory>pack</jarOutputDirectory> </configuration> </execution> </executions> </plugin>
-
Thanks mvn -Pdist clean install resolves the issue. Ticket can be closed.
Wrote: /home/volga629/rpmbuild/SRPMS/tigase-issue #7.0.2-4.el6.src.rpm Generating signature: 1005 Wrote: /home/volga629/rpmbuild/RPMS/noarch/tigase-issue #7.0.2-4.el6.noarch.rpm Generating signature: 1005 Wrote: /home/volga629/rpmbuild/RPMS/noarch/tigase-server-javadoc-7.0.2-4.el6.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.x6oCY7 + umask 022 + cd /home/volga629/rpmbuild/BUILD + cd tigase-issue #7.0.2 + rm -rf /home/volga629/rpmbuild/BUILDROOT/tigase-issue #7.0.2-4.el6.x86_64 + exit 0
Type |
Bug
|
Priority |
Normal
|
Assignee | |
RedmineID |
3075
|
Issue Votes (0)
Watchers (0)
Hello Everyone,
I am tried compile against 6.5 RHEL x86_64 last git clone and getting the following error.
Is I am missing something ?
Any help thank you in advance.